/
BorisK
/
Map
Обзор
Документация
Войти
/
BorisK
/
Map
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
AndroidWearMap/Wearable/src/main/AndroidManifest.xml
52 строки
2 KB
Jan-Felix Schmakeit
Add Ambient mode support to AndroidWearMap sample.
23 сен 2015, 15:06
23 сен 2015, 15:06
f0ffb21
Код
Авторство
О чём код?
<?xml version="1.0" encoding="utf-8"?> <!-- Copyright (C) 2015 Google Inc. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.example.androidwearmap" > <!-- Mark this app as an Android Wear app. --> <uses-feature android:name="android.hardware.type.watch" /> <!-- Permission required for ambient mode to keep the application running. --> <uses-permission android:name="android.permission.WAKE_LOCK" /> <application android:allowBackup="true" android:icon="@mipmap/ic_launcher" android:label="@string/app_name" android:theme="@android:style/Theme.DeviceDefault" > <!-- API key for the Android Maps API v2. The value is defined as a string resource. --> <meta-data android:name="com.google.android.geo.API_KEY" android:value="@string/google_maps_key"/> <!-- Reference the wearable shared library required to support ambient mode. --> <uses-library android:name="com.google.android.wearable" android:required="false" /> <activity android:name=".MainActivity" android:label="@string/app_name" > <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> </activity> </application> </manifest>