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:debuggable="false"
\r
17 android:icon="@drawable/or_launcher"
\r
18 android:killAfterRestore="true"
\r
19 android:label="@string/app_name"
\r
20 android:theme="@style/AppTheme" >
\r
22 android:name=".android.Main"
\r
23 android:theme="@style/AppTheme.Clean" >
\r
25 <action android:name="android.intent.action.MAIN" />
\r
27 <category android:name="android.intent.category.LAUNCHER" />
\r
31 android:name=".android.rocket.OpenRocketLoaderActivity"
\r
32 android:theme="@style/AppTheme.Clean" >
\r
35 I don't understand why I need to have two different intent filters.
\r
36 Combining the <data> elements into a single field did not result in a working
\r
37 application. The first intent-filter (with mimeType wildcard) convinces the
\r
38 file browser to associate the correct launcher icon. the second intent-filter
\r
39 is actually invoked when a file is selected.
\r\r\r
41 <!-- this intent filter convinces the file browser to display icons -->
\r
43 <action android:name="android.intent.action.VIEW" />
\r
45 <category android:name="android.intent.category.DEFAULT" />
\r
49 android:mimeType="*/*"
\r
50 android:pathPattern=".*\\.ork"
\r
51 android:scheme="file" />
\r
53 <!-- this intent is sent when a file is selected in file browser -->
\r
55 <action android:name="android.intent.action.VIEW" />
\r
57 <category android:name="android.intent.category.DEFAULT" />
\r
61 android:pathPattern=".*\\.ork"
\r
62 android:scheme="file" />
\r
65 <activity android:name=".android.rocket.OpenRocketViewer" />
\r
66 <activity android:name=".android.PreferencesActivity" >
\r
68 <action android:name="net.sf.openrocket.android.PreferencesActivity" />
\r
70 <category android:name="android.intent.category.PREFERENCE" />
\r
73 <activity android:name=".android.motor.MotorBrowserActivity" />
\r
75 android:name=".android.motor.BurnPlotActivity"
\r
76 android:theme="@style/AppTheme.NoTitleBar" />
\r
77 <activity android:name=".android.thrustcurve.TCQueryActivity" />
\r
79 android:name=".android.simulation.SimulationViewActivity"
\r
80 android:theme="@style/AppTheme.NoTitleBar" />
\r
81 <activity android:name=".android.filebrowser.SimpleFileBrowser" />
\r