0

I am a newbie at Blackberry development. I am making an app which I have set as System Module so that it will Run at startUp. This app has a listener which captures the event of an outgoing call and then asks the user for a confirmation. My problem is, I want to go back to the Calls List Screen (Global Screen) if the user selects NO. But, if I use System.exit(0), the listener stops, which is not desired. What I need to do is again send the App to background. Can someone help???

Thanks in adv.

pujakhemka
  • 123
  • 10

2 Answers2

2

you just want to send your application to background.

getApplication().requestBackground();
Vivart
  • 14,900
  • 6
  • 36
  • 74
0

Thanks Vivart. That did work. But problem is that it brings me to phone's home screen and I want to go back to Calls List Screen.

I found an alternate solution -

Invoke.invokeApplication(Invoke.APP_TYPE_PHONE, new PhoneArguments());

This line brings the Calls List Screen to foreground.

Thanks again for the quick response :)

pujakhemka
  • 123
  • 10
  • You should put this as a comment to Vivart's question, not as a new answer – Marc Novakowski Jun 02 '10 at 16:09
  • 1
    In my question I have stated that I want to go back to the Calls List Screen, not the Mobile Home Page. Vivart's answer partially solves my problem. Since I later found exactly what I needed, I thought I should post the solution for others' sake. – pujakhemka Jun 03 '10 at 10:30