How can I add a button in an activity of my Android app, so that when the user clicks on it, they are directly taken to the widget selection screen, and my app’s widget is displayed prominently and differently from other widgets, allowing the user to easily find and add it to the home screen without having to search among other widgets?
I tried using
AppWidgetManager.ACTION_APPWIDGET_PICK,
but it wasn’t helpful.
1