2 <!-- Copyright 2011 Google Inc. All Rights Reserved. -->
3 <!-- Manifest for AndroidListener sample application. Must be merged with
4 j/c/g/ipc/invalidation/external/client/contrib:android_listener_manifest. -->
5 <manifest android:versionCode="1" android:versionName="0.1" package="com.google.ipc.invalidation.examples.android2" xmlns:android="http://schemas.android.com/apk/res/android">
6 <!-- *** WARNING *** DO NOT EDIT! THIS IS GENERATED MANIFEST BY MERGE_MANIFEST TOOL.
8 java/com/google/ipc/invalidation/examples/android2/AndroidManifest.xml
11 <uses-sdk android:minSdkVersion="14" android:targetSdkVersion="14"/>
12 <!-- Declare and use permission allowing this application to receive GCM
14 <permission android:name="com.google.ipc.invalidation.examples.android2.permission.C2D_MESSAGE" android:protectionLevel="signature"/>
15 <uses-permission android:name="com.google.ipc.invalidation.examples.android2.permission.C2D_MESSAGE"/>
17 <!-- Configure the listener class for the application -->
18 <meta-data android:name="ipc.invalidation.ticl.listener_service_class" android:value="com.google.ipc.invalidation.examples.android2.ExampleListener"/>
19 <!-- To enable background invalidations uncomment the following element:
23 "ipc.invalidation.ticl.background_invalidation_listener_service_class"
25 "com.google.ipc.invalidation.examples.android2.ExampleListener"/>-->
26 <!-- Example activity -->
27 <activity android:name="com.google.ipc.invalidation.examples.android2.MainActivity">
29 <action android:name="android.intent.action.MAIN"/>
30 <category android:name="android.intent.category.LAUNCHER"/>
33 <!-- Ticl listener. -->
34 <service android:exported="false" android:name="com.google.ipc.invalidation.examples.android2.ExampleListener">
36 <action android:name="com.google.ipc.invalidation.AUTH_TOKEN_REQUEST"/>
39 <!-- Receiver for scheduler alarms. -->
40 <receiver android:exported="false" android:name="com.google.ipc.invalidation.external.client.contrib.AndroidListener$AlarmReceiver"/>
41 <!-- Receiver for scheduler alarms. -->
42 <receiver android:exported="false" android:name="com.google.ipc.invalidation.ticl.android2.AndroidInternalScheduler$AlarmReceiver"/>
43 <!-- GCM Broadcast Receiver -->
44 <receiver android:exported="true" android:name="com.google.ipc.invalidation.external.client.contrib.MultiplexingGcmListener$GCMReceiver" android:permission="com.google.android.c2dm.permission.SEND">
46 <action android:name="com.google.android.c2dm.intent.RECEIVE"/>
47 <action android:name="com.google.android.c2dm.intent.REGISTRATION"/>
48 <category android:name="com.google.ipc.invalidation.ticl.android2"/>
51 <!-- Merged from file: java/com/google/ipc/invalidation/external/client/android2/AndroidManifest.xml -->
52 <receiver android:exported="false" android:name="com.google.ipc.invalidation.ticl.android2.channel.AndroidMessageReceiverService$Receiver">
54 <action android:name="com.google.ipc.invalidation.gcmmplex.EVENT"/>
57 <!-- Ticl service. -->
58 <service android:exported="false" android:name="com.google.ipc.invalidation.ticl.android2.TiclService"/>
60 <service android:exported="false" android:name="com.google.ipc.invalidation.ticl.android2.channel.AndroidMessageSenderService"/>
61 <!-- GCM multiplexer -->
62 <service android:exported="false" android:name="com.google.ipc.invalidation.external.client.contrib.MultiplexingGcmListener">
63 <meta-data android:name="sender_ids" android:value="ipc.invalidation@gmail.com"/>
65 <!-- Invalidation service multiplexed GCM receiver -->
66 <service android:enabled="true" android:exported="false" android:name="com.google.ipc.invalidation.ticl.android2.channel.AndroidMessageReceiverService"/>
68 <!-- App receives GCM messages. -->
69 <uses-permission android:name="com.google.android.c2dm.permission.RECEIVE"/>
70 <!-- GCM connects to Google Services. -->
71 <uses-permission android:name="android.permission.INTERNET"/>
72 <!-- GCM requires a Google account. -->
73 <uses-permission android:name="android.permission.GET_ACCOUNTS"/>
74 <!-- Merged from file: java/com/google/ipc/invalidation/external/client/android2/AndroidManifest.xml -->
75 <uses-permission android:name="android.permission.USE_CREDENTIALS"/>
76 <!-- Keeps the processor from sleeping when a message is received. -->
77 <uses-permission android:name="android.permission.WAKE_LOCK"/>