Currently I am working on a mobile based application using Flex 4 and action script 3. Normally for locking android phones, we need to press the lock button, but I want to lock the android phone by application.
Is there any API available for this? I need to lock the phone by running the application, which is created using Flex 4 and action script 3. Please give me some idea for this..
Using Flex 4 is little difficult. better you can try with native android application. There are some options are available, like
and another way is
android.os.PowerManagerThe detail description about
PowerManageryou can find from here.