Posts Tagged ‘ location ’

Retain markers on screen rotation in Google Maps Android API V2 using Parcelable LatLng points

May 14, 2013
By
Google Maps Android API V2 with retained markers on Screen rotation using Parcelable LatLng objects

In this article, we will develop an Android application which demonstrates how to persist marker points in Google Maps Android API V2 on screen rotation. On adding a marker in the Google Maps, corresponding coordinates will be added to an ArrayList as LatLng object. Then on screen rotation the array list will be saved...

Read more »

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

May 9, 2013
By
Latitude and Longitude in Google Maps Android API V2

In this article, we will develop an Android application which demonstrates how to display a marker in Google Maps Android API V2 corresponding to the user input latitude and longitude. Unlike the application discussed in the article titled “Adding Marker at user input latitude and longitude in Google Map Android API V2“, here user...

Read more »

Adding and removing multiple proximity alerts in Google Maps Android API V2

May 3, 2013
By
Multiple Proximity Alerts in Google Maps Android API V2

In this article, we will develop an Android application which demonstrates how to add multiple proximity alerts in Google Maps Android API V2. We will make use the Android API class “LocationManager” to add and remove the proximity alerts and SharedPreferences to persist the markers on the Google Maps while restarting the application. In...

Read more »

Storing and retrieving locations in SQLite from Google Maps Android API V2

April 23, 2013
By
Storing and retrieving Google Map locations in SQLite database

In this article, we will develop an Android application which demonstrates how to store and retrieve Google Maps locations in SQLite database from Google Maps Android API V2. On taping a location in the Google Map, a marker will be drawn at the taped location and the corresponding coordinates with Google Map zoom level...

Read more »

Adding multiple marker locations in Google Maps Android API V2 and save it in Shared Preferences

April 22, 2013
By
Saving Marker Locations in Shared Preferences

In this article, we will see how to add multiple marker locations in Google Maps Android API V2 and save it in Shared Preferences. Since the marker locations are stored in Shared Preferences, the markers can be restored on restarting the application. This application is developed in Eclipse (4.2.1) with ADT plugin (21.1.0) and...

Read more »

Adding and removing Proximity Alert in Google Map Android API V2 using LocationManager

April 14, 2013
By
Adding and removing Proximity Alerts in Google Map Android API V2

Proximity alert is an alert which is triggered by Android LocationManager when the device enters a region specified by its center coordinate (latitude, longitude) and radius. In this article, we will develop an Android application which demonstrates how to add and remove a proximity alert in Google Map Android API V2. The center of...

Read more »

Drawing Polyline and Markers along the tapped positions in Google Map Android API V2 using ArrayList

March 4, 2013
By
Drawing polyline and markers along taped positions of Google Map Android API V2

In this article, we will create an Android application which draws polyline and markers along the tapped positions in Google Map Android API V2. Long click the Google Map to clear all the existing polylines and markers in the Google Map. This application is developed in Eclipse 4.2.1 with ADT plugin ( 21.1.0 )...

Read more »

Adding Marker at user input latitude and longitude in Google Map Android API V2

March 4, 2013
By
Showing user input location in Google Map Android API V2

In this article, we will develop an Android application which facilitates users to input latitude and longitude in EditText control and on clicking the button “Show in Map”, the input location is marked in Google Map Android API V2. This application is developed in Eclipse 4.2.1 with ADT plugin ( 21.1.0 ) and Android...

Read more »

Showing current location using OnMyLocationChangeListener in Google Map Android API V2

February 28, 2013
By
Showing My Location using OnMyLocationChangeListener in Google Map

In this article, we will create an Android application which will display current location in Google Maps using Google Maps Android API V2. It also determines latitude and longitude of the current my location and displays it in a TextView. The data contained in the TextView will be updated automatically as the current location...

Read more »

Showing current location in Google Maps using API V2 with SupportMapFragment

January 6, 2013
By
Current My Location in Google Maps Android API V2

In this article, we will create an Android application which will display current location in Google Maps using Google Maps Android API V2. Since the Google Map is displayed using SupportMapFragment, this application can run in Android API Level 8 or above. In order to use MapFragment for Google Maps, we need Android device...

Read more »

Be friend at g+

Subscribe for Lastest Updates

FBFPowered by ®Google Feedburner