03-28-2011 03:53 AM
It's Neeraj chauhan here. I want to make an application in blackberry. And my problem is This.......
when I clicked on esc key instead of closing the application, my application should go in background and when i again click on that application application should be start from last position wher i pressed the esc key..
Actully this application make for downloading an audio or video. So when we start download a video or audio it take some time to download the audio or video. So i want to put this aaplication is background and also this application must be continuously run. When i again start this application app should be start from it's running mode.
Can anyone help, how to make this type of application..
03-28-2011 07:03 AM
But if i am using this UiApplication.getUiApplication().requestBackg
so that i used following code
03-28-2011 07:10 AM
I suspect you are not using it correctly.
Try just having a menu item that just does the requestbackground() and see what happens with that.
I am not suggesting this is the solution to your problem.
I am suggesting that it will work and the fact that it doesn't work for you now is because of other processing that goes on when you press ESC. So by doing this as a menu item, you will test and see it does work and so know that you have to fix your code processing the ESC.