Android :: Google Maps View Crashes On Tap / Click?
Jul 23, 2010
I'm currently writing an app displaying a MapView showing a google map. I used the "hello map view" tutorial from http://developer.android.com/resources/tutorials/views/hello-mapview.html and this works so far: the map is displayed, centered and zoomed correctly, even the OverlayItems I added are displayed correctly. But when I click on one of those overlay items I added, the application crashes with a null pointer exception:
07-23 16:24:48.167: ERROR/AndroidRuntime(2530): java.lang.NullPointerException
07-23 16:24:48.167: ERROR/AndroidRuntime(2530): at com.android.internal.app.AlertController$AlertParams.<init>(AlertController.java:753)
07-23 16:24:48.167: ERROR/AndroidRuntime(2530): at android.app.AlertDialog$Builder.<init>(AlertDialog.java:273)....
View 2 Replies
Sep 4, 2012
I'm searching for an app or mod to google maps that allow to view maps (satellite view) offline
View 1 Replies
View Related
Mar 1, 2010
Few days ago my HTC Magic (Android 1.5) started to behave strange. Google Maps application crashes when I am trying to enter Latitude. Hard reset cleaning cache of the Maps application helps to start it (applications starts and works flawless), but when I am trying "to join Latitude" it shows progress bar "Loading friends", then application crashes. After that I can not even start Maps. Exception browser shows: java.lang.NullPointerException: Name cannot be null
Not sure whether I can debug Google experience application to find out what's going wrong.
View 3 Replies
View Related
Jul 11, 2010
Is there any way to get navigation to display in a 2D view like google maps our are we stuck with the 3D view?
View 9 Replies
View Related
Oct 27, 2008
When I'm at work, street view can be fun for filler time. Or if I'm looking to go on vacation it's handy to see what's around the area.
But really tho what are you guys using street view for on your phone other than to show you friends who own Iphones how cool it it? Are there functions that I'm missing?
To me it almost seems useless for a handheld device. Even if it moved real time as your walking all it will show you is what you would see right now ... only 6 month to a year ago.
So my question .... is anyone using street view for anything useful .... or am I missing something.
View 17 Replies
View Related
May 18, 2010
It used to work but now it has gone missing. GM has updated to 4.2.0 (#4210) and i wonder if that removed it?
It's not in the Layer menu. If I hold finger down on a location it doesn't come up in a menu from that either So how to I get it back?
View 3 Replies
View Related
Mar 11, 2010
It would seem that they've just rolled out their new Street View for practically the whole of the UK. So my question is: How long do you think it'll be until they release Google Navigation for the UK??
View 5 Replies
View Related
Jun 8, 2010
So say you want to use your phone as a personal map, and you don't have service.This still possible. Seems to me that it would call and stream the available map.
View 9 Replies
View Related
May 3, 2010
Where is the street view in Google maps ? I do not see it in the layers menu.
View 3 Replies
View Related
Jul 10, 2010
Prob a noob question or maybe I'm just not seeing it but in google maps, how do I get street view? I can't seem to find it for the life of me. Also, there's apparently a bicycle directions layer option which I can't seem to find.
View 2 Replies
View Related
Oct 4, 2009
Is it not possible to view Googlemaps in compass mode, I mean in map view, not streetview. Like on the IPhone?
View 49 Replies
View Related
Sep 9, 2010
Per the title, there are new versions of Maps and Street View in the market. The Maps update is just to add walking directions I think and the street view was a more polished update. Street view doesn't work after install, at least on my Epic. I open maps, pick a road and long-click on it. A balloon pops up saying "Loading address" for about 30 seconds then give me a pop-up error that says "Data Connection Lost, Retrying" But, data is working just fine on the phone everywhere else. Try rebooting the phone after install, it helped. Still some errors but much better than before. It is awesome when it works. Try compass mode.
View 5 Replies
View Related
Jul 19, 2010
I'm in the maps application, but I don't see how to access street view. Does anyone know what I need to do?
View 2 Replies
View Related
Sep 24, 2010
I am running UD8.0 and chevys 1.0ulow kernel first of all...for some reason this will download but the install fails...anyone else having this trouble?
View 18 Replies
View Related
Jul 8, 2010
I have a map created with google maps that has a number of places saved I wish to visit. Is there a way I can view the map on my phone? If I go to google maps on the browser I don't get the "My Maps" link. If I try using the google maps app, I don't see a way to view a public custom map.
Ultimately, I was hoping to be able to not only view the map, but select a point and get navi to that location. I'd be happy with just being able to view it though.
View 2 Replies
View Related
Apr 24, 2009
Having read http://android-developers.blogspot.com/2009/04/future-proofing-your-a... l I noted this little section;
"Due to changes in the View rendering infrastructure, unreasonably deep (more than 10 or so) or broad (more than 30 total) View hierarchies in layouts are now likely to cause crashes. This was always a risk for excessively complex layouts, but you can think of Android 1.5 as being better than 1.1 at exposing this problem..."
Will the SDK warn us when we're reaching the limit for crashes?
And more to the point why does it crash and not return some form of meaningful error to the app? With an error code or thrown exception developers could create various levels of layout complexity and step down the layout complexity level until they find one the device will support.
No matter what the post says I see this as a regression in functionality and I definitely do not see it as "Android 1.5 as being better than 1.1" in any way.
Written an Android App? - List it at[url]
Funky Android Limited is registered in England & Wales with the company number 6741909. The registered head office is Kemp House, 152-160 City Road, London, EC1V 2NX, UK.
The views expressed in this email are those of the author and not necessarily those of Funky Android Limited, it's associates, or it's subsidiaries.
View 20 Replies
View Related
Sep 25, 2010
I use the google code from devloper.android.com I use that application but in the emulator it shows only the crossed lines not the map so is there any settings in emulator for displaying maps
CODE:.....
Android mainfest
CODE:..................
View 4 Replies
View Related
Jun 6, 2010
It seems that Android is very buggy compared not only to the iPhone, but to pretty much any other software. It's not just minor bugs either - pretty much every developer will come across many serious bugs. Some examples:
- When you run the "sdk setup.exe", the very first thing that happens is that it informs you that it can't connect using https, so you have to change the options to use 'http' instead. This appears to be a bug in the .exe rather than any kind of user issue because the https url works fine in the browser and this error seems to affect everyone. Sure, it's trivial to work around (just do a google search and you figure it out in 5 seconds), but the user shouldn't have to do that. It makes it look unprofessional.
- When you view a TabWidget in the layout editor it crashes.
- Every time you run an app in the emulator, it starts off with the screen locked so you need to press the Menu key.
- Various socket bugs (or perhaps all the same bug) related to IOException not happening. Even something as simple as just trying to connect to a remote host that is not listening will cause it to hang instead of immediately returning an error.
All of these bugs have been logged for months (some by me, some by other people) with no indication of any fix.
At the moment I'm just using the emulator, but I'm wondering if the phones themselves are this buggy or if all the bugs are just in the development environment and emulator.
View 1 Replies
View Related
Sep 10, 2010
I've been struggling with the runOnFirstFix() method for quite a long time. And maybe the problem is in that first line that says Running deferred on first fix. Android Maps Library throws NullPointerException when animateTo is executed while a dialog is shown. The thing is, when the first fix gets executed and I am displaying some dialog in that moment, it crashes quite frequently. I've extracted the following from the logcat:
I/Maps.MyLocationOverlay( 2425): Running deferred on first fix: com.MyApp.Map$2@43aef8e8
W/dalvikvm( 2425): threadid=23: thread exiting with uncaught exception (group=0x4001e170)
E/AndroidRuntime( 2425): Uncaught handler: thread Thread-24 exiting due to uncaught exception
E/AndroidRuntime( 2425): java.lang.NullPointerException
E/AndroidRuntime( 2425): at com.google.android.maps.MapController.animateTo(MapController.java:232)
E/AndroidRuntime( 2425): at com.google.android.maps.MapController.animateTo(MapController.java:203)
E/AndroidRuntime( 2425): at com.MyApp.Map$2.run(Map.java:129)
E/AndroidRuntime( 2425): at java.lang.Thread.run(Thread.java:1096)
View 1 Replies
View Related
Sep 16, 2009
I have a TextView on which I set an onClickListener.
I assign a Traslate Animation to this TextView, so that it moves from position A to position B in the screen.
The Animation works as expected.
My problem is due to the fact that it does not matter in which position the TextView is during its movement: in order to trigger the "click event" I need to touch the screen only in the starting position (A).
EXAMPLE: Imagine that the TextView is in the bottom left corner and it starts moving toward the top right one. Imagine that the TextView is now in the center ofthe screen. If I touch the TextView where my eyes "see" it (= in the center of the screen), nothing happens. Else if I touch the starting point at the bottom left of the screen (which is a blank place because the TextView has moved from there), the event is triggered.
View 2 Replies
View Related
Jun 30, 2010
I want to show the details of a list item in another activity when clicks on a button.Can you help me?
View 2 Replies
View Related
Jul 12, 2012
what is the path to the offline map files saved by Google Maps 6.9?
View 9 Replies
View Related
Nov 15, 2010
please provide the sample code .
View 1 Replies
View Related
May 13, 2009
I am trying to add a webview in my app to display a web page. However, every time I click link on the web page, Browser will be launched to display content in that link. I understand it is something about intent but I am still wondering is there any simpler method to ask webview to display link content within its View ?
View 2 Replies
View Related
Aug 4, 2010
So im trying to set up a setOnClickListener for my ListView but its causing a crash in my program for some reason when i try.. im quite new to programming so when it comes to troubleshooting i cant really do anything sadly my code is below so any ideas on what could be wrong would be extremely helpful. Code...
View 1 Replies
View Related
Nov 20, 2010
I try t get the position of the item who contains my button.How Can I pass the position variable present in the getView method to my onClick Method?I will have several button In my View (Item view)
View 1 Replies
View Related
Aug 27, 2009
My understanding is that when you have a view that's too small to easily touch, you're supposed to use a TouchDelegate to increase the clickable region for that view. However, searching for usage examples on Google turn up multiple people asking the question, but few answers. Does anyone know the proper way to set up a touch delegate for a view to, say, increase its clickable region by 4 pixels in every direction?
View 2 Replies
View Related
Sep 6, 2010
What Iīm trying to do is to create a list (using a list view) of items (which are views inflated from the same layout) what must be clickable. At first I thought that all I had to do was to add an onItemClickListener to the ListView so if the used clicked on any of the views that composed this Item the listener would react. Well, I was wrong. Iīve tried a lot of things, including setting focus and focusontouchmode off for each of the views that compose the itemīs view but it still doesnīt work. Any tips here? Can I archive this result? Oh, also ... this list view is in a dialog and the listener is in the activity that builds the dialog.
View 20 Replies
View Related
Jul 15, 2010
I am using one class which extends ListActivity and One class extending BaseAdapter.
The Base Adapter uses getView function to inflate layout from xml.
The xml contains a text and a button to delete the row of list.
Please let me know how to handle the button click in the ListActivity class.
View 1 Replies
View Related
Jul 21, 2009
Is it possible to programmatically send click events to a view? if so, how?
View 1 Replies
View Related