Posts Tagged ‘ shared preferences ’

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 »

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 »

GPS and Google Map in Android Applications – Series

January 15, 2013
By
GPS and Google Map in Android Applications

A list of Android applications with GPS and Google Map is given below : Google Maps Android API V1 Android GPS with LocationManager to get current location – Example Showing current location in Google Maps with GPS and LocationManager in Android Add marker on touched location using Google Map in Android – Example Android...

Read more »

Android Writing and Reading files to SDCard

September 17, 2012
By
Screenshot of the application in Action

Reading and writing text data from SDCard is the topic, that we are going to discuss in this article. In order to write data to SDCard, the application need permission WRITE_EXTERNAL_STORAGE, which can be specified in the file AndroidManifest.xml. This application is developed in Eclipse ( 4.2.0 ) with ADT plugin ( 20.0.3 )...

Read more »

A Preference Activity application in Android

July 8, 2012
By
Preference Activity in Action

We know that, for any good application, there will be a settings screen which can be used to customise the application. In an Android application,  we can create user friendly settings screens using preference activity and preference screen. In this article we will see how to create a settings screen using preference activity and...

Read more »

Embedding ListPreference in an activity using PreferenceFragment in Android

July 7, 2012
By
ListPreference in An Activity using PreferenceFragment

ListPreference is a preference listview widget used to store a value in shared preference. The key of the ListPreference specified in the xml resource file is used to retrieve the value from the shared preference. In this article, we are creating an application which embeds a ListPreference widget in an activity using PreferenceFragment. 1....

Read more »

SharedPreferences Demo Application

July 6, 2012
By
Shared Preferences Demo

In the article titled Alert Dialog Window with radio buttons in Android , we have seen that how to create an alert dialog window which contains radio buttons as options. In this article we are going to extend that application using shared preferences so that the data will not be lost on closing the...

Read more »

Be friend at g+

Subscribe for Lastest Updates

FBFPowered by ®Google Feedburner