<?xml version="1.0" encoding="utf-8"?>\r
<manifest xmlns:android="http://schemas.android.com/apk/res/android"\r
- package="org.openrocket"\r
+ package="net.sf.openrocket"\r
android:versionCode="1"\r
android:versionName="1.0" >\r
\r
- <uses-sdk android:minSdkVersion="8" />\r
+ <uses-sdk\r
+ android:minSdkVersion="8"\r
+ android:targetSdkVersion="15" />\r
+\r
+ <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />\r
+ <uses-permission android:name="android.permission.INTERNET" />\r
\r
<application\r
- android:icon="@drawable/ic_launcher"\r
- android:label="@string/app_name" >\r
+ android:name=".android.Application"\r
+ android:icon="@drawable/or_launcher"\r
+ android:killAfterRestore="true"\r
+ android:label="@string/app_name"\r
+ android:theme="@style/AppTheme" >\r
<activity\r
- android:label="@string/app_name"\r
- android:name=".OpenRocketSimulation" >\r
- <intent-filter >\r
+ android:name=".android.Main"\r
+ android:theme="@style/AppTheme.NoActionBar" >\r
+ <intent-filter>\r
<action android:name="android.intent.action.MAIN" />\r
\r
<category android:name="android.intent.category.LAUNCHER" />\r
</intent-filter>\r
+ <!--\r
+ I don't understand why I need to have two different intent filters. \r
+ Combining the <data> elements into a single field did not result in a working \r
+ application. The first intent-filter (with mimeType wildcard) convinces the \r
+ file browser to associate the correct launcher icon. the second intent-filter \r
+ is actually invoked when a file is selected.\r\r\r\r
+ -->\r
+ <!-- this intent filter convinces the file browser to display icons -->\r
+ <intent-filter>\r
+ <action android:name="android.intent.action.VIEW" />\r
+\r
+ <category android:name="android.intent.category.DEFAULT" />\r
+\r
+ <data\r
+ android:host="*"\r
+ android:mimeType="*/*"\r
+ android:pathPattern=".*\\.ork"\r
+ android:scheme="file" />\r
+ </intent-filter>\r
+ <!-- this intent is sent when a file is selected in file browser -->\r
+ <intent-filter>\r
+ <action android:name="android.intent.action.VIEW" />\r
+\r
+ <category android:name="android.intent.category.DEFAULT" />\r
+\r
+ <data\r
+ android:host="*"\r
+ android:pathPattern=".*\\.ork"\r
+ android:scheme="file" />\r
+ </intent-filter>\r
+ </activity>\r
+ <activity\r
+ android:name=".android.rocket.OpenRocketViewer"\r
+ android:windowSoftInputMode="adjustPan" />\r
+ <activity android:name=".android.PreferencesActivity" >\r
+ <intent-filter>\r
+ <action android:name="net.sf.openrocket.android.PreferencesActivity" />\r
+\r
+ <category android:name="android.intent.category.PREFERENCE" />\r
+ </intent-filter>\r
</activity>\r
+ <activity android:name=".android.motor.MotorBrowserActivity" />\r
+ <activity\r
+ android:name=".android.motor.BurnPlotActivity"\r
+ android:theme="@style/AppTheme.NoActionBar" />\r
+ <activity\r
+ android:name=".android.thrustcurve.TCQueryActivity"\r
+ android:theme="@style/Theme.Sherlock.Dialog" />\r
+ <activity\r
+ android:name=".android.simulation.SimulationViewActivity"\r
+ android:theme="@style/AppTheme.NoActionBar" />\r
+ <activity\r
+ android:name=".android.filebrowser.SimpleFileBrowser"\r
+ android:theme="@style/Theme.Sherlock.Dialog" />\r
+\r
+ <service android:name=".android.simservice.SimulationService" />\r
</application>\r
\r
</manifest>
\ No newline at end of file