lordjoe wrote:
> I developed a custom content provider for extracting data from zip
> files. The provider works properly in the emulator but when I run the
> apk on the device I get no content provider followed by the url
> The manifest says (outside the application tag
> 
> 
>     <provider
> android:name=".contentprovider.ExtendedFileContentProvider"
>  
> android:authorities="com.lordjoe.android.contentprovider.extendedfilecontentprovider"
>  /

The <provider> element needs to be inside the <application> tag. See
this project for an example:

http://github.com/commonsguy/cw-android/tree/master/ContentProvider/ConstantsPlus/

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

Android 2.x Programming Books: http://commonsware.com/books

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

To unsubscribe, reply using "remove me" as the subject.

Reply via email to