aboutsummaryrefslogtreecommitdiffstats
path: root/make/resources/android/AndroidManifest-Launcher.xml
blob: 28dc48194e2b888a159f406833c58ce27f452099 (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
79
80
81
<?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-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-sdk android:minSdkVersion="9" />

    <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"
                  >
                  <!-- android:configChanges="keyboardHidden|orientation|screenLayout|screenSize" -->
            <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"
                  >
                  <!--
                  android:configChanges="keyboardHidden|orientation|screenLayout|screenSize" 
                  android:theme="@style/Theme.Transparent"
                  android:theme="@android:style/Theme_NoDisplay"
                  android:theme="@android:style/Theme.Translucent"
                  -->
            <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"
                  >
                  <!-- android:configChanges="keyboardHidden|orientation|screenLayout|screenSize" -->
            <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>