|
2 | 2 | <manifest xmlns:android="http://schemas.android.com/apk/res/android" |
3 | 3 | package="net.coding.program" |
4 | 4 | android:versionCode="26" |
5 | | - android:versionName="2.3"> |
| 5 | + android:versionName="2.3" > |
6 | 6 |
|
7 | 7 | <uses-sdk |
8 | 8 | android:minSdkVersion="15" |
|
30 | 30 | <uses-permission android:name="android.permission.READ_LOGS" /> |
31 | 31 | <uses-permission android:name="android.permission.VIBRATE" /> |
32 | 32 |
|
| 33 | + |
33 | 34 | <application |
34 | 35 | android:name=".MyApp" |
35 | 36 | android:allowBackup="true" |
36 | 37 | android:icon="@drawable/ic_launcher" |
37 | 38 | android:label="@string/app_name" |
38 | | - android:theme="@style/ActionbarNoIcon"> |
| 39 | + android:theme="@style/ActionbarNoIcon" > |
39 | 40 |
|
40 | 41 | <!-- 【必须】 信鸽receiver广播接收 --> |
41 | 42 | <receiver |
42 | 43 | android:name="com.tencent.android.tpush.XGPushReceiver" |
43 | | - android:process=":xg_service_v2"> |
44 | | - <intent-filter android:priority="0x7fffffff"> |
| 44 | + android:process=":xg_service_v2" > |
| 45 | + <intent-filter android:priority="0x7fffffff" > |
45 | 46 |
|
46 | 47 | <!-- 【必须】 信鸽SDK的内部广播 --> |
47 | 48 | <action android:name="com.tencent.android.tpush.action.SDK" /> |
|
61 | 62 | <!-- 【注意】 如果被打开的activity是启动模式为SingleTop,SingleTask或SingleInstance,请根据通知的异常自查列表第8点处理 --> |
62 | 63 | <activity |
63 | 64 | android:name="com.tencent.android.tpush.XGPushActivity" |
64 | | - android:exported="true"> |
| 65 | + android:exported="true" > |
65 | 66 | <intent-filter> |
66 | 67 | <action android:name="android.intent.action" /> |
67 | 68 | </intent-filter> |
|
74 | 75 | android:persistent="true" |
75 | 76 | android:process=":xg_service_v2" /> |
76 | 77 |
|
77 | | - <receiver android:name=".common.PushReceiver"> |
| 78 | + <receiver android:name=".common.PushReceiver" > |
78 | 79 | <intent-filter> |
79 | 80 |
|
80 | 81 | <!-- 接收消息透传 --> |
|
87 | 88 | <!-- 【必须】 通知service,此选项有助于提高抵达率 --> |
88 | 89 | <service |
89 | 90 | android:name="com.tencent.android.tpush.rpc.XGRemoteService" |
90 | | - android:exported="true"> |
| 91 | + android:exported="true" > |
91 | 92 | <intent-filter> |
92 | 93 | <action android:name="net.coding.program.PUSH_ACTION" /> |
93 | 94 | </intent-filter> |
|
105 | 106 | <activity |
106 | 107 | android:name=".MainActivity_" |
107 | 108 | android:label="@string/app_name" |
108 | | - android:launchMode="singleInstance" |
| 109 | + android:launchMode="singleTask" |
109 | 110 | android:screenOrientation="portrait" |
110 | 111 | android:theme="@style/ActionbarSpannerTheme" /> |
111 | 112 | <activity |
|
119 | 120 | android:name=".project.detail.ProjectActivity_" |
120 | 121 | android:icon="@drawable/ic_lancher" |
121 | 122 | android:label="@string/title_activity_project" |
122 | | - android:screenOrientation="portrait"> |
| 123 | + android:screenOrientation="portrait" > |
123 | 124 | <intent-filter> |
124 | 125 | <data |
125 | 126 | android:host="ProjectActivity_" |
|
135 | 136 | android:name=".EntranceActivity_" |
136 | 137 | android:icon="@drawable/ic_launcher" |
137 | 138 | android:screenOrientation="portrait" |
138 | | - android:theme="@style/AppThemeNoActionbar"> |
| 139 | + android:theme="@style/AppThemeNoActionbar" > |
139 | 140 | <intent-filter> |
140 | 141 | <action android:name="android.intent.action.MAIN" /> |
141 | 142 |
|
|
220 | 221 | android:icon="@drawable/ic_lancher" |
221 | 222 | android:label="@string/title_activity_topic_comment" |
222 | 223 | android:screenOrientation="portrait" |
223 | | - android:windowSoftInputMode="stateHidden|adjustResize"> |
| 224 | + android:windowSoftInputMode="stateHidden|adjustResize" > |
224 | 225 | <intent-filter> |
225 | 226 | <data |
226 | 227 | android:host="TopicListDetailActivity_" |
|
243 | 244 | android:icon="@drawable/ic_launcher" |
244 | 245 | android:label="@string/title_activity_make_maopao" |
245 | 246 | android:screenOrientation="portrait" |
246 | | - android:windowSoftInputMode="stateHidden|adjustResize"> |
| 247 | + android:windowSoftInputMode="stateHidden|adjustResize" > |
247 | 248 | <intent-filter> |
248 | 249 | <action android:name="android.intent.action.SEND" /> |
249 | 250 |
|
|
280 | 281 | android:name=".user.UserDetailActivity_" |
281 | 282 | android:icon="@drawable/ic_lancher" |
282 | 283 | android:label="@string/title_activity_user_detail" |
283 | | - android:screenOrientation="portrait"> |
| 284 | + android:screenOrientation="portrait" > |
284 | 285 | <intent-filter> |
285 | 286 | <data |
286 | 287 | android:host="UserDetailActivity_" |
|
318 | 319 | android:icon="@drawable/ic_lancher" |
319 | 320 | android:label="@string/title_activity_maopao_detail" |
320 | 321 | android:screenOrientation="portrait" |
321 | | - android:windowSoftInputMode="stateHidden|adjustUnspecified"></activity> |
| 322 | + android:windowSoftInputMode="stateHidden|adjustUnspecified" /> |
322 | 323 | <activity |
323 | 324 | android:name=".user.UserMaopaoActivity" |
324 | 325 | android:icon="@drawable/ic_lancher" |
|
377 | 378 | android:name=".WebActivity_" |
378 | 379 | android:icon="@drawable/ic_lancher" |
379 | 380 | android:label="@string/title_activity_account_setting" |
380 | | - android:theme="@style/AppThemeNoActionbar" |
381 | | - android:screenOrientation="portrait" /> |
| 381 | + android:screenOrientation="portrait" |
| 382 | + android:theme="@style/AppThemeNoActionbar" /> |
382 | 383 | <activity |
383 | 384 | android:name=".project.SearchProjectActivity_" |
384 | 385 | android:icon="@drawable/ic_lancher" |
|
413 | 414 | android:icon="@drawable/ic_lancher" |
414 | 415 | android:label="@string/title_activity_update_tip" |
415 | 416 | android:screenOrientation="portrait" |
416 | | - android:theme="@android:style/Theme.Holo.Light.Dialog"></activity> |
| 417 | + android:theme="@android:style/Theme.Holo.Light.Dialog" /> |
417 | 418 | <activity |
418 | 419 | android:name=".FileUrlActivity_" |
419 | 420 | android:icon="@drawable/ic_lancher" |
420 | 421 | android:label="@string/title_activity_file_url" |
421 | | - android:screenOrientation="portrait"></activity> |
| 422 | + android:screenOrientation="portrait" /> |
422 | 423 | <activity |
423 | 424 | android:name=".project.ProjectHomeActivity_" |
424 | 425 | android:label="@string/title_activity_project_home" |
425 | | - android:screenOrientation="portrait"></activity> |
| 426 | + android:screenOrientation="portrait" /> |
| 427 | + <activity |
| 428 | + android:name=".TestActivity" |
| 429 | + android:label="@string/title_activity_test" > |
| 430 | + </activity> |
| 431 | + |
| 432 | + <receiver |
| 433 | + android:name=".MyPushReceiver" |
| 434 | + android:enabled="true" |
| 435 | + android:exported="false" > |
| 436 | + |
| 437 | + <intent-filter> |
| 438 | + <action android:name="PushClickBroadcast" /> |
| 439 | + </intent-filter> |
| 440 | + |
| 441 | + </receiver> |
426 | 442 | </application> |
427 | 443 |
|
428 | 444 | </manifest> |
0 commit comments