summaryrefslogtreecommitdiffstats
path: root/AndroidManifest.xml
blob: 85ac68a9e71cd0170d8bfe7c58064011a4fd13c2 (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
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
      package="net.hoopajoo.android.SoftKeys"
      android:versionCode="14"
      android:versionName="3.00">
        
    <uses-permission android:name="android.permission.GET_TASKS" />
    <uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" />
    
    <application android:icon="@drawable/icon" android:label="@string/app_name" android:name=".Globals">
        <activity android:name=".Keys"
		          android:clearTaskOnLaunch="true"
		       	  android:stateNotNeeded="true"
        		  android:launchMode="singleTask"
        		  android:theme="@style/Floating"
                  android:label="@string/app_name">
                  <!--  android:launchMode="singleInstance" -->
            <intent-filter>
            	<!-- 
                <action android:name="android.intent.action.CAMERA_BUTTON" />
                <action android:name="android.intent.action.CALL_BUTTON" />
                <action android:name="android.intent.action.SEARCH_LONG_PRESS" />
                -->
                <action android:name="android.intent.action.MAIN" />
               
               <!--  launcher icon, keeping it around now in case you accidentally lock
                     yourself out of softkeys by messing with the home key behavior -->
 				<category android:name="android.intent.category.LAUNCHER"/>
                
                <!-- this binds to launcher too --> 
 					<category android:name="android.intent.category.HOME"/>
                   	<category android:name="android.intent.category.DEFAULT" />
                   	<category android:name="android.intent.category.MONKEY" />
            </intent-filter>

            <intent-filter>            
                <action android:name="net.hoopajoo.SoftKeys.KEY_MENU" />
                <action android:name="net.hoopajoo.SoftKeys.KEY_HOME" />
                <action android:name="net.hoopajoo.SoftKeys.KEY_BACK" />
                <action android:name="net.hoopajoo.SoftKeys.KEY_SEARCH" />
            </intent-filter>
                  
        </activity>
        <activity
			android:name=".Prefs"
			android:label="@string/app_name">
		</activity>
		
		<activity android:name=".QuickDoc"
			 android:label="@string/app_name"
			 android:configChanges="orientation|keyboardHidden"
			 android:theme="@android:style/Theme.Dialog">
		</activity>
		
		<service android:name=".SoftKeysService"/>
    </application>
    <uses-sdk android:minSdkVersion="4" />

</manifest>