summaryrefslogtreecommitdiff
path: root/altosdroid/AndroidManifest.xml
diff options
context:
space:
mode:
authorMike Beattie <mike@ethernal.org>2013-03-07 19:23:39 +1300
committerMike Beattie <mike@ethernal.org>2013-03-07 19:23:39 +1300
commit795fba09a3ca273cd2daeeb7d9fed6bae6fa6a86 (patch)
tree3bc59b3beb7f3bc57f2eb7398c932179619541e1 /altosdroid/AndroidManifest.xml
parentb7dc6045892b33b04ec7c27bdc940b4d3e1b9cbf (diff)
altosdroid: Adjust build system for GMaps & Tabs support
* Use SupportV4 library for Tab support * Use Google Services Lib for Google Maps * revert to a standard Android target, not Google API's * Add permissions required for Google Maps to manifest, and API key Signed-off-by: Mike Beattie <mike@ethernal.org>
Diffstat (limited to 'altosdroid/AndroidManifest.xml')
-rw-r--r--altosdroid/AndroidManifest.xml17
1 files changed, 17 insertions, 0 deletions
diff --git a/altosdroid/AndroidManifest.xml b/altosdroid/AndroidManifest.xml
index adcfe94f..237c6dcf 100644
--- a/altosdroid/AndroidManifest.xml
+++ b/altosdroid/AndroidManifest.xml
@@ -20,9 +20,24 @@
android:versionCode="1"
android:versionName="1.1.9.3">
<uses-sdk android:targetSdkVersion="10" android:minSdkVersion="10"/>
+ <!-- Google Maps -->
+ <uses-feature android:glEsVersion="0x00020000" android:required="true"/>
+
+ <!-- Permissions needed to access bluetooth -->
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />
<uses-permission android:name="android.permission.BLUETOOTH" />
+ <!-- Permissions needed to save Telemetry logs to SD card -->
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
+ <!-- Permissions needed for GoogleMaps -->
+ <uses-permission android:name="android.permission.INTERNET"/>
+ <uses-permission android:name="com.google.android.providers.gsf.permission.READ_GSERVICES"/>
+ <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
+ <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
+
+ <permission android:name="org.altusmetrum.AltosDroid.permission.MAPS_RECEIVE"
+ android:protectionLevel="signature"/>
+ <uses-permission android:name="org.altusmetrum.AltosDroid.permission.MAPS_RECEIVE"/>
+
<application android:label="@string/app_name"
android:icon="@drawable/app_icon"
@@ -42,5 +57,7 @@
<service android:name=".TelemetryService" />
+ <meta-data android:name="com.google.android.maps.v2.API_KEY"
+ android:value="AIzaSyDSr6u4i9TJmVGhgGk4g0wUUhTy9FGyn0s"/>
</application>
</manifest>