Told you, we love sharing!
Shared Preferences in Android Android Prefereces provide a way to store user and application data in device. It stores primitive data including String objects in key-value pairs. There are several ways to store data in android: Preferences(Shared and User): Store private primitive data in key-value pairs. Internal Storage: ...
SQLite locking concept comes when we access database from multiple threads. What things should we keep in our mind while designing the database in android, let's see. firstly we create a helper class which extends SQLiteHelper class: [code language="java"] public class DatabaseHelper extends SQLiteOpenHelper { ... } [/code] Now...
