05-06-2010 03:42 AM
Hi,
I am trying to push HomeScreen from my application.Can we do this?
UiApplication.getUiApplication().pushScreen( net.rim.blackberry.api.homescreen.HomeScreen );
But, above line on compilation gives err : cannot find symbol
--------------------------------------------------
symbol : class homescreen
location: package net.rim.blackberry.api
UiApplication.getUiApplication().pushScreen( net.rim.blackberry.api.homescreen.HomeScreen);
1 error
--------------------------------------------------
I am using BB JDE 4.2.1.41
Thanks & Regards,
Kanak Sony
05-06-2010 03:44 AM
Nope, you do not have access to this screen. It's rim internal.
Though starting from os 5.0 you have possibility to make some changes to it.
05-06-2010 06:53 AM
You can send your app to the background. Then the homescreen comes up.
05-06-2010 07:32 AM - edited 05-06-2010 07:46 AM
Hi rcmania25,
Actually, what I have done is : my application is a background application, I have invoked Player application from it and recorded an audio of few seconds.
What I want to done next is:
While the recording is going on... My phone hangs.. I dn want to show this and want to process all this in background. Here I want that homescreen shud be displayed..
Thanks & Regards,
Kanak Sony
05-06-2010 07:39 AM
kanaksony wrote:
Actually, what I have done is : my application is a background application, I have invoked Player application from it and recorded an audio of few seconds.
If you are invoking the Player application and then at the same time you want to minimize it and show the HomeScreen in this case I might be afraid you do not have control for such a thing.
05-06-2010 07:52 AM
Thanks or your response... But, I have to implement this in my application and looking for some tips/ advices form others on the forum... May be someone can give me a clue to the solution of my problem...
Thanks & Reagrds,
Kanak Sony
05-06-2010 08:15 AM
You can try key injection for the end key.