Wednesday 13 June 2012

How to get Notified when a widget is deleted?


I have already covered a tutorial on how to start with widgets and how to create a simple widget here..

<a href="http://www.coderzheaven.com/2012/06/07/create-widget-android/" title="Create a Widget" target="_blank">http://www.coderzheaven.com/2012/06/07/create-widget-android/</a>

Today I will show you how to get notified when a widget is deleted.

if you have already gone through my <a href="http://www.coderzheaven.com/2012/06/07/create-widget-android/" title="Create a widget" target="_blank">previous post</a>, then there is only a small change in the "MyWidget.java" file.

we have to add the onReceive() method to the class like this.

Read complete post from here...

http://www.coderzheaven.com/2012/06/10/notified-widget-deleted/

No comments:

Post a Comment