493
2035
6894
管理员
<p><?xml version="1.0"encoding="utf-8"?> </p> <p><manifest xmlns:android="<a target="_blank" rel="nofollow" href="http://schemas.android.com/apk/res/android">http://schemas.android.com/apk/res/android"</a> </p> <p>package="Your Package" </p> <p>android:versionCode="100" </p> <p>android:versionName="1.0.0" </p> <p>> </p> <p> </p> <p><!-- Required --> </p> <p><permission android:name="You Package.permission.JPUSH_MESSAGE"android:protectionLevel="signature"/> </p> <p> </p> <p><!-- Required --> </p> <p><uses-permission android:name="You Package.permission.JPUSH_MESSAGE"/> </p> <p><uses-permission android:name="android.permission.RECEIVE_USER_PRESENT"/> </p> <p><uses-permission android:name="android.permission.INTERNET"/> </p> <p><uses-permission android:name="android.permission.WAKE_LOCK"/> </p> <p><uses-permission android:name="android.permission.READ_PHONE_STATE"/> </p> <p><uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/> </p> <p><uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/> </p> <p><uses-permission android:name="android.permission.VIBRATE"/> </p> <p><uses-permission android:name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS"/> </p> <p><uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/> </p> <p> </p> <p><!-- Optional. Requiredforlocation feature --> </p> <p><uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/> </p> <p><uses-permission android:name="android.permission.ACCESS_COARSE_UPDATES"/> </p> <p><uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/> </p> <p><uses-permission android:name="android.permission.CHANGE_WIFI_STATE"/> </p> <p><uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/> </p> <p><uses-permission android:name="android.permission.ACCESS_LOCATION_EXTRA_COMMANDS"/> </p> <p><uses-permission android:name="android.permission.CHANGE_NETWORK_STATE"/> </p> <p> </p> <p> </p> <p><application </p> <p>android:icon="@drawable/ic_launcher" </p> <p>android:label="@string/app_name" </p> <p>android:name="Your Application"> </p> <p> </p> <p><!-- Required --> </p> <p><service </p> <p>android:name="cn.jpush.android.service.PushService" </p> <p>android:enabled="true" </p> <p>android:exported="false"> </p> <p><intent-filter> </p> <p><action android:name="cn.jpush.android.intent.REGISTER"/> </p> <p><action android:name="cn.jpush.android.intent.REPORT"/> </p> <p><action android:name="cn.jpush.android.intent.PushService"/> </p> <p><action android:name="cn.jpush.android.intent.PUSH_TIME"/> </p> <p></intent-filter> </p> <p></service> </p> <p> </p> <p><!-- Required --> </p> <p><receiver </p> <p>android:name="cn.jpush.android.service.PushReceiver" </p> <p>android:enabled="true"> </p> <p><intent-filter> </p> <p><action android:name="android.intent.action.USER_PRESENT"/> </p> <p><action android:name="android.net.conn.CONNECTIVITY_CHANGE"/> </p> <p></intent-filter> </p> <p><intent-filter> </p> <p><action android:name="android.intent.action.PACKAGE_ADDED"/> </p> <p><action android:name="android.intent.action.PACKAGE_REMOVED"/> </p> <p><data android:scheme="package"/> </p> <p></intent-filter> </p> <p></receiver> </p> <p><!-- Required SDK核心功能--> </p> <p><activity </p> <p>android:name="cn.jpush.android.ui.PushActivity" </p> <p>android:theme="<a target="_blank" href="http://my.oschina.net/asia" class="referer">@android</a> :style/Theme.Translucent.NoTitleBar" </p> <p>android:configChanges="orientation|keyboardHidden"> </p> <p><intent-filter> </p> <p><action android:name="cn.jpush.android.ui.PushActivity"/> </p> <p><category android:name="android.intent.category.DEFAULT"/> </p> <p><category android:name="Your Package"/> </p> <p></intent-filter> </p> <p></activity> </p> <p><!-- Required SDK核心功能--> </p> <p><service </p> <p>android:name="cn.jpush.android.service.DownloadService" </p> <p>android:enabled="true" </p> <p>android:exported="false"> </p> <p></service> </p> <p><!-- Required SDK核心功能--> </p> <p><receiver android:name="cn.jpush.android.service.AlarmReceiver"/> </p> <p> </p> <p><!-- Required. For publish channel feature --> </p> <p><!-- JPUSH_CHANNEL 是为了方便开发者统计APK分发渠道。--> </p> <p><!-- 例如: --> </p> <p><!-- 发到 Google Play 的APK可以设置为 google-play; -> </p> <p><!-- 发到其他市场的 APK 可以设置为 xxx-market。 --> </p> <p><!-- 目前这个渠道统计功能的报表还未开放。--> </p> <p><meta-data android:name="JPUSH_CHANNEL"android:value="developer-default"/> </p> <p><!-- Required. AppKey copied from Portal --> </p> <p><meta-data android:name="JPUSH_APPKEY"android:value="Your AppKey"/> </p> <p></application> </p> <p></manifest> </p>复制代码
使用道具 举报
0
4
34
新手上路
27
172
597
高级会员
本版积分规则 发表回复 回帖并转播
查看 »
Archiver|手机版|小黑屋| PhoneGap中文网 ( 京ICP备13027796号-1 )
GMT+8, 2024-11-23 20:51 , Processed in 0.056265 second(s), 37 queries .
Powered by Discuz! X3.2
© 2001-2013 Comsenz Inc.