1

Ok, basically, what I want, is to provide Android phone to child, locked by passcode (or gesture), and allow the child to call parents (two numbers) from locked device.

My current available target device is SDK 22, Android 5.1, but I will not limit the answers to this target.

What is not correct answer:

  • something along the lines of setting ICE info, this won't allow to call, just to display ICE phone numbers
  • modifying the SIM card data, as this is not possible generally and not available in my case
  • solutions requiring ROOTing the device, as this is not possible in my case
  • solutions using CALL_PRIVILEGED, as this permission is protected and not achievable without ROOTing the device or having custom ROM
  • Solutions using Samsung or other proprietary emergency dialers, as the devices I target, do not use any such measure, and look like this

What I've tried to do is

  • Creating custom notification intent on the lockscreen, which would use ACTION_CALL intent and android.permission.CALL_PHONE permission
    • this is not working solution, as CALL_PHONE requires unlocking the device
  • Creating custom notification intent on the lockscreen, which would send out SMS to pre-defined numbers
    • this works, however it might be pricey, and I consider this the last resort option
    • this also does/might not resolve the emergency cases, child might got into, because the reaction time depends on parents having the phone volume up and calling back right-away
  • 1
    Your question turned up in close vote queue, so I want to clarify that whether you are asking from a developer's perspective or an end-user's perspective? – Firelord Mar 16 at 0:58
  • 1
    @Firelord both actually, i'd be more than happy for solution which suits end-users, however I'm capable of accepting dev solution and turning that into end-user solution (ie through github/fdroid) – Marek Sebera Mar 16 at 8:29
2

The feature you are looking for already exists in Android 7.0+. Upgrade your device if you can.

  • I sincerely cannot upgrade the devices, however, what you've posted is what I mentioned in incorrect answers as first option, this will only set ICE emergency info, but not allow you to call said emergency number if it is not in SIM card (where default 911, 112, etc. emergency numbers are persisted) – Marek Sebera Mar 15 at 22:25
  • Sorry, I don't know what ICE info is but do you not want the ability to call custom contacts from the lock screen without unlocking? As you can see in the first image there is an "add contact" button to do so. I've done it on my phone as well, can be seen here. – SSS Mar 16 at 6:43
  • thank you, are you actually able to call the contacts from the posted screenshot without unlocking device? ICE info is abbreviation of "In Case of Emergency", which is exactly what you've posted – Marek Sebera Mar 16 at 8:30
  • 1
    Yep, can call without unlocking, hence the suggestion to upgrade if you can. – SSS Mar 17 at 20:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.