????Android?????????????Java?????????????????????Android???????е?Activity??Service??ContentProvider?????????????????Target???в?????????????????ContentProvider?????????
????1.???????????
?????????????????Android?????????н???????????????????Android????????????????????????????????????Android?????AndroidManifest.xml??????????????????(?????????????????????????????????????????????)??
??????AndroidManifest.xml?????????????????£?
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.steven.hu.cpt"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk android:minSdkVersion="15" />
<instrumentation
android:name="android.test.InstrumentationTestRunner"
android:targetPackage="com.steven.hu.cpt" />
<application
android:icon="@drawable/ic_launcher"
android:label="@string/app_name" >
<uses-library android:name="android.test.runner" />
<provider
android:name="com.steven.hu.cpt.ProviderToBeTest"
android:authorities="com.steven.hu.provider.test"
android:exported="true"></provider>
</application>
</manifest>
????ProviderToBeTest????????ContentProvider???????ProviderToBeTest??Android?????н?????????????????????????????????????????????????????