diff options
author | Teddy <[email protected]> | 2013-08-28 16:32:50 +0800 |
---|---|---|
committer | Teddy <[email protected]> | 2013-08-28 16:32:50 +0800 |
commit | 10af199a81c3b7ca338a7aeb3ab599ff1be7ecb1 (patch) | |
tree | 06c26b1471f431a53252fd3629a5b561bdf21c7b /client/Piztor/AndroidManifest.xml | |
parent | 1bc497952316e08e73c71d6839a9e42e40196fb6 (diff) | |
parent | 0a8315a94d8ed1252f3f96d4ca41ddc632c3bc98 (diff) |
Merge branch 'master' of github.com:Determinant/piztor
Diffstat (limited to 'client/Piztor/AndroidManifest.xml')
-rw-r--r-- | client/Piztor/AndroidManifest.xml | 54 |
1 files changed, 48 insertions, 6 deletions
diff --git a/client/Piztor/AndroidManifest.xml b/client/Piztor/AndroidManifest.xml index ef91844..ece39f1 100644 --- a/client/Piztor/AndroidManifest.xml +++ b/client/Piztor/AndroidManifest.xml @@ -8,6 +8,37 @@ android:minSdkVersion="8" android:targetSdkVersion="17" /> + <!--使用网络功能所需权限 --> +<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"> +</uses-permission> +<uses-permission android:name="android.permission.INTERNET"> +</uses-permission> +<uses-permission android:name="android.permission.ACCESS_WIFI_STATE"> +</uses-permission> +<uses-permission android:name="android.permission.CHANGE_WIFI_STATE"> +</uses-permission> +<!-- SDK离线地图和cache功能需要读写外部存储器 --> +<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"> +</uses-permission> +<!-- 获取设置信息和详情页直接拨打电话需要以下权限 --> +<uses-permission android:name="android.permission.READ_PHONE_STATE"> +</uses-permission> +<uses-permission android:name="android.permission.CALL_PHONE"> +</uses-permission> +<!-- 使用定位功能所需权限,demo已集成百度定位SDK,不使用定位功能可去掉以下6项 --> +<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"> +</uses-permission> +<permission android:name="android.permission.BAIDU_LOCATION_SERVICE"> +</permission> +<uses-permission android:name="android.permission.BAIDU_LOCATION_SERVICE"> +</uses-permission> +<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"> +</uses-permission> +<uses-permission android:name="android.permission.ACCESS_MOCK_LOCATION"> +</uses-permission> +<uses-permission android:name="android.permission.ACCESS_GPS"/> + + <application android:allowBackup="true" android:icon="@drawable/ic_launcher" @@ -18,7 +49,6 @@ android:label="@string/app_name" > <intent-filter> <action android:name="android.intent.action.MAIN" /> - <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> </activity> @@ -28,15 +58,27 @@ </activity> <activity android:name="com.macaroon.piztor.Main" - android:label="@string/title_activity_main" > + android:label="@string/title_activity_main" + android:screenOrientation="sensor" + android:configChanges="orientation"> </activity> <activity android:name="com.macaroon.piztor.Settings" - android:label="@string/title_activity_settings" > + android:label="@string/title_activity_settings" + android:screenOrientation="sensor" + android:configChanges="orientation"> </activity> + <service + android:name="com.baidu.location.f" + android:enabled="true" + android:process=":remote" > + </service> </application> - - <uses-permission android:name="android.permission.INTERNET" /> - <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /> + + <supports-screens android:largeScreens="true" + android:normalScreens="true" + android:smallScreens="true" + android:resizeable="true" + android:anyDensity="true"/> </manifest> |