Hi,
I developed my own provider but when I try to access it from another
activity I have this kind of error.
"Failed to find provider info for com.erwan.speedcamsprovider"
In the other hand I use a ContentObserver with the same content uri
and I am able to listen for the change in the database.
I know that those two thinks are different but I don't understand why
it won't work.

Manifest of my first application for the content provider declaration:

               <provider
                android:name="com.erwan.manager.android.SpeedCamsProvider"
                android:authorities="com.erwan.speedcamsprovider"/>

Query to the provider in my second application:

String[] projection = new String[] { "Id", "Type", "Road" };
    Cursor managedCursor = managedQuery(Uri.parse("content://
com.erwan.speedcamsprovider/cams"), projection, null, null, null);

Thanks for your help!

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