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.

inside custom component

Java Development

Reply
New Contributor
Posts: 2
Registered: ‎11-19-2012
My Device: bold 9900
My Carrier: pelephone IL

New app

hello to all...

i am new at blackberry app development and i need help...

 

i need to write an app that uses phne API because i need to stop new outgoing call and make new one.

i search the web for methodes to do so an found the next link

 

http://stackoverflow.com/questions/1463232/intercept-outgoing-call-in-blackberry

 

i add new calss that implemnts the phone listener but now i dont see the main screen of my app.

 

my qustion is what is: 

and how can i implement so i can able to stop the call and make new one ans still see the screens of the app.

 

thank you for the help...

 

Highlighted
Developer
Posts: 16,786
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport
My Carrier: O2 Germany

Re: New app

welcome to the support forums.

you can launch a background application using an alternate etry point, see
http://supportforums.blackberry.com/t5/Java-Development/Set-up-an-alternate-entry-point-for-an-appli...

extend AbstractPhoneListener for a less messy implementation.

use global events to communicate from the phone listener to your application, see http://www.blackberry.com/developers/docs/7.1.0api/net/rim/device/api/system/ApplicationManager.html... to send an event, http://www.blackberry.com/developers/docs/7.1.0api/net/rim/device/api/system/Application.html#addGlo... to receive it.

you can use http://www.blackberry.com/developers/docs/7.1.0api/net/rim/device/api/system/Application.html#reques... to put an application to the foreground.

that should get you started.
----------------------------------------------------------
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
New Contributor
Posts: 2
Registered: ‎11-19-2012
My Device: bold 9900
My Carrier: pelephone IL

Re: New app

thank you for the help

but i still try to figure out how to make the listener work in background and the app

not. beacsue right now the listener works fine but i can not open the app...

Developer
Posts: 16,786
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport
My Carrier: O2 Germany

Re: New app

give some details and code snippets, maybe we can assist you there
----------------------------------------------------------
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