List of usage examples for android.app.admin DevicePolicyManager EXTRA_PROVISIONING_WIFI_PASSWORD
String EXTRA_PROVISIONING_WIFI_PASSWORD
To view the source code for android.app.admin DevicePolicyManager EXTRA_PROVISIONING_WIFI_PASSWORD.
Click Source Link
From source file:com.example.android.nfcprovisioning.NfcProvisioningFragment.java
@Override public void onTextChanged(int id, String s) { if (mProvisioningValues == null) { return;// ww w . j a v a2 s .c om } switch (id) { case R.id.package_name: mProvisioningValues.put(DevicePolicyManager.EXTRA_PROVISIONING_DEVICE_ADMIN_PACKAGE_NAME, s); break; case R.id.locale: mProvisioningValues.put(DevicePolicyManager.EXTRA_PROVISIONING_LOCALE, s); break; case R.id.timezone: mProvisioningValues.put(DevicePolicyManager.EXTRA_PROVISIONING_TIME_ZONE, s); break; case R.id.wifi_ssid: mProvisioningValues.put(DevicePolicyManager.EXTRA_PROVISIONING_WIFI_SSID, s); break; case R.id.wifi_security_type: mProvisioningValues.put(DevicePolicyManager.EXTRA_PROVISIONING_WIFI_SECURITY_TYPE, s); break; case R.id.wifi_password: mProvisioningValues.put(DevicePolicyManager.EXTRA_PROVISIONING_WIFI_PASSWORD, s); break; } }