Files
chrometophone/android/AndroidManifest.xml
burke.davey 3d5954af99 ICS theming
2012-01-18 05:53:33 +00:00

77 lines
3.7 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.google.android.apps.chrometophone"
android:installLocation="auto"
android:versionCode="12"
android:versionName="2.3.0">
<!-- Only this application can receive the messages and registration result -->
<permission android:name="com.google.android.apps.chrometophone.permission.C2D_MESSAGE" android:protectionLevel="signature" />
<uses-permission android:name="com.google.android.apps.chrometophone.permission.C2D_MESSAGE" />
<!-- This app has permission to register and receive data message -->
<uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" />
<!-- Permissions for internet access and account access -->
<uses-permission android:name="android.permission.INTERNET" />
<!-- App must have this permission to use the library -->
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="android.permission.GET_ACCOUNTS" />
<uses-permission android:name="android.permission.USE_CREDENTIALS" />
<application android:icon="@drawable/app_icon"
android:label="@string/app_name"
android:theme="@style/Theme.LightNoActionBar">
<activity android:name=".HistoryActivity"
android:label="@string/app_name">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:name=".SetupActivity"
android:label="@string/app_name"
android:launchMode="singleTop">
</activity>
<activity android:name=".HelpActivity"
android:label="@string/app_name">
</activity>
<activity android:name=".ShareLinkActivity"
android:theme="@style/Theme.Translucent">
<intent-filter>
<action android:name="android.intent.action.SEND" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="text/plain" />
</intent-filter>
</activity>
<!-- In order to use the c2dm library, an
application must declare a class with the name C2DMReceiver, in its
own package, extending com.google.android.c2dm.C2DMBaseReceiver
It must also include this section in the manifest, replacing
"com.google.android.apps.chrometophone" with its package name. -->
<service android:name=".C2DMReceiver" />
<!-- Only google service can send data messages for the app. If permission is not set -
any other app can generate it -->
<receiver android:name="com.google.android.c2dm.C2DMBroadcastReceiver"
android:permission="com.google.android.c2dm.permission.SEND">
<!-- Receive the actual message -->
<intent-filter>
<action android:name="com.google.android.c2dm.intent.RECEIVE" />
<category android:name="com.google.android.apps.chrometophone" />
</intent-filter>
<!-- Receive the registration id -->
<intent-filter>
<action android:name="com.google.android.c2dm.intent.REGISTRATION" />
<category android:name="com.google.android.apps.chrometophone" />
</intent-filter>
</receiver>
</application>
<uses-sdk android:minSdkVersion="8" android:targetSdkVersion="11" />
</manifest>