android shared preferences Archives - Androhub

Text File Banner

Android Read Write File Operations

Reading and Writing files in Android will be helpful if you want to read data from SD Card, store your application data as a text file. In this tutorial we are going to learn same. Below are some points that we are going to learn in today’s tutorial: 1. Write File – Write user input data

Read More
SharedPreferences

Android SharedPreferences

Android provides many ways of storing data of an application. One of this way is called Shared Preferences. Shared Preferences allow you to save and retrieve data in the form of key,value pair. In order to use shared preferences , you have to call a method getSharedPreferences() that returns a SharedPreference instance poiting to the

Read More