Implement Wear OS app with flight tracking and widget functionality77a0349a year ago83 lines · 3.2 KB | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <manifest xmlns:android |
| 3 | |
| 4 | <uses-feature android:name |
| 5 | |
| 6 | <uses-permission android:name |
| 7 | <uses-permission android:name |
| 8 | <uses-permission android:name |
| 9 | |
| 10 | <application |
| 11 | android:allowBackup=" |
| 12 | android:icon=" |
| 13 | android:label=" |
| 14 | android:supportsRtl=" |
| 15 | android:theme=" |
| 16 | <service |
| 17 | android:name=" |
| 18 | android:exported=" |
| 19 | android:label=" |
| 20 | android:permission=" |
| 21 | <intent-filter> |
| 22 | <action android:name |
| 23 | </intent-filter> |
| 24 | |
| 25 | <meta-data |
| 26 | android:name=" |
| 27 | android:value=" |
| 28 | <meta-data |
| 29 | android:name=" |
| 30 | android:value=" |
| 31 | </service> |
| 32 | <service |
| 33 | android:name=" |
| 34 | android:exported=" |
| 35 | android:label=" |
| 36 | android:permission=" |
| 37 | <intent-filter> |
| 38 | <action android:name |
| 39 | </intent-filter> |
| 40 | |
| 41 | <meta-data |
| 42 | android:name=" |
| 43 | android:resource=" |
| 44 | </service> |
| 45 | |
| 46 | <service |
| 47 | android:name=" |
| 48 | android:enabled=" |
| 49 | android:exported=" |
| 50 | <intent-filter> |
| 51 | <action android:name |
| 52 | <data |
| 53 | android:host=" |
| 54 | android:pathPattern= |
| 55 | android:scheme=" |
| 56 | </intent-filter> |
| 57 | </service> |
| 58 | |
| 59 | <uses-library |
| 60 | android:name=" |
| 61 | android:required=" |
| 62 | <!-- |
| 63 | Set to true if your app is Standalone, that is, it does not require the handheld |
| 64 | app to run. |
| 65 | --> |
| 66 | <meta-data |
| 67 | android:name=" |
| 68 | android:value=" |
| 69 | |
| 70 | <activity |
| 71 | android:name=" |
| 72 | android:exported=" |
| 73 | android:taskAffinity="" |
| 74 | android:theme=" |
| 75 | <intent-filter> |
| 76 | <action android:name |
| 77 | |
| 78 | <category android:name |
| 79 | </intent-filter> |
| 80 | </activity> |
| 81 | </application> |
| 82 | |
| 83 | </manifest> |
=
"
http://schemas.android.com/apk/res/android
"
>
=
"
android.hardware.type.watch
"
/>
=
"
android.permission.WAKE_LOCK
"
/>
=
"
com.google.android.wearable.permission.BIND_WEARABLE_LISTENER
"
/>
=
"
android.permission.INTERNET
"
/>
true
"
@mipmap/ic_launcher
"
@string/app_name
"
true
"
@android:style/Theme.DeviceDefault
"
>
.complication.MainComplicationService
"
true
"
@string/complication_label
"
com.google.android.wearable.permission.BIND_COMPLICATION_PROVIDER
"
>
=
"
android.support.wearable.complications.ACTION_COMPLICATION_UPDATE_REQUEST
"
/>
android.support.wearable.complications.SUPPORTED_TYPES
"
SHORT_TEXT
"
/>
android.support.wearable.complications.UPDATE_PERIOD_SECONDS
"
0
"
/>
.tile.MainTileService
"
true
"
@string/tile_label
"
com.google.android.wearable.permission.BIND_TILE_PROVIDER
"
>
=
"
androidx.wear.tiles.action.BIND_TILE_PROVIDER
"
/>
androidx.wear.tiles.PREVIEW
"
@drawable/tile_preview
"
/>
.services.MessageListenerService
"
true
"
true
"
>
=
"
com.google.android.gms.wearable.MESSAGE_RECEIVED
"
/>
*
"
"
.*
"
wear
"
/>
com.google.android.wearable
"
true
"
/>
com.google.android.wearable.standalone
"
true
"
/>
.presentation.MainActivity
"
true
"
@style/MainActivityTheme.Starting
"
>
=
"
android.intent.action.MAIN
"
/>
=
"
android.intent.category.LAUNCHER
"
/>