Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

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,,,

  • Comment removed

  • Comment removed

  • Hey..

    Thank you very much for the tutorial.. You saved us a lot of time and Pain..

    This is your first video i watched... Now i am probably going to see the rest too..

    Thank You once again...

  • Hello,

    I try to do what you're doing but instead of getting a MD5 certificate i get a SHA1 certificate which google doesn't recognize as valid.

    any ideas of what the problem might be?

    Thanks

  • @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.

  • Thanks a lot!! i have done! So great !!!

  • Comment removed

  • Thanks!!It worked, what I did:Z

    get a new fingerprint having the -storepass and -keypass set with "android" (without quotes) And no -alias alias.

    When I did this, the new fingerprint displayed had extra info that the first time didn't:

    "... Keystore type: JKS

    Keystore provider: SUN

    Your keystore contains 1 entry

    androiddebugkey, Aug 16, 2011, PrivateKeyEntry,

    Certificate fingerprint (MD5): A0..."

  • Hi,

    My program is working now :)

    I like your this video it's very very nice.

    Thanks a lot.

    Ullah

  • I am getting grids and a point only. I am getting this error "main.xml: Failed to find style 'mapViewStyle' in current theme

    Could anyone solve this problem.

  • @MrSri1983 why do you have "mapViewStyle" in there? it should only be mapView,

  • Hi travis,

    I had done everything like the video but it only shows grids.

    I'm usin api 2.1 and java 7.

    My certificate's MD5 fingerprint have 20 values and yours only 16. If i use the 20 values on google page it returnes invald fingerprinte but if i remove the last 4 it work's. But still only grids...

    Any idea?

    Regards

    Mike

  • @29SMike i have the same problem. instead of getting the md5 fingerprint with the 16 digits, I get a SHA1 fingerprint with 20 digits that doesnt work. any ideas???

  • @dmer15 You need to use the 1.6 version of JDK, not the 1.7. It should be looked up up Java SE 6 I believe.

  • am unable to use net on my android emulater plz help me out

  • i created a mapview project and it work perfect on my emulator

    but when i installed that apk for my phone(galaxy s2) it shows only grids

    any reasons.. please help

  • everything is fine here now, thanks a lot!

    now I'll try to add a double click feature to zoom in...

  • Hi Travis!!Thanks a lot and for your valuable help and congratulations for your work in general! I followed your instructions to obtain the debug key and set up my map activity.But I'm always getting the same errors in the logcat..To be more specific, "Couldn't get connection factory client" , "Failed to find provider info for com.google.settings" and "Failed to find provider info for android.server.checkin" Do you have any ideas of what's going wrong?? I would be really grateful for any help!!!

  • I would like to add that the map is properly displayed in the emulator and no errors are reported in the code by eclipsee everything seems fine. The program just displays the map and uses the gps service to animate to new points according to the device's movement by implementing the location listener.

  • Since following this tutorial, my application will not install on my phone but it did before this (The problem I was having was the grey squares thing, although I did get the compass from the next tutorial working).

  • Thanks a lot... all of your vedios have helped me a lot to get ma prjct wrkng...

    again thanks a lot...

    do you know about how to run and create map of inside a building as an application on android??? means instaed of using already created map by GOOGLE... cn we make 1 of our own???? if u know nythng about it then plz plz plz help me.....

  • Hey travis thanks for the videos. Understanding a lot. Can u tell me how to draw a path between 2 GeoPoints on a map. Will be really halpfull if u can teach us that. Badly need for my col project. Thanks.

  • 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 :(

  • I have this problem: Failed to find style ‘mapViewStyle’ in current theme at Main.xml

  • @sureshknv1 I had a similar issue with the "mapViewStyle" failure error. The project worked well but after I added an additional icon.png image to the res/drawable folder and proceeded to clean the project (Project >> Clean) so that the file would be visible in the current project I received the same error as you. I found that the cleaning process sometimes adds an import statement to the top of your project ( import android.r;) which overrides your R.java file. Delete this "import android.r".

  • gmaps works for me now, but only with the debug key :?

  • Eclipse Users

    If you are developing in Eclipse/ADT (and have set up Keytool as described above in Basic Setup for Signing), signing in debug mode is enabled by default. When you run or debug your application, ADT signs the .apk with the debug certificate, runs zipalign on the package, then installs it on the selected emulator or connected device. No specific action on your part is needed, provided ADT has access to Keytool.( from the api page :(

  • I have this problem: Failed to find style 'mapViewStyle' in current theme at Main.xml

  • me too.

  • @chapukun did u get a soln for ur prob???

  • Thanks Travis..I am learning A LOT from you man..I am building an app for my masters thesis in engineering..still waiting for your vids on OpenGL ES..

    And as for the google maps app it did work for me after using the debug.keystore thing in this tutorial..before that it only gave me the grid thing..thanks again!

  • Comment removed

  • Thanks man!

  • Thank you! :D

  • Working perfectly. Thx again for this tutorial :)

    Keep them coming!

  • thnx alot...its working wonderfully

  • solved

  • 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

  • @CornboyzAndroid

    Thank you soooooooooooo much!!!!!!!!!!!!!!!!!!!!!! I read so many tutorials, but yours is the best!!!!!!!!!!

  • I posted this on another video, but I'll post here as well. You can copy the MD5 value from the command prompt by right-clicking anywhere in the command prompt and selecting Mark. Then you can double-click the MD5 value and it is then copied to your clipboard.

  • Thankx man :). Works great now

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