It is not possible for third party apps; the user needs to approve your access to the widget by explicitly selecting it. Of course if you are making your own device, you can put your app in the system image, and it can have the permission to directly install widgets.
On Mon, Feb 28, 2011 at 4:34 PM, TreKing <[email protected]> wrote: > On Mon, Feb 28, 2011 at 6:08 PM, tedx <[email protected]> wrote: > >> Pre-install the widgets. >> > > It's probably possible, the default home come with some widgets enabled by > default. No idea how'd you go about it though. > > >> On this dedicated device the user will not be able to any configuration. >> > > Dedicated *device*? If you're building a custom firmware along with your > home app, you want another group - like porting or platform. > > > ------------------------------------------------------------------------------------------------- > TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago > transit tracking app for Android-powered devices > > > -- > 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 > -- Dianne Hackborn Android framework engineer [email protected] Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. -- 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

