Permission use:
- Permission android.permission.READ_PHONE_STATE only listen state of phone to make app work properly.
- Permission BIND_DEVICE_ADMIN
Required to use this permission in application to turn off the screen by using the Android Device Administration API. (https://developer.android.com/guide/topics/admin/device-admin.html)
android:permission="android.permission.BIND_DEVICE_ADMIN" (https://developer.android.com/reference/android/Manifest.permission.html#BIND_DEVICE_ADMIN)
The turn off the screen feature in application prompts the user to enable the device admin application, if deactivated. Once users enable the device admin application, Turn off the screen feature can be used to lock the device. If users do not enable the device admin app, it remains on the device, but in an inactive state and turn off the screen feature won't execute any action.
Prompt: To allow the application to turn off the screen please open settings and activate it as device administrator.
Description: Allow the application to turn off the screen.
Device administrator activated state summary: Device administrator activated.
Device administrator activate state message: If activated, the application will be allowed to turn off the screen.
Device administrator deactivated state summary: Device administrator deactivated.
Device administrator deactivate state message: If deactivated, the turn off screen in application won't be allowed to work.
Device Administration on Google Developers web site: https://developer.android.com/guide/topics/admin/device-admin.html
android.permission.BIND_DEVICE_ADMIN on Google Developers web site: https://developer.android.com/reference/android/Manifest.permission.html#BIND_DEVICE_ADMIN
If you have any questions or concerns regarding privacy on our Website, please send us a detailed message at luutinhit.1412@gmail.com We will make every effort to resolve your concerns.
ترمزهنننعلز
Trả lờiXóaعبغعبعهتتهاااهت رد بلغعغ
Emanuel
Trả lờiXóa