Stuck on “Connecting to WiFi” screen while provisioning Android Lollipop device

杀马特。学长 韩版系。学妹 提交于 2019-12-04 06:45:42

You need to surround SSID with double quotes : p.setProperty(DevicePolicyManager.EXTRA_PROVISIONING_WIFI_SSID, "\"my SSI\"");

Yes, it's broken in L MR0 (Android 5.0).

However, it's my experience that it has been fixed in L MR1 (Android 5.1).

It works for us now (I work at Sony Mobile).

The fix went into ManagedProvisioning git: https://android.googlesource.com/platform/packages/apps/ManagedProvisioning/

To make it work I had to set the also the flag android.app.extra.PROVISIONING_WIFI_SECURITY_TYPE.

Specify only the two EXTRA for SSID and PASSWORD as stated in the docs isn't enough. Probably the default security type remains NONE.

I've tried several things without success. The feature seems broken.

You should probably enter the WiFi info manually.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!