79 lines
3.1 KiB
XML
79 lines
3.1 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
package="net.sf.openrocket"
|
|
android:versionCode="1"
|
|
android:versionName="1.0" >
|
|
|
|
<uses-sdk
|
|
android:minSdkVersion="8"
|
|
android:targetSdkVersion="8" />
|
|
|
|
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
|
|
<uses-permission android:name="android.permission.INTERNET" />
|
|
|
|
<application
|
|
android:debuggable="true"
|
|
android:icon="@drawable/or_launcher"
|
|
android:killAfterRestore="true"
|
|
android:label="@string/app_name"
|
|
android:name=".android.Application" >
|
|
<activity android:name=".android.Main" >
|
|
<intent-filter >
|
|
<action android:name="android.intent.action.MAIN" />
|
|
|
|
<category android:name="android.intent.category.LAUNCHER" />
|
|
</intent-filter>
|
|
</activity>
|
|
<activity
|
|
android:label="@string/app_name"
|
|
android:name=".android.rocket.OpenRocketViewer" >
|
|
|
|
<!--
|
|
I don't understand why I need to have two different intent filters. Combining the <data> elements
|
|
into a single field did not result in a working application.
|
|
The first intent-filter (with mimeType wildcard) convinces the file browser to associate the correct launcher
|
|
icon.
|
|
the second intent-filter is actually invoked when a file is selected.
|
|
|
|
-->
|
|
<intent-filter >
|
|
<action android:name="android.intent.action.VIEW" />
|
|
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
|
|
<data
|
|
android:host="*"
|
|
android:mimeType="*/*"
|
|
android:pathPattern=".*\\.ork"
|
|
android:scheme="file" />
|
|
</intent-filter>
|
|
<intent-filter >
|
|
<action android:name="android.intent.action.VIEW" />
|
|
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
|
|
<data
|
|
android:host="*"
|
|
android:pathPattern=".*\\.ork"
|
|
android:scheme="file" />
|
|
</intent-filter>
|
|
</activity>
|
|
<activity android:name=".android.PreferencesActivity" >
|
|
<intent-filter >
|
|
<action android:name="net.sf.openrocket.android.PreferencesActivity" />
|
|
|
|
<category android:name="android.intent.category.PREFERENCE" />
|
|
</intent-filter>
|
|
</activity>
|
|
<activity
|
|
android:label="@string/MotorListTitle"
|
|
android:name=".android.motor.MotorHierarchicalBrowser" >
|
|
</activity>
|
|
<activity android:name=".android.motor.MotorDetails" />
|
|
<activity
|
|
android:label="@string/MotorListTitle"
|
|
android:name=".android.thrustcurve.TCQueryActivity" >
|
|
</activity>
|
|
<activity android:name=".android.simulation.SimulationViewer" />
|
|
</application>
|
|
|
|
</manifest> |