File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Android and the fly likes How to hide Widget from the task manager application Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Mobile » Android
Reply Bookmark "How to hide Widget from the task manager application" Watch "How to hide Widget from the task manager application" New topic
Author

How to hide Widget from the task manager application

Sarah Raf
Ranch Hand

Joined: May 08, 2011
Posts: 35

Hi All,

I am trying to hide my Widget application from the task manager. Is there any way to do so? when ever i kill the widget from the Advanced task manager and create another instance of it, all the data on both the widgets gets deleted. How can I avoid this?

Regards,
Sarah
Renjith Mohan
Ranch Hand

Joined: Nov 28, 2008
Posts: 63


I don't really think there is a need to hide your application.

Save all data into a preference file before closing and populate them back on app restart. Make use of onDestroy() of Activity.
 
 
subject: How to hide Widget from the task manager application
 
Threads others viewed
access the TaskManager
Getting list of Operating System prosesses into Java Application
SWT/JFace Hidden Fields
Windows XP/NT help -- vmstat functionality
questions regarding system tray and tray icon
MyEclipse, The Clear Choice