android - 设置 android wear watch 设备所有者

标签 android wear-os kiosk-mode device-owner

我们正在为需要 kiosk 模式的 android watch(在我的例子中是 sony 3)创建一个应用程序。

使用

adb shell 
dpm set-device-owner com.example/.MyDeviveAdminReceiver

我明白了

Can't set package com.example as device owner.

使用

db shell pm list features

我明白了

feature:reqGlEsVersion=0x20000
feature:android.hardware.bluetooth
feature:android.hardware.bluetooth_le
feature:android.hardware.faketouch
feature:android.hardware.location
feature:android.hardware.location.gps
feature:android.hardware.microphone
feature:android.hardware.screen.portrait
feature:android.hardware.sensor.accelerometer
feature:android.hardware.sensor.compass
feature:android.hardware.sensor.gyroscope
feature:android.hardware.sensor.light
feature:android.hardware.sensor.stepcounter
feature:android.hardware.sensor.stepdetector
feature:android.hardware.touchscreen
feature:android.hardware.touchscreen.multitouch
feature:android.hardware.type.watch
feature:android.hardware.usb.accessory
feature:android.hardware.wifi
feature:android.software.home_screen
feature:android.software.live_wallpaper
feature:android.software.voice_recognizers
feature:com.sonymobile.watch

有没有人拥有为 Android Wear watch 创 build 备所有者应用程序的经验?

最佳答案

还没有在可穿戴设备上尝试过,但大多数时候我在通过 adb 设置 DeviceOwner 时遇到错误是由于设备上现有的 google 帐户,这意味着它已经配置好了。设备所有者设置要求设备未完全配置。

更多相关信息:How do you un-provision a device in order to set the Device Owner?

关于android - 设置 android wear watch 设备所有者,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34506001/

相关文章:

android - android中的壁纸服务和普通服务

Android Studio 无法更新索引

android - Android 的 Kiosk 模式

android - 无需请求用户操作的 startLockTask()

android - 在android中,静态匿名内部类可以作为可序列化传递吗?

android - Gradle 同步失败 : Could not find com. google.http-client :google-http-client-parent:1. 24.1。在以下位置搜索:

android - 如何通过应用内购买启用 Android Wear 应用?

java - 安卓穿戴: bluetooth vs wifi connection

android - 发布中的多个 APK

Firefox 浏览器禁用安全模式