AndroidManifest.xml (3782B)
1 <?xml version="1.0" encoding="utf-8"?> 2 <manifest xmlns:android="http://schemas.android.com/apk/res/android" 3 package="de.nordgedanken.rpicms" 4 android:versionCode="1" 5 android:versionName="1.0"> 6 <uses-sdk 7 android:minSdkVersion="7" 8 android:targetSdkVersion="18" /> 9 <!-- Required for fetching feed data. --> 10 <uses-permission android:name="android.permission.INTERNET"/> 11 <!-- Required to register a SyncStatusObserver to display a "syncing..." progress indicator. --> 12 <uses-permission android:name="android.permission.READ_SYNC_STATS"/> 13 <!-- Required to enable our SyncAdapter after it's created. --> 14 <uses-permission android:name="android.permission.WRITE_SYNC_SETTINGS"/> 15 <!-- Required because we're manually creating a new account. --> 16 <uses-permission android:name="android.permission.AUTHENTICATE_ACCOUNTS"/> 17 <application 18 android:allowBackup="true" 19 android:icon="@drawable/ic_launcher" 20 android:label="@string/app_name" 21 android:theme="@style/AppTheme" > 22 <activity 23 android:name=".Start" 24 android:label="@string/app_name" > 25 <intent-filter> 26 <action android:name="android.intent.action.MAIN" /> 27 28 <category android:name="android.intent.category.LAUNCHER" /> 29 </intent-filter> 30 </activity> 31 <!--<activity 32 android:name=".EntryListActivity" 33 android:label="@string/app_name" > 34 <! This intent filter places this activity in the system's app launcher. 35 <intent-filter> 36 <action android:name="android.intent.action.MAIN" /> 37 <category android:name="android.intent.category.LAUNCHER" /> 38 </intent-filter> 39 </activity>--> 40 <provider 41 android:name="de.nordgedanken.rpicms.basicsyncadapter.provider.FeedProvider" 42 android:authorities="de.nordgedanken.rpicms.basicsyncadapter" 43 android:exported="false" /> 44 45 <!-- This service implements our SyncAdapter. It needs to be exported, so that the system 46 sync framework can access it. --> 47 <service android:name="de.nordgedanken.rpicms.basicsyncadapter.SyncService" 48 android:exported="true"> 49 <!-- This intent filter is required. It allows the system to launch our sync service 50 as needed. --> 51 <intent-filter> 52 <action android:name="android.content.SyncAdapter" /> 53 </intent-filter> 54 <!-- This points to a required XML file which describes our SyncAdapter. --> 55 <meta-data android:name="android.content.SyncAdapter" 56 android:resource="@xml/syncadapter" /> 57 </service> 58 59 <!-- This implements the account we'll use as an attachment point for our SyncAdapter. Since 60 our SyncAdapter doesn't need to authenticate the current user (it just fetches a public RSS 61 feed), this account's implementation is largely empty. 62 63 It's also possible to attach a SyncAdapter to an existing account provided by another 64 package. In that case, this element could be omitted here. --> 65 <service android:name="de.nordgedanken.rpicms.common.accounts.GenericAccountService"> 66 <!-- Required filter used by the system to launch our account service. --> 67 <intent-filter> 68 <action android:name="android.accounts.AccountAuthenticator" /> 69 </intent-filter> 70 <!-- This points to an XMLf ile which describes our account service. --> 71 <meta-data android:name="android.accounts.AccountAuthenticator" 72 android:resource="@xml/authenticator" /> 73 </service> 74 </application> 75 76 </manifest>