我正在为初创运营商测试第三方系统应用拨号程序。我在Galaxy S3和S5上进行了测试,它完美无缺。拨打911重定向到库存拨号器并呼叫。我有一个Coolpad设备进行测试,在系统分区时拨号911什么都不做。我在logcat中得到这个错误,任何想法会导致这个因为我迷路了。是开发人员定义了三星活动而不是使用紧急呼叫意图?或者我在将其集成到系统中时做了些什么?
V/OutgoingCallBroadcaster( 1304): - Checking restrictions for number '911':
V/OutgoingCallBroadcaster( 1304): isExactEmergencyNumber = true
V/OutgoingCallBroadcaster( 1304): isPotentialEmergencyNumber = true
W/OutgoingCallBroadcaster( 1304): Cannot call potential emergency number '911' with CALL Intent Intent { act=android.intent.action.CALL dat=tel:xxx flg=0x800000 cmp=com.android.phone/.OutgoingCallBroadcaster }.
I/OutgoingCallBroadcaster( 1304): Launching default dialer instead...
V/OutgoingCallBroadcaster( 1304): onCreate(): calling startActivity for Dialer: Intent { act=android.intent.action.DIAL dat=tel:xxx cmp=com.android.incallui/com.android.dialer.DialtactsActivity }
I/ActivityManager( 1304): Timeline: Activity_launch_request id:com.android.incallui time:4344421
I/ActivityManager( 927): START u0 {act=android.intent.action.DIAL dat=tel:xxx cmp=com.android.incallui/com.android.dialer.DialtactsActivity} from pid 1304
E/OutgoingCallBroadcaster( 1304): calling startActivity for Dialer:
E/OutgoingCallBroadcaster( 1304): android.content.ActivityNotFoundException: Unable to find explicit activity class {com.android.incallui/com.android.dialer.DialtactsActivity}; have you declared this activity in your AndroidManifest.xml?
E/OutgoingCallBroadcaster( 1304): at android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:1628)
E/OutgoingCallBroadcaster( 1304): at android.app.Instrumentation.execStartActivity(Instrumentation.java:1424)
E/OutgoingCallBroadcaster( 1304): at android.app.Activity.startActivityForResult(Activity.java:3430)
E/OutgoingCallBroadcaster( 1304): at android.app.Activity.startActivityForResult(Activity.java:3391)
E/OutgoingCallBroadcaster( 1304): at android.app.Activity.startActivity(Activity.java:3633)
E/OutgoingCallBroadcaster( 1304): at android.app.Activity.startActivity(Activity.java:3601)
E/OutgoingCallBroadcaster( 1304): at com.android.phone.OutgoingCallBroadcaster.processIntent(OutgoingCallBroadcaster.java:620)
E/OutgoingCallBroadcaster( 1304): at com.android.phone.OutgoingCallBroadcaster.onCreate(OutgoingCallBroadcaster.java:389)
E/OutgoingCallBroadcaster( 1304): at android.app.Activity.performCreate(Activity.java:5237)
E/OutgoingCallBroadcaster( 1304): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)
E/OutgoingCallBroadcaster( 1304): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2162)
E/OutgoingCallBroadcaster( 1304): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2248)
E/OutgoingCallBroadcaster( 1304): at android.app.ActivityThread.access$800(ActivityThread.java:138)
E/OutgoingCallBroadcaster( 1304): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1199)
E/OutgoingCallBroadcaster( 1304): at android.os.Handler.dispatchMessage(Handler.java:102)
E/OutgoingCallBroadcaster( 1304): at android.os.Looper.loop(Looper.java:136)
E/OutgoingCallBroadcaster( 1304): at android.app.ActivityThread.main(ActivityThread.java:5061)
E/OutgoingCallBroadcaster( 1304): at java.lang.reflect.Method.invokeNative(Native Method)
E/OutgoingCallBroadcaster( 1304): at java.lang.reflect.Method.invoke(Method.java:515)
E/OutgoingCallBroadcaster( 1304): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:780)
E/OutgoingCallBroadcaster( 1304): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:596)
E/OutgoingCallBroadcaster( 1304): at dalvik.system.NativeStart.main(Native Method)
V/OutgoingCallBroadcaster( 1304): At the end of onCreate(). isFinishing(): true