Android Google Map API Project
Articles Blog

Android Google Map API Project

September 17, 2019


Set Minimun SDK at API 11 select Google Map Activity Copy URL Paste it in any Internet Browser Login with Google Account Create a project Create API Key Copy the Key Paste the key in the project Create demo.xml file for Practice Designing the UI copy all code from demo.xml and paste it in activity_main.xml open demo.xml and copy fragment tag Paste fragment tag in activity_main.xm below onCreate() method create buttonClicked() method programming for Normal Map programming for Satellite Map Programming for Marker Programming for Circle around marker set Radius of circle 500meter Programming for Activiting GPS Add Permission Check conditions To enable location permission, go to installed app
[only Android 6+ user]

Only registered users can comment.

  1. When you create the key, you can select a Firebase proyect, do you know how to save the location using Firebase?

  2. amigo ya me ejecuto, esto que has hecho lo hice en otro googlemain y que me muestra al yo hacer click en un boton. pero cuando lo instalo entro al principal main y ala hora de hacer click en el boto me carga todos los botones que creaste y abajo dice google, pero no me muestra ningun mapa :/ me podrias ayudar?

    Friend and I run, this you did I did in another google main and that shows me to click on a button. But when I install it I enter the main main and at the time of clicking on the button it loads all the buttons that you created and down says google, but it does not show me any map: / could you help me?

  3. Thank you so much for the great tutorial!

    If i open the app on emulator or on the smartphone there will be not shown any map (no function when i click normal, satellite map, marker or gps)
    I have been taken the same codes as you, but the maps will not be shown.
    Hope you could help me! You could contact me on FB

    Heres a screenshot of what i can see after running the app:

    http://de.share-your-photo.com/img/7c465fdd68.jpg

    Thanks in advance!

  4. when i run this project this error comes can u help to remove error

    Error:Execution failed for task ':app:transformClassesWithDexForDebug'.
    > com.android.build.api.transform.TransformException: com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'C:Program FilesJavajdk1.8.0_92binjava.exe'' finished with non-zero exit value 2

  5. the process cannot access the file because it is being used by another process"
    how to solve this problem?

  6. Thanks for the tutorial. I have installed the apk on my phone, still when I run the app the map doesn't show. The Google sign in the bottom left does change when I press Normal Map or Satellite Map however the map fragment is blank.

    Appreciate any help on this

  7. Your app is really nice , but how the gps is working pls ? I did the lat and lgn for my home, i can locate it from the latitude and longitude, i can see my home from the 2 types of map , but the gps function isnt working when i click on it , how can i use it ?

Leave a Reply

Your email address will not be published. Required fields are marked *