我们正在为需要 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/