1 <?xml version="1.0" encoding="utf-8"?>
\r
2 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
\r
3 package="net.sf.openrocket"
\r
4 android:versionCode="1"
\r
5 android:versionName="1.0" >
\r
8 android:minSdkVersion="9"
\r
9 android:targetSdkVersion="15" />
\r
11 <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
\r
12 <uses-permission android:name="android.permission.INTERNET" />
\r
15 android:name=".android.Application"
\r
16 android:icon="@drawable/or_launcher"
\r
17 android:killAfterRestore="true"
\r
18 android:label="@string/app_name"
\r
19 android:theme="@style/AppTheme" >
\r
21 android:name=".android.Main"
\r
22 android:theme="@style/AppTheme.NoActionBar" >
\r
24 <action android:name="android.intent.action.MAIN" />
\r
26 <category android:name="android.intent.category.LAUNCHER" />
\r
29 I don't understand why I need to have two different intent filters.
\r
30 Combining the <data> elements into a single field did not result in a working
\r
31 application. The first intent-filter (with mimeType wildcard) convinces the
\r
32 file browser to associate the correct launcher icon. the second intent-filter
\r
33 is actually invoked when a file is selected.
\r\r\r
35 <!-- this intent filter convinces the file browser to display icons -->
\r
37 <action android:name="android.intent.action.VIEW" />
\r
39 <category android:name="android.intent.category.DEFAULT" />
\r
43 android:mimeType="*/*"
\r
44 android:pathPattern=".*\\.ork"
\r
45 android:scheme="file" />
\r
47 <!-- this intent is sent when a file is selected in file browser -->
\r
49 <action android:name="android.intent.action.VIEW" />
\r
51 <category android:name="android.intent.category.DEFAULT" />
\r
55 android:pathPattern=".*\\.ork"
\r
56 android:scheme="file" />
\r
59 <activity android:name=".android.rocket.OpenRocketViewer" />
\r
60 <activity android:name=".android.PreferencesActivity" >
\r
62 <action android:name="net.sf.openrocket.android.PreferencesActivity" />
\r
64 <category android:name="android.intent.category.PREFERENCE" />
\r
67 <activity android:name=".android.motor.MotorBrowserActivity" />
\r
69 android:name=".android.motor.BurnPlotActivity"
\r
70 android:theme="@style/AppTheme.NoActionBar" />
\r
71 <activity android:name=".android.thrustcurve.TCQueryActivity" />
\r
73 android:name=".android.simulation.SimulationViewActivity"
\r
74 android:theme="@style/AppTheme.NoActionBar" />
\r
76 android:name=".android.filebrowser.SimpleFileBrowser"
\r
77 android:theme="@style/Theme.Sherlock.Dialog" />
\r
79 <service android:name=".android.simservice.SimulationService" />
\r