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: 139
Registered: ‎05-25-2009
My Device: Not Specified

How to make multi tasking

Hi friends,


           I am running one application in simulator if any calls came na how to move the application to background and after the call ends how to move the same application to forground.Pls give me some idea if u can pls provide me some code.




Posts: 17,006
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport
My Carrier: O2 Germany

Re: How to make multi tasking

the phone application automatically requests foreground, and the incoming call screen is global with max priority.

you can use a phonelistener to execute requestforeground in your application (use invokelater on your app) after the call is disconnected. it is possible that you have to use it multiple times if the phone app still wants to be on top.
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter