04.08.2012 19:54 пользователь "Mark Murphy" <[email protected]>
написал:
>
> On Sat, Aug 4, 2012 at 11:47 AM, NickL <[email protected]> wrote:
> > The error happened when I call mResolver.query(Abc.CONTENT_URI, null,
null,
> > null, null); in onDataSetChanged().
> >
> > Does that help?
>
> This suggests that, for some reason, your app widget is in a different
> application than is your ContentProvider.

The other app is the Launcher.

>
> Is that so? If so, why did you do that, rather than have them both be
> in the same application?

That's how adapter view based widgets are architected - the launcher calls
into your app to do adapter type things (getCount, etc)

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

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