What features should we add to Corona?

Support for Android 5+ startLockTask() / stopLockTask()

Since Android 5.0, a basic kiosk mode is supported by Android, called "Screen Pinning". This can be done by an Activity to call startLockTask() which will prevent of Home/Task-Switcher keys, until the activity calls stopLockTask() or the user exits via special key-combination and PIN code.

For simple kiosk-mode applications it would be very helpful if Corona SDK could support the appropriate calls on Android.

Further references:
http://developer.android.com/about/versions/android-5.0.html (Screen Pinning)
http://developer.android.com/reference/android/app/admin/DevicePolicyManager.html#isLockTaskPermitted%28java.lang.String%29
http://developer.android.com/reference/android/app/Activity.html#startLockTask%28%29
http://developer.android.com/reference/android/app/Activity.html#stopLockTask%28%29

24 votes
Vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    I agree to the terms of service
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    marcar shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

    1 comment

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service
      Signed in as (Sign out)
      Submitting...

      Feedback and Knowledge Base