Detailed explanation of addition, deletion and modification of sqlite
Add, delete and modify the source code:
myHelper.java
package com.example.sqlite3lianxi;
import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteDatabase.CursorFactory;
import android.database.sqlite.SQLiteOpenHelper;
public class myHelper extends SQLiteOpenHelper {
/*
...
Posted by markszy on Sat, 25 May 2019 01:39:01 +0200
Offline File Cache for Android
Preface
A good application must be a better cache.android can save data offline either in a file or in sqlite.Today, the author is here to share how to save the file.For example, a news app can also display previously viewed news information while offline. Imagine if there is no network or network acquisition fails, and if there is no cached ...
Posted by beemzet on Fri, 24 May 2019 18:09:47 +0200
ContentProvider: An Android Paper for Learning Notes
ContentProvider is mainly used to realize data sharing between different applications. It provides a complete mechanism to allow one program to access data in another program, while ensuring the security of the visited data.
PS: The bottom layer of ContentProvider is to adopt the Binder mechanism in Android
The main methods ...
Posted by Masterchief07 on Sat, 11 May 2019 14:25:38 +0200