Error accessing content provider in RemoteViewService
33 views
Skip to first unread message
throwdice
unread,
Aug 4, 2012, 9:59:11 AM8/4/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to android-appwid...@googlegroups.com
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
If I set the provider to exported=true, it works well. But I don't want this solution. Anyone can helps me? Thanks.