[android-developers] Error accessing content provider from RemoteViewsService

2012-08-06 Thread Kang Lu
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

Re: [android-developers] SecurityException in RemoteViewsService?

2012-08-06 Thread Kang Lu
This works for me. Thanks! On Saturday, August 4, 2012 11:20:51 PM UTC+8, Kostya Vasilyev wrote: I've run into this exact issue before. My fix was to add Binder.clearCallingIdentity() in my RemoteViewsService callbacks where I needed to access my non-exported provider. Now we're back from

Re: [android-developers] SecurityException in RemoteViewsService?

2012-08-06 Thread Kang Lu
a database column. On Saturday, August 4, 2012 10:56:29 PM UTC+8, Mark Murphy (a Commons Guy) wrote: On Sat, Aug 4, 2012 at 10:35 AM, NickL nicklongi...@gmail.com wrote: Error accessing content provider in RemoteViewService Hi, I'm trying to build a home screen widget for my app

[android-developers] Re: SDK 4, R15, where is the navigation button?

2011-12-21 Thread Kang Lu
I guess this may solve your problem. https://plus.google.com/109385828142935151413/posts/FqJ5oT2xWjm -- 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