Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash on clicking emergency phone buttons #1

Closed
yyc1217 opened this issue Jan 13, 2015 · 1 comment
Closed

Crash on clicking emergency phone buttons #1

yyc1217 opened this issue Jan 13, 2015 · 1 comment
Labels

Comments

@yyc1217
Copy link
Member

yyc1217 commented Jan 13, 2015

By using a tablet that without phone functionality, It will crash if I clicked emergency phone buttons below at first page.

E/AndroidRuntime(12494): FATAL EXCEPTION: main
E/AndroidRuntime(12494): Process: tw.edu.ncu.cc.ncumap, PID: 12494
E/AndroidRuntime(12494): android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.intent.action.DIAL dat=tel:xx-xxxxxxxxxxxxx }
E/AndroidRuntime(12494):    at android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:1632)
E/AndroidRuntime(12494):    at android.app.Instrumentation.execStartActivity(Instrumentation.java:1424)
E/AndroidRuntime(12494):    at android.app.Activity.startActivityForResult(Activity.java:3424)
E/AndroidRuntime(12494):    at android.app.Activity.startActivityForResult(Activity.java:3385)
E/AndroidRuntime(12494):    at android.support.v4.app.FragmentActivity.startActivityForResult(FragmentActivity.java:817)
E/AndroidRuntime(12494):    at android.app.Activity.startActivity(Activity.java:3627)
E/AndroidRuntime(12494):    at android.app.Activity.startActivity(Activity.java:3595)
E/AndroidRuntime(12494):    at tw.edu.ncu.cc.ncumap.MyActivity$1.onClick(MyActivity.java:87)
E/AndroidRuntime(12494):    at android.view.View.performClick(View.java:4438)
E/AndroidRuntime(12494):    at android.view.View$PerformClick.run(View.java:18422)
E/AndroidRuntime(12494):    at android.os.Handler.handleCallback(Handler.java:733)
E/AndroidRuntime(12494):    at android.os.Handler.dispatchMessage(Handler.java:95)
E/AndroidRuntime(12494):    at android.os.Looper.loop(Looper.java:136)
E/AndroidRuntime(12494):    at android.app.ActivityThread.main(ActivityThread.java:5001)
E/AndroidRuntime(12494):    at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime(12494):    at java.lang.reflect.Method.invoke(Method.java:515)
E/AndroidRuntime(12494):    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:785)
E/AndroidRuntime(12494):    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601)
E/AndroidRuntime(12494):    at dalvik.system.NativeStart.main(Native Method)
W/ActivityManager(13146):   Force finishing activity tw.edu.ncu.cc.ncumap/.MyActivity
@yyc1217 yyc1217 added the bug label Jan 13, 2015
@c910335
Copy link
Member

c910335 commented Jan 14, 2015

If the device doesn't have call ability, the emergency call buttons will not show now.

@c910335 c910335 closed this as completed Jan 14, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants