Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Posts: 1,634
Registered: ‎07-14-2008
My Device: Z10
My Carrier: Fido

Pearl flip listner?

I need to know when the flip is opened and closed.


Is there a listner for opening and closing the flip on the Pearl 8220?


BlackBerry Development Advisor
Posts: 15,759
Registered: ‎07-09-2008
My Device: BlackBerry PRIV
My Carrier: Bell

Re: Pearl flip listner?

There are two ways you can do this.  You can use the Sensor class and SensorListener API that were added in version 4.6.0 of the BlackBerry API set.  Or you can use the Holserlistener, which has been deprecated but is available in older versions of the BlackBerry API set.
Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker