create changelog entry
[debian/openrocket] / android / AndroidManifest.xml
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
6 \r
7     <uses-sdk\r
8         android:minSdkVersion="8"\r
9         android:targetSdkVersion="15" />\r
10 \r
11     <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />\r
12     <uses-permission android:name="android.permission.INTERNET" />\r
13 \r
14     <application\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
20         <activity\r
21             android:name=".android.Main"\r
22             android:theme="@style/AppTheme.NoActionBar" >\r
23             <intent-filter>\r
24                 <action android:name="android.intent.action.MAIN" />\r
25 \r
26                 <category android:name="android.intent.category.LAUNCHER" />\r
27             </intent-filter>\r
28             <!--\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\r
34             -->\r
35             <!-- this intent filter convinces the file browser to display icons -->\r
36             <intent-filter>\r
37                 <action android:name="android.intent.action.VIEW" />\r
38 \r
39                 <category android:name="android.intent.category.DEFAULT" />\r
40 \r
41                 <data\r
42                     android:host="*"\r
43                     android:mimeType="*/*"\r
44                     android:pathPattern=".*\\.ork"\r
45                     android:scheme="file" />\r
46             </intent-filter>\r
47             <!-- this intent is sent when a file is selected in file browser -->\r
48             <intent-filter>\r
49                 <action android:name="android.intent.action.VIEW" />\r
50 \r
51                 <category android:name="android.intent.category.DEFAULT" />\r
52 \r
53                 <data\r
54                     android:host="*"\r
55                     android:pathPattern=".*\\.ork"\r
56                     android:scheme="file" />\r
57             </intent-filter>\r
58         </activity>\r
59         <activity\r
60             android:name=".android.rocket.OpenRocketViewer"\r
61             android:windowSoftInputMode="adjustPan" />\r
62         <activity android:name=".android.PreferencesActivity" >\r
63             <intent-filter>\r
64                 <action android:name="net.sf.openrocket.android.PreferencesActivity" />\r
65 \r
66                 <category android:name="android.intent.category.PREFERENCE" />\r
67             </intent-filter>\r
68         </activity>\r
69         <activity android:name=".android.motor.MotorBrowserActivity" />\r
70         <activity\r
71             android:name=".android.motor.BurnPlotActivity"\r
72             android:theme="@style/AppTheme.NoActionBar" />\r
73         <activity\r
74             android:name=".android.thrustcurve.TCQueryActivity"\r
75             android:theme="@style/Theme.Sherlock.Dialog" />\r
76         <activity\r
77             android:name=".android.simulation.SimulationViewActivity"\r
78             android:theme="@style/AppTheme.NoActionBar" />\r
79         <activity\r
80             android:name=".android.filebrowser.SimpleFileBrowser"\r
81             android:theme="@style/Theme.Sherlock.Dialog" />\r
82 \r
83         <service android:name=".android.simservice.SimulationService" />\r
84     </application>\r
85 \r
86 </manifest>