• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to hide Widget from the task manager application

 
Sarah Raf
Ranch Hand
Posts: 35
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 65
Android Chrome Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic