Hi,

I am trying to create my own ContentProvider and database, based on
the notepad example. It's all straightforward, except for the
permissions - i don't have a write permission.

from AndroidManifest.xml
<manifest xmlns:android="http://schemas.android.com/apk/res/android";
        package="com.company.notes">
        <application android:icon="@drawable/app_notes"
android:label="@string/app_name">
                <provider android:name="NotesProvider"
android:authorities="com.mycompany.provider.Notes" />

....

I couldn't really follow though the connection between the provider
definition (which is arbitrary, but needs to be unique) and the write
permission. Based on the notes example, it just work - but I am
obviously missing something. Documentation and forum search didn't
help so far.

Help please.
Thanks.


--~--~---------~--~----~------------~-------~--~----~
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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to