views:

113

answers:

1

My users are asking me to make one of my apps into a widget. Is there a way to ask if they want a widget in app and then add the widget to their home screen? I am having a tough time finding this on Google.

Edit: Is there add a widget option to an existing app or do I have to have to write a whole new program?

+1  A: 

If you provide a home screen widget, it is up to the user to add it to his home screen. A very basic reason why you can't and shouldn't add programmatically a widget to the home screen is that you should select an empty space (if it is available), and it could not even ever being noticed by the user.

Update: there is absolutely no need to write a new program, you can (and should) implement all the widget code and requirements in the same package. This is the basic guide for widgets: http://developer.android.com/guide/topics/appwidgets/index.html

Lorenzo
I was looking for a way to have them add it, I guess I wasn't clear in my question.
dweebsonduty