Skip to content Skip to sidebar Skip to footer

Android - Intent That Open Widget Context Menu

in my application I want that when a user click a button the application closes itself and automatically opens the add new widget context Menu. I'm making this: if (viewId == R.id.

Solution 1:

Take a look at Commonsware's answer to this question: Add widget to homescreen from Android application

You will be able to show the widget selection menu but you won't be able to process that selection in a normal app. The application that makes use of an appwidget selection must implement an AppWidgetHost. Home screen apps fall into this category, no normal apps.

Post a Comment for "Android - Intent That Open Widget Context Menu"