wood burning stoves 2.0*
The moose likes Android and the fly likes Google map: Overlay doesn't work Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Mobile » Android
Bookmark "Google map: Overlay doesn Watch "Google map: Overlay doesn New topic
Author

Google map: Overlay doesn't work

yen hoang
Ranch Hand

Joined: Apr 05, 2009
Posts: 58
Hi all,
I am newbie with Android, I've started with the MapView example from the following link: http://developer.android.com/guide/tutorials/views/hello-mapview.html
But it doesn't work,

According to the tutorial, the map of Tokyo must be displayed, but it didn't. I debugged and saw that it run through all the linecodes, i don't know why the tokyo map wasn't displayed!
Please tell me how to fix the code above!
Thanks in advance


I love Mozart (^o^)
James Elsey
Ranch Hand

Joined: Dec 21, 2007
Posts: 228

I went through the tutorial and it worked OK for me.

What is the debug output you are getting, are there any errors?

What do you mean the map wasnt displayed, was there an error? Did it just show grey squares instead of the map?


Kind Regards, James. OCPJP 1.6 || My SCJP / OCJCP Study Notes
Interested in : SCJP, Google App Engine, Stripes, Android;|| My Bite-Size SCJP Study Blog
yen hoang
Ranch Hand

Joined: Apr 05, 2009
Posts: 58
The map is displayed but instead of displaying Tokyo, it displays USA map ( default map ). When I debugged, there is no error or st strange.
I'm really confused
yen hoang
Ranch Hand

Joined: Apr 05, 2009
Posts: 58
Thank your support, I resolved the problem
James Elsey
Ranch Hand

Joined: Dec 21, 2007
Posts: 228

Thats good,

Can you please post what you did to resolve? It will help people in the future who come across this thread
 
 
subject: Google map: Overlay doesn't work
 
Similar Threads
It prints me pointer repeatedly
Need to get more zoom picture at loading first time
street view & satilite view is not working
Multiple Markers on Google Map in Android
it doesn't show me map on emulator