Hello, and thank you for replying
I was looking at a tutorial that used Contacts which is a ContentProvider
That app had the following tag in AndroidManifest:
<uses-permission
android:name="android.permission.READ_CONTACTS">
</uses-permission>
I thought maybe I would need something like that to access a custom
ContentProvider
Best regards
Per-Jarle
On Mon, Jun 18, 2012 at 12:29 PM, Mark Murphy <[email protected]>wrote:
> You do not need to have a <uses-permission> element to use that
> ContentProvider. I do not know what other "uses tag" you might be
> concerned with.
>
> On Mon, Jun 18, 2012 at 5:09 AM, Per-Jarle Sæther
> <[email protected]> wrote:
> > Hello all
> > Do I need to specify an uses tag in AndroidManifest if I shall use a
> custom
> > Content provider?
> >
> > Example:
> > Provider tag in Content Provider:
> >
> > <provider android:name="BooksProvider"
> >
> > android:authorities="net.learn2develop.provider.Books" />
> >
> >
> > What uses tag do I need to have in a client app that use this provider?
> >
> > Best regards
> > Per-Jarle
> >
> > --
> > 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
>
>
>
> --
> 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 3.7 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