简体   繁体   English

使用紧急拨号器启动android应用

[英]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. 当我打电话“## 123#”,它说,这是不是一个紧急号码,因此它不能被调用。 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) 我考虑两件事:使其像紧急数字一样(如何?)或使“ ## 123 ## ”成为特殊的android代码(如提供IMEI编号的#06#”)并使其在紧急情况下工作拨号器( #06#不)

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... 非常感谢您的帮助,目前我实在太受困扰了...

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

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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