title: Add widget to homescreen from Android application
body: <p>I have found examples here: <a href="https://stackoverflow.com/questions/10113645/android-intent-that-open-widget-context-menu">Android - Intent that open widget context menu</a> and here: <a href="http://coderender.blogspot.com/" rel="nofollow noreferrer">http://coderender.blogspot.com/</a>.</p>
  
  <p>The first one launches the widget picker, but goes it goes away when you select anything. The second one lets you pick a widget, but it shows it in the application view. Is there a way to call the widget selection from a button in an app but still have the main screen on the phone be the AppWidgetHost?</p>
  
  <p>It may be me misinterpreting things, but it looks to me like the AppWidgetHost has to be the application where you are calling the widget selection menu.</p>