Sunday, 15 April 2012

sqlite3 - Android how to add more than one ContentProvider in Android? -



sqlite3 - Android how to add more than one ContentProvider in Android? -

is possible utilize more 1 contentprovider?

if possible how declare in manifest? tried using next way getcontentresolver() getting first provider.

<provider android:name=".bean.itembean" android:authorities="com.waveletandroid.bean" > </provider> <provider android:name=".bean.customerbean" android:authorities="com.waveletandroid.bean" > </provider>

is possible utilize more 1 contentprovider?

yes. or, can have 1 contentprovider provides multiple info sets, based upon path portion of uri or via different authorities.

if possible how declare in manifest?

what have correct. cannot both have same authority, though. alter 1 else (e.g., com.waveletandroid.bean2).

android sqlite3 android-contentprovider

No comments:

Post a Comment