This repository has been archived by the owner on Apr 29, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 77
/
Copy pathAndroidManifest.xml
executable file
·50 lines (48 loc) · 2.94 KB
/
AndroidManifest.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
android:versionName="1.5.1" package="com.tinyspeck.glitchhq" android:versionCode="25"
android:installLocation="preferExternal" >
<uses-sdk android:minSdkVersion="8" android:targetSdkVersion="11" />
<supports-screens android:anyDensity="true" />
<supports-screens android:largeScreens="true" android:anyDensity="false"/>
<!-- Only this application can receive the messages and registration result -->
<permission android:name="com.tinyspeck.glitchhq.permission.C2D_MESSAGE" android:protectionLevel="signature" />
<uses-permission android:name="com.tinyspeck.glitchhq.permission.C2D_MESSAGE" />
<!-- This app has permission to register and receive message -->
<uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="android.permission.VIBRATE" />
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<application android:name="com.tinyspeck.glitchhq.MyApplication" android:theme="@style/TwoTallTheme"
android:icon="@drawable/icon" android:label="@string/app_name" android:debuggable="true">
<activity android:name=".HomeScreen" android:label="@string/app_name"
android:alwaysRetainTaskState="true" />
<activity android:name=".LoginScreen"
android:windowSoftInputMode="stateUnspecified|adjustResize"
android:alwaysRetainTaskState="true">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:name=".Sidebar" />
<!-- 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 -->
<service android:name=".C2DMReceiver" />
<!-- Only C2DM servers can send 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.tinyspeck.glitchhq" />
</intent-filter>
<!-- Receive the registration id -->
<intent-filter >
<action android:name="com.google.android.c2dm.intent.REGISTRATION" />
<category android:name="com.tinyspeck.glitchhq" />
</intent-filter>
</receiver>
</application>
</manifest>