My question is
How can i dial an emergency number, for example 911?
i made applciation, that can dial number, but not "emergency" one.
if change it to "9111", all works fine, but not "911".
i've found following permissions:
String CALL_PHONE Allows an application to initiate a phone call without going through the Dialer user interface for the user to confirm the call being placed.
String CALL_PRIVILEGED Allows an application to call any phone number, including emergency numbers, without going through the Dialer user interface for the user to confirm the call being placed.
i tried to use CALL_PRIVILEGED, nothing helps. Also, somewhere i've found following line:
dialling emergency services isn’t available to third party applications
I need to call emergency numbers too, or how can i get denied phone numbers and show a messagebox to say:
"thanks to android developers. you can't use emergancy numbers in this application" ?
sorry for my poor english