-
Notifications
You must be signed in to change notification settings - Fork 5
/
AndroidManifest.xml
108 lines (96 loc) · 5.09 KB
/
AndroidManifest.xml
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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="net.markc.android.smartbandnotifications"
android:installLocation="internalOnly"
android:versionCode="4000"
android:versionName="4.0" >
<uses-sdk
android:minSdkVersion="9"
android:targetSdkVersion="19" />
<!-- This allows the plug-in to appear on non-touchscreen devices like Google TV. Be sure to test that the app works without a touchscreen. -->
<uses-feature
android:name="android.hardware.touchscreen"
android:required="false" />
<!-- Although many of these default to true, some users with modified ROMs have trouble seeing apps unless these attributes are explicitly set. -->
<supports-screens
android:anyDensity="true"
android:largeScreens="true"
android:normalScreens="true"
android:smallScreens="true"
android:xlargeScreens="true" />
<!-- When hardware acceleration is enabled, the RAM memory usage of the app is significantly increased as soon as any UI is displayed. To reduce the memory usage of a plug-in which is primarily a background app, either (1) hardware acceleration should be disabled or (2) the plug-in's BroadcastReceiver (and any applicable Service) should be put into a different process. This example plug-in creates two processes. -->
<application
android:name="net.markc.android.smartbandnotifications.PluginApplication"
android:allowBackup="true"
android:hardwareAccelerated="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/Theme.Locale.Dark"
android:uiOptions="splitActionBarWhenNarrow"
android:debuggable="true" >
<!--
If this plug-in does not stand alone (e.g. it is only a plug-in for Locale and does not have a Launcher Activity), including this in the manifest
will help when users tap the "Open" button in the Google Play store.
-->
<activity
android:name="net.markc.android.smartbandnotifications.ui.InfoActivity"
android:exported="true"
tools:ignore="ExportedActivity" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
<category android:name="android.intent.category.INFO" />
</intent-filter>
</activity>
<!--
<activity
android:name=".ui.SettingsActivity"
android:label="@string/app_name" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
-->
<!--
This is the "edit" Activity. Note that Locale will reject plug-in Activities for the following reasons:
- Missing "android:label=[...]"
- Missing "android:icon=[...]"
- The Activity isn't exported (e.g. android:exported="false")
- The Activity isn't enabled (e.g. android:enabled="false")
- The Activity requires permissions not available to Locale
-->
<activity
android:name="net.markc.android.smartbandnotifications.ui.EditActivity"
android:exported="true"
android:icon="@drawable/ic_locale_plugin"
android:label="@string/plugin_name"
android:theme="@style/Theme.Locale.Dark"
android:uiOptions="splitActionBarWhenNarrow"
android:windowSoftInputMode="adjustResize"
tools:ignore="ExportedActivity" >
<!-- this Intent filter allows the plug-in to be discovered by Locale -->
<intent-filter>
<action android:name="com.twofortyfouram.locale.intent.action.EDIT_SETTING" />
</intent-filter>
</activity>
<!--
This is the "fire" BroadcastReceiver. Note that Locale will reject plug-in BroadcastReceivers for the following reasons:
- The BroadcastReceiver isn't exported (e.g. android:exported="false")
- The BroadcastReceiver isn't enabled (e.g. android:enabled="false")
- The BroadcastReceiver requires permissions not available to Locale
- There are multiple BroadcastReceivers for com.twofortyfouram.locale.intent.action.FIRE_SETTING
-->
<receiver
android:name="net.markc.android.smartbandnotifications.receiver.FireReceiver"
android:exported="true"
android:process=":background"
tools:ignore="ExportedReceiver" >
<!-- this Intent filter allows the plug-in to discovered by Locale -->
<intent-filter>
<action android:name="com.twofortyfouram.locale.intent.action.FIRE_SETTING" />
</intent-filter>
</receiver>
</application>
</manifest>