Tag Archives: AppWidgetProvider

Handling Multiple Instances of a Widget in Android and Identifying each instance with it’s own ID.

By | July 5, 2013

Hey everyone…….Hope all are well….. This post is about Android Widgets. This is going to be one of the bigger posts in Coderzheaven. This posts helps you to handle multiple instances of a Widget. Many of our problem is to identify different instances of the same widget. But there is a solution to this problem.… Read More »

How to get Notified when a widget is deleted?

By | June 10, 2012

I have already covered a tutorial on how to start with widgets and how to create a simple widget here.. http://www.coderzheaven.com/2012/06/07/create-widget-android/ Today I will show you how to get notified when a widget is deleted. if you have already gone through my previous post, then there is only a small change in the “MyWidget.java” file.… Read More »

How to create a widget in android?

By | June 7, 2012

Hello everyone… Today I will show you how to create a simple widget in android? First create a new project and name it “Widget1” and name the activity “WidgetDemo1“. Actually we dont need the activity class here. You can delete it and delete the corresponding entry of it from the AndroidManifest file also. Now we… Read More »