You cannot add or remove AppWidgets from your application. The user must explicitly do that from the home screen.
On Sep 22, 10:40 pm, Manjunatha M <[email protected]> wrote: > Hi All, > > I am writing an widget application for android. > > I have a requirement where i need to disable the widget on some intent, > i.e., I have the remove the widget from the android home screen and remove > from menu options so that the user cannot add the widget further. > > I have to enable the widget on some intent, so that, the framework > automatically adds the widget to the home screen, by calculating the empty > position available on the home screen, and the many option re-appears in > order to add the widget further. > > Please let me know if this can be possible.. > > Regards, > Manjunatha --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

