The "Help" activity is the best solution for now. Also, if your users would like to remove that icon from their all-apps drawer after they've read the instructions, you can use PackageManager.setComponentEnabledSetting() to hide it, while leaving your app installed.
j On Tue, Aug 11, 2009 at 9:37 AM, String<[email protected]> wrote: > > Reposting this from Android Discuss, as it's probably more on-topic > here. > > There's an ongoing issue with users who install an appwidget app from > the Market and then don't know how to add the widget to their home > screen. It's been suggested to add a Help or About activity with > instructions - and I've done that - but I'd really rather include an > "Install Widget" button on my main activity. Anyone have any clues on > how to make that happen? > > I tried firing off an ACTION_APPWIDGET_PICK intent, but that always > seems to NPE. I suspect > I don't have the extras right, but OTOH, reading the docs it doesn't > sound like exactly what I want anyway. > > Thanks, > > String > > > > -- Jeff Sharkey [email protected] --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

