AndroidAPS/wear/src/main/AndroidManifest.xml

243 lines
11 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" />
2018-06-27 19:03:29 +02:00
<uses-permission android:name="android.permission.VIBRATE"/>
2016-11-17 15:17:02 +01:00
<application
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" />
2017-02-09 04:50:36 +01:00
2016-11-17 15:17:02 +01:00
<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" />
2017-02-09 04:50:36 +01:00
2016-11-17 15:17:02 +01:00
<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" />
2017-02-09 04:50:36 +01:00
2016-11-17 15:17:02 +01:00
<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" />
2017-02-09 04:50:36 +01:00
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:scheme="wear" android:host="*" android:pathPrefix="/nightscout_watch_data"/>
<data android:scheme="wear" android:host="*" android:pathPrefix="/nightscout_watch_data_resend"/>
<data android:scheme="wear" android:host="*" android:pathPrefix="/nightscout_watch_cancel_bolus"/>
<data android:scheme="wear" android:host="*" android:pathPrefix="/nightscout_watch_confirmactionstring"/>
<data android:scheme="wear" android:host="*" android:pathPrefix="/nightscout_watch_initiateactionstring"/>
<data android:scheme="wear" android:host="*" android:pathPrefix="/openwearsettings"/>
<data android:scheme="wear" android:host="*" android:pathPrefix="/sendstatustowear"/>
<data android:scheme="wear" android:host="*" android:pathPrefix="/sendpreferencestowear"/>
<data android:scheme="wear" android:host="*" android:pathPrefix="/nightscout_watch_basal"/>
<data android:scheme="wear" android:host="*" android:pathPrefix="/nightscout_watch_bolusprogress"/>
<data android:scheme="wear" android:host="*" android:pathPrefix="/nightscout_watch_actionconfirmationrequest"/>
<data android:scheme="wear" android:host="*" android:pathPrefix="/nightscout_watch_changeconfirmationrequest"/>
<data android:scheme="wear" android:host="*" android:pathPrefix="/nightscout_watch_cancelnotificationrequest"/>
2016-11-17 15:17:02 +01:00
</intent-filter>
</service>
<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="SETTINGS">
2017-02-08 17:06:07 +01:00
</activity>
<activity
2017-02-09 20:54:41 +01:00
android:name=".interaction.actions.WizardActivity"
android:label="Wizard">
2017-02-09 17:40:26 +01:00
</activity>
<activity
2017-02-09 20:54:41 +01:00
android:name=".interaction.menus.FillMenuActivity"
2017-02-09 17:40:26 +01:00
android:label="Fillmenu">
</activity>
<activity
2017-02-09 20:54:41 +01:00
android:name=".interaction.menus.StatusMenuActivity"
2017-02-09 17:40:26 +01:00
android:label="Status">
</activity>
2017-02-09 20:54:41 +01:00
<activity
android:name=".interaction.actions.BolusActivity"
android:label="Bolus">
</activity>
2017-07-09 18:35:20 +02:00
<activity
android:name=".interaction.actions.CPPActivity"
android:label="CPP">
</activity>
2018-06-27 08:04:57 +02:00
<activity
android:name=".interaction.actions.AcceptActivity"
2018-06-27 18:48:09 +02:00
android:launchMode="singleInstance"
android:label="ACCEPT">
2018-06-27 08:04:57 +02:00
</activity>
2017-02-09 21:40:00 +01:00
<activity
android:name=".interaction.actions.FillActivity"
android:label="Fill">
</activity>
2018-05-03 20:50:35 +02:00
<activity
android:name=".interaction.actions.ECarbActivity"
android:label="Fill">
</activity>
2017-02-09 21:40:00 +01:00
<activity
android:name=".interaction.actions.TempTargetActivity"
android:label="TempTarget">
</activity>
</application>
2017-02-09 04:50:36 +01:00
</manifest>