I am trying to get the geopoint from a longpress on a map. So far, when I run the activity which implements the custom class I get an error when the activity tries to open. I am trying to get the method for registering a long click from here: http://www.kind-kristiansen.no/2011/android-handling-longpresslongclick-on-map-revisited/ The error I keep getting [...]
I am trying to get the geopoint from a longpress on a map. So far, when I run the activity which implements the custom class I get an error when the activity tries to open. I am trying to get the method for registering a long click from here:
http://www.kind-kristiansen.no/2011/android-handling-longpresslongclick-on-map-revisited/
The error I keep getting is:
02-06 19:35:36.194: E/AndroidRuntime(744): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.dummies.android.taskreminder/com.dummies.android.taskreminder.activity.Map_getpoint}: android.view.InflateException: Binary XML file line #5: Error inflating class com.dummies.android.takreminder.Map_CustomView
I am not sure what is wrong with my Map_CustomView. Any ideas?
EDIT:
This did not solve my problem: Error Inflating class com.google.android.maps.MapView
I have another MapActivity in the app that works fine..
If there is any more information I can provide let me know.
Related posts:
Comments on this entry (1 comment)
Did you like this post? You can share your opinion with us! Simply click here.