Saturday, August 4, 2012

Re: [android-developers] SecurityException in RemoteViewsService?

On Sat, Aug 4, 2012 at 10:35 AM, NickL <nicklonginow@gmail.com> wrote:
> Error accessing content provider in RemoteViewService
>
> Hi,
>
> I'm trying to build a home screen widget for my app and I am using
> stackview, remoteviewservice. In the RemoteViewsService, I need to query the
> content provider. My cotent provider is set exported=false. However, when I
> want to add the widget on screen, I get this error
> java.lang.SecurityException: Permission Denial: reading
> com.xxx.android.provider.yyyContentProvider uri content://com.zzz.an

What exactly is content://com.zzz.an pointing to? An image for an ImageView?

--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

_The Busy Coder's Guide to Android Development_ Version 4.0 Available!

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

No comments:

Post a Comment