Android Tutorial & Lessons 31: Google maps / debug api key / get rid of gray tiles

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
21,037
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Mar 18, 2011

Android Tutorial & Lessons 31: Google maps / debug api key / get rid of gray tiles

Get the correct path for the api key:
http://code.google.com/android/add-ons/google-apis/mapkey.html

Sign up for the google map api key:
http://code.google.com/android/add-ons/google-apis/maps-api-signup.html


Check out the discussion @ my forum for this lesson:
http://www.cornboyz.com/

Whats up CornFanz, thanks for watching my videos, I would love it if you subscribe and give me some feedback.

In this lesson you will:
-Get the debug api key for google maps
-hopefully get rid of the gray grid.
-get our map up and running
-Bam!
-Some other sweet stuff
-subscribe
-Thumbs up this video ;)

This video is the 31th in a web series that I am creating to help you learn Android programming so you can create apps and eventually how to learn to write games for android phones. I want to explain things in a way that everyone can understand, even if you have no experience with Java, XML, C++, OpenGL, or as a matter of fact, any other programming language.




If you do have a lot of experience with programming, these first videos will be really slow for you, but my goal is to get everyone sprinting, but for now we have learn to crawl.

follow me on twitter: @cornboyz

Category:

Education

Tags:

License:

Standard YouTube License

Link to this comment:

Share to:

Uploader Comments (CornboyzAndroid)

  • Hi Travis. First of all great thanks for your videos. Simple, informative and easy to work with. But as always some small issues appears.

    I watched videos from 28 till 31 several times and to be honest created project step by step several times.

    I see only grey field with zoom buttons and the word "google", but - I gave Internet permitions - standart gmap app in droid simulator works - inet search on simulator works.

    The same problem with real and debug key.

    Any ideas.. thanks a lot...

  • @NewAndyful hey man, did you make sure you use the internet permission in the manifest? Google Maps seems to be tricky for a ton of people, and I hope to cover it again soon on my other channel and fix some of these errors. When I first started working with the api I was going bald because it was making me rip my hair out haha, but then I launched up eclipse the next day and randomly I didn't have gray tiles anymore. Sorry I can't be of more help at the moment :(

  • lol "dots on top of themselves" you've said this before. They're colons ;)

    Great series by the wya

  • @rufusmccooter sweet thanks again rufus! I should probably have you edit my videos lol

see all

All Comments (53)

Sign In or Sign Up now to post a comment!
  • Hello Travis,

    Thanks for the great video. Unfortunatelly, I keep getting the gray grid. Watched all your related videos and read every information given at android developer website (and other website/tutorials etc.). Still couldn't get rid of this problem.

    I have started to think that debug key generated by keytool might be wrong or api key is somehow problematic. (I am using JRE 1.6).

    Could you suggest anything to get this sample map app. up and running in the emulator?

    Thanks a lot,

  • Why does it only work with the debug key and not our own?

    Is there a way to get it to work using our own key?

    Thanks for the tutorial, you're a champ!

  • after installing 1.6 JDK got it 2 work

  • After debugging I got rid of gray tiles, but now I only get grayish blue screen. Still no map =(

    I've tried all solutions and nothing works.

    I'm testing my app on HTC Wildfire S with no results.

    Getting an error:

    MapActivity - Couldn't get connection factory client

    Hope there will be a fix to this bug soon!

  • thanks a lot , i have done it at last after working for 1 month,,,

  • @Mazen1hz I have an idea what it could be. I had a similar problem today. I think you will have jre7 like I have and not jre6 as the video shows.

    Type this in at the start "keytool -list -v -alias" etc etc with the rest that is shown in the video. You should now receive the correct certificate.

    Tip: also if you browse to the folder c:\program files\java\jre7\ and hold down shift, right click over bin folder, and select "Open Command Window Here". It's the fastest way to get going.

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more