Also does anybody know how Go Launcher is able to install widgets without a
Pick Intent. They also have an uninstall widget option from manage
applications. This means Go Widgets are in different package than Go
Launcher package. Can anybody tell where such stuffs are documented?

On Mon, Jul 25, 2011 at 3:26 PM, Varun Tewari <[email protected]>wrote:

> Guys,
>
> While working on my own launcher, i tried to integrate my launcher with a
> set of my own widgets. I want these widgets to be pre-installed (don't by
> widget pick list).
> I have bind widget permission in place, but it gives me an error "User
> 10032 does not have android.permission.BIND_APPWIDGET"
> When i went through some of the discussion threads found security issues
> are the reason for this.
>
>
> “This is deliberately not available to applications.  If you want to add a
> widget, you need to launch the selector UI for the user to pick the widget
> which will then take care of the bind.  Widgets can expose a lot of
> private
> data of all types, so it is not safe to allow an application to
> arbitrarily
> bind to them without the user implicitly approving (through the selection
> UI).
>
> - Show quoted text -
> --
> Dianne Hackborn
> Android framework engineer
> [email protected] ”
>
> My question is if the widget provider is in scope of my same user, as of my
> Launcher. Why i cant bind it with my own launcher? That's not sniffing.
> Is there a way or i am missing something to make this work?
>
> Let me know your thoughts.
>
> Thanks & Reg,
> Varun
>

-- 
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

Reply via email to