added Android project files
[rocksndiamonds.git] / build-projects / android / AndroidManifest.xml.tmpl
diff --git a/build-projects/android/AndroidManifest.xml.tmpl b/build-projects/android/AndroidManifest.xml.tmpl
new file mode 100644 (file)
index 0000000..2df66ff
--- /dev/null
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="utf-8"?>
+
+<manifest xmlns:android="http://schemas.android.com/apk/res/android"
+      package="org.artsoft.rocksndiamonds"
+      android:versionCode="__VERSION_CODE__"
+      android:versionName="__VERSION_NAME__"
+      android:installLocation="auto">
+
+    <application android:label="@string/app_name"
+                 android:icon="@drawable/ic_launcher"
+                 android:allowBackup="true"
+                android:debuggable="true"
+                 android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
+                 android:hardwareAccelerated="true">
+        <activity android:name="RocksNDiamonds"
+                 android:configChanges="keyboardHidden|orientation"
+                  android:label="@string/app_name">
+            <intent-filter>
+                <action android:name="android.intent.action.MAIN" />
+                <category android:name="android.intent.category.LAUNCHER" />
+            </intent-filter>
+        </activity>
+    </application>
+
+    <!-- Android 2.3.3 (min) / Android 3.1 (target) -->
+    <uses-sdk android:minSdkVersion="10" android:targetSdkVersion="12" />
+
+    <!-- OpenGL ES 2.0 -->
+    <uses-feature android:glEsVersion="0x00020000" />
+
+    <!-- Allow writing to external storage -->
+    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
+
+    <!-- Allow doing network operations -->
+    <uses-permission android:name="android.permission.INTERNET" />
+</manifest>