--- a/project_files/Android-build/SDL-android-project/AndroidManifest.xml Tue Jul 05 18:23:54 2011 +0200
+++ b/project_files/Android-build/SDL-android-project/AndroidManifest.xml Tue Jul 05 18:27:18 2011 +0200
@@ -1,17 +1,33 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
- package="org.hedgewars"
+ package="org.hedgewars.mobile"
android:versionCode="1"
android:versionName="1.0">
+ <uses-sdk android:targetSdkVersion="8" android:minSdkVersion="5"></uses-sdk>
+ <uses-permission android:name="android.permission.INTERNET"></uses-permission>
+ <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"></uses-permission>
<application android:label="@string/app_name" android:icon="@drawable/icon">
- <activity android:name="SDLActivity"
+ <activity android:name=".MainActivity"
android:label="@string/app_name"
- android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
- android:screenOrientation='landscape'>
+ android:theme="@android:style/Theme"
+ android:launchMode="singleTask">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
+ <activity android:name=".SDLActivity"
+ android:label="@string/app_name"
+ android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
+ android:screenOrientation='landscape'>
+ </activity>
+
+ <activity android:name=".DownloadActivity"
+ android:label="@string/app_name"
+ android:theme="@android:style/Theme.Dialog"
+ android:launchMode="singleTask">
+ </activity>
+
+ <service android:name=".DownloadService"/>
</application>
</manifest>