summaryrefslogtreecommitdiffstats
path: root/make/resources/android/AndroidManifest-Launcher.xml
blob: b554267711737c2c6213c7d93e9898e0ff35fc52 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
      sharedUserId="com.jogamp.Community" 
      package="jogamp.android.launcher">

    <uses-feature android:name="android.hardware.touchscreen" android:required="false" />
    <uses-feature android:name="android.hardware.camera" android:required="false" />
    <uses-feature android:name="android.hardware.camera.autofocus" android:required="false" />

    <uses-permission android:name="android.permission.INTERNET" /> <!-- required for NV's PerfHud and I-Net data streaming -->
    <!-- uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" / --> <!-- required for Android-Trace -->
    <uses-permission android:name="android.permission.CAMERA" />

    <uses-sdk android:minSdkVersion="9" android:targetSdkVersion="14"/>

    <application android:icon="@drawable/icon" 
                 android:label="@string/app_launcher_name"
                 android:description="@string/app_launcher_descr"
                 android:persistent="false"
                 >
        <activity android:name="jogamp.android.launcher.LauncherVersionActivity"
                  android:finishOnTaskLaunch="true"
                  android:launchMode="singleTop"
                  android:label="@string/activity_l_name"
                  android:description="@string/activity_l_descr"
                  >
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>

        <activity android:name="jogamp.android.launcher.ActivityLauncher"
                  android:finishOnTaskLaunch="false"
                  android:launchMode="standard"
                  android:configChanges="keyboardHidden|orientation|screenLayout"
                  android:label="@string/activity_l_name"
                  android:description="@string/activity_l_descr"
                  android:exported="true"
                  >
            <intent-filter>
                <action android:name="org.jogamp.launcher.action.LAUNCH_ACTIVITY_NORMAL" />
                <category android:name="android.intent.category.DEFAULT" />
                <data android:scheme="launch" android:host="jogamp.org"/>
            </intent-filter>
        </activity>
        <activity android:name="jogamp.android.launcher.ActivityLauncher"
                  android:finishOnTaskLaunch="false"
                  android:launchMode="standard"
                  android:configChanges="keyboardHidden|orientation|screenLayout"
                  android:label="@string/activity_l_name"
                  android:description="@string/activity_l_descr"
                  android:exported="true"
                  android:theme="@style/Theme.Transparent"
                  >
            <intent-filter>
                <action android:name="org.jogamp.launcher.action.LAUNCH_ACTIVITY_TRANSPARENT" />
                <category android:name="android.intent.category.DEFAULT" />
                <data android:scheme="launch" android:host="jogamp.org"/>
            </intent-filter>
        </activity>
        <activity android:name="jogamp.android.launcher.MainLauncher"
                  android:finishOnTaskLaunch="false"
                  android:launchMode="standard"
                  android:configChanges="keyboardHidden|orientation|screenLayout"
                  android:label="@string/activity_l_name"
                  android:description="@string/activity_l_descr"
                  android:exported="true"
                  >
            <intent-filter>
                <action android:name="org.jogamp.launcher.action.LAUNCH_MAIN" />
                <category android:name="android.intent.category.DEFAULT" />
                <data android:scheme="launch" android:host="jogamp.org"/>
            </intent-filter>
        </activity>
    </application>

</manifest>