Welcome!

Welcome to the Official BlackBerry Support Community Forums. This is your resource to discuss support topics with your peers, and learn from each other. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Java Development

Reply
Contributor
shashi_29
Posts: 21
Registered: ‎10-18-2011
My Carrier: T Mobile
Accepted Solution

"Call handling in a background running application"

hi,

 

How can i handle incoming call in my blackberry application which is already running in background,

How can i bring it to foreground , from last screen. for that i have used activate method but it is not working.

 

If i use  phone listener, so should i have to implenment it on each screen ???

 

plz help me on that.

 

thnx in advanced

Please use plain text.
Developer
peter_strange
Posts: 17,652
Registered: ‎07-14-2008

Re: "Call handling in a background running application"

There are twooo many questions here to be answered in one post. I suggest you get something going and ask a question at a time.

 

The place to start is implementing the PhoneListener.  You will find PhoneApiDemo (which you should find with the samples) a good start for doing this.

 

Regarding brining your app to the foreground, you need to look at

<application>.requestForeground().

 

Ask us some more detailed questions as you progress. 

Please use plain text.
Contributor
shashi_29
Posts: 21
Registered: ‎10-18-2011
My Carrier: T Mobile

Re: "Call handling in a background running application"

thanks peter ...
Please use plain text.