GPS and Google Map in Android Applications – Series

January 15, 2013
By

A list of Android applications with GPS and Google Map is given below :


Google Maps Android API V1


Current Location with GPS

Current Location with GPS


Showing current location in Google Map

Showing current location in Google Map


Showing marker at the touched position

Showing marker at the touched position


Switching between map view and satellite view

Switching between map view and satellite view


Reverse Geocoding in action

Reverse Geocoding in action


Working with Geocoding in Google Maps

Working with Geocoding in Google Maps



Google Maps Android API V2


Google Map Android API V2 in Action

Google Map Android API V2 in Action

An Android application containing Google Maps using new Google Maps Android API V2. Screenshot of the application is shown above.


Current My Location in Google Maps Android API V2

Current My Location in Google Maps Android API V2

An Android application which will display current location in Google Maps using Google Maps Android API V2


Showing Marker on the Touched Position of the Google Map Android API V2

Showing Marker on the Touched Position of the Google Map Android API V2


Android Reverse Geocoding at touched location in Google Map Android API V2

Reverse Geocoding demo in Google Maps Android API V2


Android Geocoding - Showing user input location in Google Maps

Android Geocoding - Showing user input location in Google Maps


Switching between different views in Google Maps Android API V2

Switching between different views in Google Maps Android API V2


Customizing InfoWindow  Contents in Google Maps Android V2

Customizing InfoWindow Contents in Google Maps Android V2


Checking the availability of Google Play Services in Android

Checking the availability of Google Play Services in Android


Showing Nearby places in Google Maps Android API V2

Showing Nearby places in Google Maps Android API V2


Showing current location with OnMyLocationChanged Listener

Showing current location with OnMyLocationChanged Listener


Showing Marker at user input latitude and longitude

Showing Marker at user input latitude and longitude


Displaying user input latitude and longitude in Google Maps Android API V2

Displaying user input latitude and longitude in Google Maps Android API V2


Drawing polyline and markers along the tapped positions

Drawing polyline and markers along the tapped positions


Autocomplete TextView with Google Places

Autocomplete TextView with Google Places


Showing marker at the user selected location

Showing marker at the user selected location



Driving route from my location to destination

Driving route from my location to destination


Route between two locations with waypoints

Route between two locations with waypoints


Showing driving , cycling and walking route

Showing driving , cycling and walking route


Distance and time taken between two locations

Distance and time taken between two locations


Custom Marker icon demo

Custom Marker icon demo


Semi Transparent color

Semi Transparent color


Working with proximity alerts in Google Maps Android API V2

Working with proximity alerts in Google Maps Android API V2


Storing Google Map Marker locations in SharedPreferences

Storing Google Map Marker locations in SharedPreferences


Using Sqlite database to store Google Maps locations

Using Sqlite database to store Google Maps locations


Removing selected markers from Google Maps

Removing selected markers from Google Maps


Automatically updating infowindow contents

Automatically updating infowindow contents


Setting multiple proximity alerts

Setting multiple proximity alerts


Retain markers of Google Maps on screen rotation

Retain markers of Google Maps on screen rotation


Showing places with photos in Google Maps

Showing places with photos in Google Maps


Google Place Details API - Demo

Google Place Details API - Demo


Locating user input location in Android API V2 Demo

Locating user input location in Android API V2 Demo

 


 


Android SuggestView widget with Google Places API

Android SuggestView widget with Google Places API

 


How to hire me?

I am George Mathew, working as software architect and Android app developer at wptrafficanalyzer.in

You can hire me on hourly basis or on project basis for Android applications development.

For hiring me, please mail your requirements to info@wptrafficanalyzer.in.

My other blogs
store4js.blogspot.com


Android Knowledge Quiz

Ready to test your knowledge in Android? Take this quiz :



Tags: , , , , , , , , , , , , , , , , , , , , , , , , ,

53 Responses to GPS and Google Map in Android Applications – Series

  1. Nern on January 29, 2013 at 11:47 pm

    Thank you for good job. I’m trying to do route direction on Google map api v2 but I couldn’t did it. Could you show approach to draw a route direction? :) I need some suggestion.

  2. Fiza on March 14, 2013 at 3:42 pm

    Thank you for solving such a lot of possibilities that can arise using Google maps. But is there any way by which I can get the locations shown by marker on the map to be also shown as a list?? This functionality was present in api v1.

  3. imran khan on April 8, 2013 at 4:53 pm

    Thanks for your work,i test all them all are working fine.i am also looking for your new tutorial related to proximity alert function in MAPv2 with notification.

  4. Patel Bhavesh on April 16, 2013 at 1:30 pm

    How to run google map apps(google map api v2) on emulator????

    • pratik on May 6, 2013 at 9:43 am

      not possible according to the official document.

    • altan on September 4, 2013 at 2:22 pm

      you must install “com.android.vending-19032013.apk” and “com.google.android.gms-19032013.apk” on your emulator (you can use genymotion’s emulator. it is very usefull). after you must get google key for android applications.
      i can run google.maps app on my emulator

  5. Steven on April 25, 2013 at 2:24 pm

    Thanks for sharing, I love this website.

  6. Raju on May 16, 2013 at 9:37 am

    thank you very much for your tutorial.
    but I want gps location finder with out internet connection.it is possible or not replay me sir ……

  7. ankur Sharma on May 16, 2013 at 5:44 pm

    thnx for your tutorial

  8. Immran on May 23, 2013 at 6:32 pm

    It saves lot of time of mine. Thanks for your tutorial.

  9. mine on May 31, 2013 at 1:45 am

    hi.thank you very much for your tutorials. I’m drawing to route from one point to point. but I have one route. I want to alternative route. if it is possible, Can you help me? thanks…

  10. Ambedkar on June 12, 2013 at 12:49 pm

    Really amazing……thank you very much for you.

  11. João on July 8, 2013 at 8:24 pm

    How can I make the first point to be my second point location and a location that was received by the EditText

  12. Thus on July 17, 2013 at 5:49 pm

    Really amazing… It saves me lots of time and my work load…… I really love this site…

  13. Andre on July 26, 2013 at 6:46 pm

    How to set in the Map Street View?

    • Narender Singh on February 24, 2014 at 4:27 pm

      Sir I have a problem in google map. I want to see the side by side driving, walking direction with google map but still i have not got any exact source code from the internet sir plz plz help me.Plz this is my humble request to u.

  14. akhwan on August 16, 2013 at 10:55 am

    thanks, you save my essay!

    by the way, i want to my Google map app can detect our location and some entertaintment place nearby when first boot. So what should I do ? thanks

  15. Mario on August 22, 2013 at 7:34 pm

    how can I import a kml file for the map?

  16. akerman on September 20, 2013 at 8:08 pm

    for some reason it doesn’t work for me. when i search for a city nothing happens!

  17. Lasie Jacson Gelinger on September 30, 2013 at 10:38 pm

    Hello Man!
    I’m from Brasil, please, do you have some tutorial about take the GPS Lat/Long and send to MySql?

    I think that POST method could be fast, you know?
    Tanks.

    • George Mathew on October 4, 2013 at 8:01 am

      Thanks for the suggestion. It is added to the pipeline.

  18. Vaibhav Agarwal on October 8, 2013 at 5:09 pm

    Hello George
    Greetings!!

    Please provide a demo to display custom info window on click on marker in Google map API v2 in android.
    It will be very grateful to you.
    Expecting a favorable reply.

    Best Regards,
    Vaibhav Agarwal

  19. Danny on October 16, 2013 at 4:15 pm

    Is it possible to show the route direction via text instead of drawing lines on the map? If so, what can be done? THAANK YOU!

  20. Miko Pagunuran on November 22, 2013 at 9:35 am

    Great samples!
    Clear and concise instructions to follow!

    Is it possible to display or extract the google directions/itinerary as txt file via android so it can be retrieved and displayed on device?

  21. Datchayani on December 11, 2013 at 5:50 pm

    Can u pleas help me how to crop image view by free hand drawing

  22. Vamsi on February 11, 2014 at 2:40 pm

    Thank you very much i had learned a lot from your blog regarding the maps.

  23. natraj on February 21, 2014 at 11:54 am

    pls Geofencing example.

  24. M Nouman on March 20, 2014 at 6:37 pm

    Hi Sir.It is a good learning website.sir Is it possible to show nearest places without the use of google place api.Actually my question is how it is possibe with the help of webservice??

  25. Yash Kochar on April 9, 2014 at 11:16 am

    Hello sir,
    Thank you for such a great help.I solve many problems from these programs.But now I am facing a problem with maps is that,I want to open the MapActivity by clicking a button of another activity.
    Whole explanation of problem:
    onCreate My MainActivity I started map to show the current location.Then I put menu it it which has a option to find location.when we click on that option then it starts another activity,which includes a EditView and a Button.When we hit the button to get the location what user wants on our map then this app crashes.

  26. Saranya on April 23, 2014 at 6:06 pm

    Really u have done great job. Its very helpful to whom start working with google map….

  27. kishore on May 27, 2014 at 5:37 pm

    hello sir in my s2 device background map was not displaying could u please help me!

  28. Pragadees on August 27, 2014 at 6:05 pm

    Sir,
    How to Show A navigation in google map sir…

  29. ASHA on September 24, 2014 at 6:11 pm

    Sir can u overlay the gps for the google map in android for implementing the photos and video of any location

  30. Arul on October 6, 2014 at 12:19 am

    Sir,
    How to get latitude and longitude in every 5 minutes based on the Gps..

  31. niketa singla on November 5, 2014 at 4:08 pm

    how to find friend’s location with their pic nd status nd address shown nd can share with friends by sending my location too.

  32. Paridhi on November 5, 2014 at 4:23 pm

    Great Job !!!! Thank you soo much..

  33. niketa singla on November 7, 2014 at 1:52 pm

    how can i track friends location

  34. chaiwat on November 16, 2014 at 7:10 am

    Dear Sir,

    Is it possible that I draw a cycle on map and get lat&lng of each cross line on road/route?. It’s one of about my college final project. BTW, you article help me a lot :D .

    Thanks&Regards,
    chaiwat

  35. Gokul on February 17, 2015 at 10:44 pm

    One of the best android tutorial site.

    Keep Rocking :)

    Cheers,
    Gokulanath A S

  36. mohammed almin on February 28, 2015 at 3:23 am

    Initially Thank you very much for this great work
    And I would like to asking you
    what is the best way to share my location in map with my friends?

    thanks

  37. Srikanth on March 4, 2015 at 1:36 am

    Sir,

    Can we manually input co-ordinates and check if they are in our boundaries ??

  38. kartik on March 21, 2015 at 8:04 pm

    sir ,we are trying developing an app that just take the current location and a button which says to start the journey after reaching a particular place, a stop button which says to stop the journey,then it should give the overall distance travelled.so please help us how to do
    thank u

  39. Ajit Kumar Sinha on May 8, 2015 at 9:06 am

    My project is location guide. but some problem
    if any new person come in new city then he don’t know about city. but our app automatically find Geographical address on that location who person is standing on that place and find nearest important location E.g ATM Restaurant, Hotel, college, School and patrol pump.
    if person is click restaurant then open next intent and open ranking of restaurant after that person click any particular restaurant then our app find two shortest direction from source to destination. if person want to go then my app automatically track easily from source to destination.
    plz help me in my project and send me project my email id

  40. Mohamed on June 7, 2015 at 5:40 am

    hello sir i want to do the gps tracking real-time map with the display of the traveled paths is that you can help me …?

  41. riju on June 12, 2015 at 6:17 pm

    hi sir … can you make a sample project on getting the nearest longitude and latitude from sqlite database and calculate the distance between current position and notify user if any gps coordinate in database is near to the current location

    thank you

  42. Sujit kumar mallik on June 27, 2015 at 3:49 pm

    Greate work sir ,really it helps me alot

  43. Lohithananda on July 9, 2015 at 10:19 am

    sir,I want to develop a android application which gives the alert on entry and exit,I thought of using Geofence but i am getting only circular region,can i use geocoding for creating entry and exit alerts.

  44. yogesh on July 23, 2015 at 2:24 pm

    sir,thanks for this such a grate tutorials..pls make some more tutorial on boundry for perticular place or city

  45. Asce on August 17, 2015 at 9:14 am

    plzz alternativ route…reply fast

  46. Asce on August 17, 2015 at 9:22 am

    i mean alternative doesnt work even if i set it to “alternatives=true”

  47. Rehan Ch on September 12, 2015 at 10:25 am

    I am going to create an app who locate my friend location using GPS.
    Can you help me ??

  48. Sean RB on October 14, 2015 at 2:55 pm

    i have Android phone using MediaTek processor, and the gps accuracy is sucks. do you know how to fix it, sir?

Leave a Reply

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

Be friend at g+

Subscribe for Lastest Updates

FBFPowered by ®Google Feedburner