简体   繁体   中英

Launch android app with emergency dialer

I'm developing an app and i want to launch it from the emergency dialer (the one you can access without unlocking the phone). When I call " # #123# # " it says that is not an emergency number so it can't be called. How could i make it?

I've already done a test with the regular dialer and it works fine. I think about 2 things: making it assumed like an emergency nubmer (how?) or make " # #123# # " a special android code (as " #06#" that give the IMEI number) and make it work under the emergency dialer ( #06# doesn't)

I know the question maybe a duplicate but have looked for hours and didn't find the answers. if so, may you give me the link?

Thanks a lot for your help, i'm so stuck at the moment...

我认为紧急电话号码已在系统中进行了硬编码,因此您无法轻松地在该列表中添加您的电话号码。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM