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
hack...@android.com ”

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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to