I have an application with user interface and it implements PhoneListener. I want to run that application in the background and bring in front when user selects from the icon or from swtich tab.
I know how to implement PhoneListener. I want to run the application in the background and bring to front when user selects the icon or from swtich tab.
Alternate Entry Points can be used to launch the user interface (UI) component of the auto-started application when the user selects the icon from the ribbon.
__________________
Handspring >> Palm >> BB Pearl >> BB Storm
From a user perspective, I would be pretty ticked if I couldn't close an application if I wanted to. Personally, I would override the onClose() method to prompt the user: "Are you sure you want to close? Yes | No | Cancel."
Also, if you really want to prevent the user from closing the application, override the onClose method to always return false.
__________________
Handspring >> Palm >> BB Pearl >> BB Storm
I too need the same idea, that i have an icon When i am pressing the icon, i need to invoke an sms application which is running background. When i am exiting and later on coming bak , i need to keep the same screen alive , from where i exit.