Tue, 10 Feb 2015 19:25:00 +0100
Construct a gradle configuration suitable for a Android sync adapter.
michael@0 | 1 | <?xml version="1.0" encoding="utf-8"?> |
michael@0 | 2 | <manifest xmlns:android="http://schemas.android.com/apk/res/android" |
michael@0 | 3 | package="org.gege.caldavsyncadapter" |
michael@2 | 4 | android:versionCode="19" |
michael@2 | 5 | android:versionName="1.8.2" > |
michael@0 | 6 | |
michael@0 | 7 | <uses-sdk |
michael@0 | 8 | android:minSdkVersion="14" |
michael@0 | 9 | android:targetSdkVersion="19" /> |
michael@0 | 10 | |
michael@0 | 11 | <uses-permission android:name="android.permission.AUTHENTICATE_ACCOUNTS" /> |
michael@0 | 12 | <uses-permission android:name="android.permission.READ_CALENDAR" /> |
michael@0 | 13 | <uses-permission android:name="android.permission.WRITE_CALENDAR" /> |
michael@0 | 14 | <uses-permission android:name="android.permission.INTERNET" /> |
michael@0 | 15 | |
michael@0 | 16 | <application |
michael@0 | 17 | android:allowBackup="true" |
michael@0 | 18 | android:icon="@drawable/ic_launcher" |
michael@0 | 19 | android:label="@string/app_name" |
michael@0 | 20 | android:theme="@style/AppTheme" > |
michael@0 | 21 | <service |
michael@0 | 22 | android:name="org.gege.caldavsyncadapter.syncadapter.SyncService" |
michael@0 | 23 | android:exported="true" > |
michael@0 | 24 | <intent-filter> |
michael@0 | 25 | <action android:name="android.content.SyncAdapter" /> |
michael@0 | 26 | </intent-filter> |
michael@0 | 27 | |
michael@0 | 28 | <meta-data |
michael@0 | 29 | android:name="android.content.SyncAdapter" |
michael@0 | 30 | android:resource="@xml/syncadapter" /> |
michael@0 | 31 | </service> |
michael@0 | 32 | <service |
michael@0 | 33 | android:name="org.gege.caldavsyncadapter.authenticator.AuthenticationService" |
michael@0 | 34 | android:exported="true" > |
michael@0 | 35 | <intent-filter> |
michael@0 | 36 | <action android:name="android.accounts.AccountAuthenticator" /> |
michael@0 | 37 | </intent-filter> |
michael@0 | 38 | |
michael@0 | 39 | <meta-data |
michael@0 | 40 | android:name="android.accounts.AccountAuthenticator" |
michael@0 | 41 | android:resource="@xml/authenticator" /> |
michael@0 | 42 | </service> |
michael@0 | 43 | |
michael@0 | 44 | <activity |
michael@0 | 45 | android:name="org.gege.caldavsyncadapter.authenticator.AuthenticatorActivity" |
michael@0 | 46 | android:label="@string/title_activity_authenticator" |
michael@0 | 47 | android:windowSoftInputMode="adjustResize|stateVisible" > |
michael@0 | 48 | </activity> |
michael@0 | 49 | <activity |
michael@0 | 50 | android:name="org.gege.caldavsyncadapter.SyncStatusReportActivity" |
michael@0 | 51 | android:label="@string/title_activity_sync_status_report" > |
michael@0 | 52 | </activity> |
michael@0 | 53 | </application> |
michael@0 | 54 | |
michael@0 | 55 | </manifest> |