legendaryfox/bamft — Issue #7: Pressing 'GoogleMaps' button on Profile crashes the app 
Author: legendaryfox
Created: 2012-02-02 10:15:22+00:00
State: open

This might have to do with the fact that I don't have GoogleMaps installed, but nonetheless we should probably find some way to gracefully degrade to the user. Basically, when I press the Google Maps button on TruckProfileActivity, I crash the app. Here's some console lines right after I press the button, not sure if they're relevant:

```

110 InputReader I dispatchTouch::touch event's action is 0
110 InputDispatcher I Delivering touch to current input target: action: 0, channel '40a384e0 com.ksj.bamft/com.ksj.bamft.activity.TruckProfileA
ctivity (server)'
110 InputReader I dispatchTouch::touch event's action is 1
110 InputDispatcher I Delivering touch to current input target: action: 1, channel '40a384e0 com.ksj.bamft/com.ksj.bamft.activity.TruckProfileA
ctivity (server)'
9290 AndroidRuntime D Shutting down VM
9290 dalvikvm W threadid=1: thread exiting with uncaught exception (group=0x40015578)
9290 AndroidRuntime E FATAL EXCEPTION: main
9290 AndroidRuntime E android.content.ActivityNotFoundException: Unable to find explicit activity class {com.google.android.apps.maps/com.googl
e.android.maps.MapsActivity}; have you declared this activity in your AndroidManifest.xml?
9290 AndroidRuntime E	at android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:1405)
9290 AndroidRuntime E	at android.app.Instrumentation.execStartActivity(Instrumentation.java:1379)
9290 AndroidRuntime E	at android.app.Activity.startActivityForResult(Activity.java:2827)
9290 AndroidRuntime E	at android.app.Activity.startActivity(Activity.java:2933)
9290 AndroidRuntime E	at com.ksj.bamft.activity.TruckProfileActivity$1.onClick(TruckProfileActivity.java:131)
9290 AndroidRuntime E	at android.view.View.performClick(View.java:2538)
9290 AndroidRuntime E	at android.view.View$PerformClick.run(View.java:9152)
9290 AndroidRuntime E	at android.os.Handler.handleCallback(Handler.java:587)
9290 AndroidRuntime E	at android.os.Handler.dispatchMessage(Handler.java:92)
9290 AndroidRuntime E	at android.os.Looper.loop(Looper.java:130)
9290 AndroidRuntime E	at android.app.ActivityThread.main(ActivityThread.java:3688)
9290 AndroidRuntime E	at java.lang.reflect.Method.invokeNative(Native Method)
9290 AndroidRuntime E	at java.lang.reflect.Method.invoke(Method.java:507)
9290 AndroidRuntime E	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:842)
9290 AndroidRuntime E	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:600)
9290 AndroidRuntime E	at dalvik.system.NativeStart.main(Native Method)
110 E Dumpstate > /data/log/dumpstate_app_error
110 ActivityManager W Force finishing activity com.ksj.bamft/.activity.TruckProfileActivity

```