forked from oraclexbw/xmpp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAndroidManifest.xml
121 lines (109 loc) · 5.05 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.way.xx"
android:versionCode="1"
android:versionName="@string/app_version" >
<uses-sdk
android:minSdkVersion="8"
android:targetSdkVersion="18" />
<uses-permission android:name="android.permission.INTERNET" />
<!-- 此权限用来显示反馈崩溃信息对话框 -->
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.VIBRATE" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
<!-- 判断堆栈中是否有本应用的权限 -->
<uses-permission android:name="android.permission.GET_TASKS" />
<application
android:name="com.way.app.XXApp"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/Default.NoTitleBar" >
<activity
android:name="com.way.activity.SplashActivity"
android:screenOrientation="portrait"
android:theme="@style/Default.NoTitleBar" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name="com.way.activity.LoginActivity"
android:screenOrientation="portrait"
android:theme="@style/Default.NoTitleBar"
android:windowSoftInputMode="stateAlwaysHidden|adjustPan" >
<intent-filter>
<action android:name="com.way.xx.action.LOGIN" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
//lwj 2014-05-21
<activity
android:name="com.way.activity.RegisterActivity">
<intent-filter >
<action android:name="com.way.xx.action.REGISTER"/>
<category android:name="android.intent.category.DEFAULT"/>
</intent-filter>
</activity>
<activity
android:name="com.way.activity.MainActivity"
android:label="@string/app_name"
android:screenOrientation="portrait"
android:theme="@style/Default.NoTitleBar"
android:windowSoftInputMode="stateAlwaysHidden|adjustPan" >
</activity>
<activity
android:name="com.way.activity.ChatActivity"
android:alwaysRetainTaskState="true"
android:configChanges="locale|keyboardHidden|orientation|screenSize"
android:exported="true"
android:hardwareAccelerated="true"
android:launchMode="singleTop"
android:theme="@style/Default.SwipeBack.NoTitleBar"
android:windowSoftInputMode="stateHidden|adjustResize" >
<intent-filter>
<action android:name="com.way.xx.action.CHAT" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
<activity
android:name="com.way.activity.AboutActivity"
android:alwaysRetainTaskState="true"
android:configChanges="locale|keyboardHidden|orientation|screenSize"
android:exported="true"
android:hardwareAccelerated="true"
android:launchMode="singleTop"
android:theme="@style/Default.SwipeBack.NoTitleBar"
android:windowSoftInputMode="stateHidden|adjustResize" >
</activity>
<activity
android:name="com.way.activity.FeedBackActivity"
android:alwaysRetainTaskState="true"
android:configChanges="locale|keyboardHidden|orientation|screenSize"
android:exported="true"
android:hardwareAccelerated="true"
android:launchMode="singleTop"
android:theme="@style/Default.SwipeBack.NoTitleBar"
android:windowSoftInputMode="stateHidden|adjustResize" >
</activity>
<service android:name="com.way.service.XXService" />
<receiver android:name="com.way.app.XXBroadcastReceiver" >
<intent-filter>
<!-- 开机广播 -->
<action android:name="android.intent.action.BOOT_COMPLETED" />
<!-- 关机广播 -->
<action android:name="android.intent.action.ACTION_SHUTDOWN" />
<!-- 网络连接变化的广播 -->
<action android:name="android.net.conn.CONNECTIVITY_CHANGE" />
</intent-filter>
</receiver>
<provider
android:name="com.way.db.ChatProvider"
android:authorities="com.way.xx.provider.Chats" />
<provider
android:name="com.way.db.RosterProvider"
android:authorities="com.way.xx.provider.Roster" />
</application>
</manifest>