AndroidAPS/wear/src/main/AndroidManifest.xml

520 lines
23 KiB
XML
Raw Normal View History

2016-11-17 15:17:02 +01:00
<?xml version="1.0" encoding="utf-8"?>
2017-02-09 04:50:36 +01:00
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="info.nightscout.androidaps">
2016-11-17 15:17:02 +01:00
<uses-feature android:name="android.hardware.type.watch" />
2017-02-09 04:50:36 +01:00
2016-11-17 15:17:02 +01:00
<uses-permission android:name="com.google.android.permission.PROVIDE_BACKGROUND" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="android.permission.VIBRATE" />
2018-06-27 19:03:29 +02:00
2016-11-17 15:17:02 +01:00
<application
android:name=".aaps"
2016-11-17 15:17:02 +01:00
android:allowBackup="true"
android:icon="@drawable/ic_icon"
android:label="@string/app_name"
2017-02-09 04:50:36 +01:00
android:theme="@android:style/Theme.DeviceDefault">
2016-11-17 15:17:02 +01:00
<meta-data
2017-02-09 04:50:36 +01:00
android:name="com.google.android.gms.version"
android:value="@integer/google_play_services_version" />
2016-11-20 03:26:01 +01:00
2016-11-17 15:17:02 +01:00
<service
2017-02-09 20:54:41 +01:00
android:name=".watchfaces.BIGChart"
2016-11-17 15:17:02 +01:00
android:allowEmbedded="true"
2016-11-20 03:26:01 +01:00
android:label="@string/label_xdrip_big_chart"
2016-11-17 15:17:02 +01:00
android:permission="android.permission.BIND_WALLPAPER">
2017-02-09 04:50:36 +01:00
<meta-data
android:name="android.service.wallpaper"
android:resource="@xml/watch_face" />
<meta-data
android:name="com.google.android.wearable.watchface.preview"
android:resource="@drawable/watchface_bigchart" />
2016-11-17 15:17:02 +01:00
<intent-filter>
<action android:name="android.service.wallpaper.WallpaperService" />
<category android:name="com.google.android.wearable.watchface.category.WATCH_FACE" />
2017-06-30 01:48:12 +02:00
</intent-filter>
</service>
2017-06-30 01:48:12 +02:00
<service
android:name=".watchfaces.NOChart"
android:allowEmbedded="true"
android:label="@string/label_xdrip_no_chart"
android:permission="android.permission.BIND_WALLPAPER">
<meta-data
android:name="android.service.wallpaper"
android:resource="@xml/watch_face" />
<meta-data
android:name="com.google.android.wearable.watchface.preview"
android:resource="@drawable/watchface_nochart" />
<intent-filter>
<action android:name="android.service.wallpaper.WallpaperService" />
<category android:name="com.google.android.wearable.watchface.category.WATCH_FACE" />
2016-11-17 15:17:02 +01:00
</intent-filter>
</service>
2016-11-17 15:17:02 +01:00
<service
2017-02-09 20:54:41 +01:00
android:name=".watchfaces.Home"
2016-11-17 15:17:02 +01:00
android:allowEmbedded="true"
2016-11-20 03:26:01 +01:00
android:label="@string/label_xdrip"
2016-11-17 15:17:02 +01:00
android:permission="android.permission.BIND_WALLPAPER">
2017-02-09 04:50:36 +01:00
<meta-data
android:name="android.service.wallpaper"
android:resource="@xml/watch_face" />
<meta-data
android:name="com.google.android.wearable.watchface.preview"
android:resource="@drawable/watchface_graph" />
2016-11-17 15:17:02 +01:00
<intent-filter>
<action android:name="android.service.wallpaper.WallpaperService" />
<category android:name="com.google.android.wearable.watchface.category.WATCH_FACE" />
</intent-filter>
</service>
<service
android:name=".watchfaces.Home2"
android:allowEmbedded="true"
android:label="AAPSv2"
android:permission="android.permission.BIND_WALLPAPER">
<meta-data
android:name="android.service.wallpaper"
android:resource="@xml/watch_face" />
<meta-data
android:name="com.google.android.wearable.watchface.preview"
android:resource="@drawable/watchface_graph_2" />
<intent-filter>
<action android:name="android.service.wallpaper.WallpaperService" />
<category android:name="com.google.android.wearable.watchface.category.WATCH_FACE" />
</intent-filter>
</service>
<service
android:name=".watchfaces.Cockpit"
android:allowEmbedded="true"
android:label="AAPS(Cockpit)"
android:permission="android.permission.BIND_WALLPAPER">
<meta-data
android:name="android.service.wallpaper"
android:resource="@xml/watch_face" />
<meta-data
android:name="com.google.android.wearable.watchface.preview"
android:resource="@drawable/watchface_cockpit" />
<intent-filter>
<action android:name="android.service.wallpaper.WallpaperService" />
<category android:name="com.google.android.wearable.watchface.category.WATCH_FACE" />
</intent-filter>
</service>
<service
android:name=".watchfaces.Steampunk"
android:allowEmbedded="true"
android:label="AAPS(Steampunk)"
android:permission="android.permission.BIND_WALLPAPER">
<meta-data
android:name="android.service.wallpaper"
android:resource="@xml/watch_face" />
<meta-data
android:name="com.google.android.wearable.watchface.preview"
android:resource="@drawable/watchface_steampunk" />
<intent-filter>
<action android:name="android.service.wallpaper.WallpaperService" />
<category android:name="com.google.android.wearable.watchface.category.WATCH_FACE" />
</intent-filter>
</service>
2016-11-17 15:17:02 +01:00
<service
2017-02-09 20:54:41 +01:00
android:name=".watchfaces.LargeHome"
2016-11-17 15:17:02 +01:00
android:allowEmbedded="true"
2016-11-20 03:26:01 +01:00
android:label="@string/label_xdrip_large"
2016-11-17 15:17:02 +01:00
android:permission="android.permission.BIND_WALLPAPER">
2017-02-09 04:50:36 +01:00
<meta-data
android:name="android.service.wallpaper"
android:resource="@xml/watch_face" />
<meta-data
android:name="com.google.android.wearable.watchface.preview"
android:resource="@drawable/watchface_dark" />
2016-11-17 15:17:02 +01:00
<intent-filter>
<action android:name="android.service.wallpaper.WallpaperService" />
<category android:name="com.google.android.wearable.watchface.category.WATCH_FACE" />
</intent-filter>
</service>
<service
2017-02-09 20:54:41 +01:00
android:name=".watchfaces.CircleWatchface"
2016-11-17 15:17:02 +01:00
android:allowEmbedded="true"
android:label="@string/label_xdrip_circle"
android:permission="android.permission.BIND_WALLPAPER">
2017-02-09 04:50:36 +01:00
<meta-data
android:name="android.service.wallpaper"
android:resource="@xml/watch_face" />
<meta-data
android:name="com.google.android.wearable.watchface.preview"
android:resource="@drawable/watchface_circle" />
2016-11-17 15:17:02 +01:00
<intent-filter>
<action android:name="android.service.wallpaper.WallpaperService" />
<category android:name="com.google.android.wearable.watchface.category.WATCH_FACE" />
</intent-filter>
</service>
2017-02-09 04:50:36 +01:00
<service
android:name=".watchfaces.DigitalStyle01"
android:allowEmbedded="true"
android:label="AAPS (DigitalStyle01)"
android:permission="android.permission.BIND_WALLPAPER">
<meta-data
android:name="android.service.wallpaper"
android:resource="@xml/watch_face" />
<meta-data
android:name="com.google.android.wearable.watchface.preview"
android:resource="@drawable/watchface_digitalstyle01" />
<meta-data
android:name="com.google.android.wearable.watchface.wearableConfigurationAction"
android:value="info.nightscout.androidaps.interaction.configurationActivities.DigitalStyle01ConfigAct" />
<intent-filter>
<action android:name="android.service.wallpaper.WallpaperService" />
2016-11-17 15:17:02 +01:00
<category android:name="com.google.android.wearable.watchface.category.WATCH_FACE" />
</intent-filter>
</service>
2017-02-09 20:54:41 +01:00
<service android:name=".data.ListenerService">
2016-11-17 15:17:02 +01:00
<intent-filter>
<!-- <action android:name="com.google.android.gms.wearable.BIND_LISTENER" /> -->
<!-- listeners receive events that match the action and data filters -->
<action android:name="com.google.android.gms.wearable.CAPABILITY_CHANGED" />
<action android:name="com.google.android.gms.wearable.DATA_CHANGED" />
<data
android:host="*"
android:pathPrefix="/nightscout_watch_data"
android:scheme="wear" />
<data
android:host="*"
android:pathPrefix="/nightscout_watch_data_resend"
android:scheme="wear" />
<data
android:host="*"
android:pathPrefix="/nightscout_watch_cancel_bolus"
android:scheme="wear" />
<data
android:host="*"
android:pathPrefix="/nightscout_watch_confirmactionstring"
android:scheme="wear" />
<data
android:host="*"
android:pathPrefix="/nightscout_watch_initiateactionstring"
android:scheme="wear" />
<data
android:host="*"
android:pathPrefix="/openwearsettings"
android:scheme="wear" />
<data
android:host="*"
android:pathPrefix="/sendstatustowear"
android:scheme="wear" />
<data
android:host="*"
android:pathPrefix="/sendpreferencestowear"
android:scheme="wear" />
<data
android:host="*"
android:pathPrefix="/nightscout_watch_basal"
android:scheme="wear" />
<data
android:host="*"
android:pathPrefix="/nightscout_watch_bolusprogress"
android:scheme="wear" />
<data
android:host="*"
android:pathPrefix="/nightscout_watch_actionconfirmationrequest"
android:scheme="wear" />
<data
android:host="*"
android:pathPrefix="/nightscout_watch_changeconfirmationrequest"
android:scheme="wear" />
<data
android:host="*"
android:pathPrefix="/nightscout_watch_cancelnotificationrequest"
android:scheme="wear" />
2016-11-17 15:17:02 +01:00
</intent-filter>
</service>
2017-02-09 04:50:36 +01:00
<service
android:name=".complications.LongStatusComplication"
android:icon="@drawable/ic_aaps_full"
android:label="Full Status"
android:permission="com.google.android.wearable.permission.BIND_COMPLICATION_PROVIDER">
<intent-filter>
<action android:name="android.support.wearable.complications.ACTION_COMPLICATION_UPDATE_REQUEST" />
</intent-filter>
<meta-data
android:name="android.support.wearable.complications.SUPPORTED_TYPES"
android:value="LONG_TEXT" />
<meta-data
android:name="android.support.wearable.complications.UPDATE_PERIOD_SECONDS"
android:value="300" />
</service>
<service
android:name=".complications.LongStatusFlippedComplication"
android:icon="@drawable/ic_aaps_full"
android:label="Full Status (flipped)"
android:permission="com.google.android.wearable.permission.BIND_COMPLICATION_PROVIDER">
<intent-filter>
<action android:name="android.support.wearable.complications.ACTION_COMPLICATION_UPDATE_REQUEST" />
</intent-filter>
<meta-data
android:name="android.support.wearable.complications.SUPPORTED_TYPES"
android:value="LONG_TEXT" />
<meta-data
android:name="android.support.wearable.complications.UPDATE_PERIOD_SECONDS"
android:value="300" />
</service>
<service
android:name=".complications.SgvComplication"
android:icon="@drawable/ic_sgv"
android:label="Blood Glucose"
android:permission="com.google.android.wearable.permission.BIND_COMPLICATION_PROVIDER">
<intent-filter>
<action android:name="android.support.wearable.complications.ACTION_COMPLICATION_UPDATE_REQUEST" />
</intent-filter>
<meta-data
android:name="android.support.wearable.complications.SUPPORTED_TYPES"
android:value="SHORT_TEXT" />
<meta-data
android:name="android.support.wearable.complications.UPDATE_PERIOD_SECONDS"
android:value="300" />
</service>
<service
android:name=".complications.BrCobIobComplication"
android:icon="@drawable/ic_br_cob_iob"
android:label="BR, CoB &amp; IoB"
android:permission="com.google.android.wearable.permission.BIND_COMPLICATION_PROVIDER">
<intent-filter>
<action android:name="android.support.wearable.complications.ACTION_COMPLICATION_UPDATE_REQUEST" />
</intent-filter>
<meta-data
android:name="android.support.wearable.complications.SUPPORTED_TYPES"
android:value="SHORT_TEXT" />
<meta-data
android:name="android.support.wearable.complications.UPDATE_PERIOD_SECONDS"
android:value="300" />
</service>
<service
android:name=".complications.CobIobComplication"
android:icon="@drawable/ic_cob_iob"
android:label="CoB &amp; IoB"
android:permission="com.google.android.wearable.permission.BIND_COMPLICATION_PROVIDER">
<intent-filter>
<action android:name="android.support.wearable.complications.ACTION_COMPLICATION_UPDATE_REQUEST" />
</intent-filter>
<meta-data
android:name="android.support.wearable.complications.SUPPORTED_TYPES"
android:value="SHORT_TEXT" />
<meta-data
android:name="android.support.wearable.complications.UPDATE_PERIOD_SECONDS"
android:value="300" />
</service>
<service
android:name=".complications.CobIconComplication"
android:icon="@drawable/ic_carbs"
android:label="CoB Icon"
android:permission="com.google.android.wearable.permission.BIND_COMPLICATION_PROVIDER">
<intent-filter>
<action android:name="android.support.wearable.complications.ACTION_COMPLICATION_UPDATE_REQUEST" />
</intent-filter>
<meta-data
android:name="android.support.wearable.complications.SUPPORTED_TYPES"
android:value="SHORT_TEXT" />
<meta-data
android:name="android.support.wearable.complications.UPDATE_PERIOD_SECONDS"
android:value="300" />
</service>
<service
android:name=".complications.CobDetailedComplication"
android:icon="@drawable/ic_cob_detailed"
android:label="CoB Detailed"
android:permission="com.google.android.wearable.permission.BIND_COMPLICATION_PROVIDER">
<intent-filter>
<action android:name="android.support.wearable.complications.ACTION_COMPLICATION_UPDATE_REQUEST" />
</intent-filter>
<meta-data
android:name="android.support.wearable.complications.SUPPORTED_TYPES"
android:value="SHORT_TEXT" />
<meta-data
android:name="android.support.wearable.complications.UPDATE_PERIOD_SECONDS"
android:value="300" />
</service>
<service
android:name=".complications.IobIconComplication"
android:icon="@drawable/ic_ins"
android:label="IoB Icon"
android:permission="com.google.android.wearable.permission.BIND_COMPLICATION_PROVIDER">
<intent-filter>
<action android:name="android.support.wearable.complications.ACTION_COMPLICATION_UPDATE_REQUEST" />
</intent-filter>
<meta-data
android:name="android.support.wearable.complications.SUPPORTED_TYPES"
android:value="SHORT_TEXT" />
<meta-data
android:name="android.support.wearable.complications.UPDATE_PERIOD_SECONDS"
android:value="300" />
</service>
<service
android:name=".complications.IobDetailedComplication"
android:icon="@drawable/ic_iob_detailed"
android:label="IoB Detailed"
android:permission="com.google.android.wearable.permission.BIND_COMPLICATION_PROVIDER">
<intent-filter>
<action android:name="android.support.wearable.complications.ACTION_COMPLICATION_UPDATE_REQUEST" />
</intent-filter>
<meta-data
android:name="android.support.wearable.complications.SUPPORTED_TYPES"
android:value="SHORT_TEXT" />
<meta-data
android:name="android.support.wearable.complications.UPDATE_PERIOD_SECONDS"
android:value="300" />
</service>
<service
android:name=".complications.UploaderBattery"
android:icon="@drawable/ic_battery_charging_wireless_50"
android:label="Uploader/Phone Battery"
android:permission="com.google.android.wearable.permission.BIND_COMPLICATION_PROVIDER">
<intent-filter>
<action android:name="android.support.wearable.complications.ACTION_COMPLICATION_UPDATE_REQUEST" />
</intent-filter>
<meta-data
android:name="android.support.wearable.complications.SUPPORTED_TYPES"
android:value="RANGED_VALUE,SHORT_TEXT,ICON" />
<meta-data
android:name="android.support.wearable.complications.UPDATE_PERIOD_SECONDS"
android:value="300" />
</service>
<service
android:name=".complications.WallpaperLightComplication"
android:icon="@drawable/ic_aaps_light"
android:label="Light Walpaper"
android:permission="com.google.android.wearable.permission.BIND_COMPLICATION_PROVIDER">
<intent-filter>
<action android:name="android.support.wearable.complications.ACTION_COMPLICATION_UPDATE_REQUEST" />
</intent-filter>
<meta-data
android:name="android.support.wearable.complications.SUPPORTED_TYPES"
android:value="LARGE_IMAGE" />
<meta-data
android:name="android.support.wearable.complications.UPDATE_PERIOD_SECONDS"
android:value="0" />
</service>
<service
android:name=".complications.WallpaperDarkComplication"
android:icon="@drawable/ic_aaps_dark"
android:label="Dark Walpaper"
android:permission="com.google.android.wearable.permission.BIND_COMPLICATION_PROVIDER">
<intent-filter>
<action android:name="android.support.wearable.complications.ACTION_COMPLICATION_UPDATE_REQUEST" />
</intent-filter>
<meta-data
android:name="android.support.wearable.complications.SUPPORTED_TYPES"
android:value="LARGE_IMAGE" />
<meta-data
android:name="android.support.wearable.complications.UPDATE_PERIOD_SECONDS"
android:value="0" />
</service>
<service
android:name=".complications.WallpaperGrayComplication"
android:icon="@drawable/ic_aaps_gray"
android:label="Gray Walpaper"
android:permission="com.google.android.wearable.permission.BIND_COMPLICATION_PROVIDER">
<intent-filter>
<action android:name="android.support.wearable.complications.ACTION_COMPLICATION_UPDATE_REQUEST" />
</intent-filter>
<meta-data
android:name="android.support.wearable.complications.SUPPORTED_TYPES"
android:value="LARGE_IMAGE" />
<meta-data
android:name="android.support.wearable.complications.UPDATE_PERIOD_SECONDS"
android:value="0" />
</service>
<receiver android:name=".complications.ComplicationTapBroadcastReceiver" />
2016-11-17 15:17:02 +01:00
<activity
2017-02-09 20:54:41 +01:00
android:name=".interaction.menus.MainMenuActivity"
android:label="@string/label_actions_activity">
2016-11-17 15:17:02 +01:00
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
2017-02-08 17:06:07 +01:00
<activity
2017-02-09 21:40:00 +01:00
android:name=".interaction.AAPSPreferences"
android:label="@string/menu_settings" />
<activity
2017-02-09 20:54:41 +01:00
android:name=".interaction.actions.WizardActivity"
android:label="@string/menu_wizard" />
2017-02-09 17:40:26 +01:00
<activity
2017-02-09 20:54:41 +01:00
android:name=".interaction.menus.FillMenuActivity"
android:label="@string/menu_prime_fill" />
2017-02-09 17:40:26 +01:00
<activity
2017-02-09 20:54:41 +01:00
android:name=".interaction.menus.StatusMenuActivity"
android:label="@string/menu_status" />
2017-02-09 20:54:41 +01:00
<activity
android:name=".interaction.actions.BolusActivity"
android:label="@string/action_bolus" />
2017-07-09 18:35:20 +02:00
<activity
android:name=".interaction.actions.CPPActivity"
android:label="@string/status_cpp" />
2018-06-27 08:04:57 +02:00
<activity
android:name=".interaction.actions.AcceptActivity"
android:label="@string/action_confirm"
android:launchMode="singleInstance" />
2017-02-09 21:40:00 +01:00
<activity
android:name=".interaction.actions.FillActivity"
android:label="@string/menu_prime_fill" />
2018-05-03 20:50:35 +02:00
<activity
android:name=".interaction.actions.ECarbActivity"
android:label="@string/action_carbs" />
2017-02-09 21:40:00 +01:00
<activity
android:name=".interaction.actions.TempTargetActivity"
android:label="@string/menu_tempt" />
<activity android:name=".interaction.configurationActivities.DigitalStyle01ConfigAct">
<intent-filter>
<action android:name="info.nightscout.androidaps.interaction.configurationActivities.DigitalStyle01ConfigAct" />
<category android:name="com.google.android.wearable.watchface.category.WEARABLE_CONFIGURATION" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
2017-02-09 21:40:00 +01:00
</activity>
</application>
</manifest>