If you think the Android project SDCardTrac listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
Java Source Code
/*
* SDCardTrac application - keeps track of the /sdcard usage
* Copyright (C) 2012 Narendra M.A.//fromwww.java2s.com
*/package com.nma.util.sdcardtrac;
import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteDatabase.CursorFactory;
import android.database.sqlite.SQLiteOpenHelper;
// Helper class to access SQLite database
publicclass SQLiteHelper extends SQLiteOpenHelper {
public SQLiteHelper(Context context, String name,
CursorFactory factory, int version) {
super(context, name, factory, version);
}
@Override
publicvoid onCreate(SQLiteDatabase db) {
// TODO Auto-generated method stub
db.execSQL(DatabaseManager.SCRIPT_CREATE_DATABASE);
}
@Override
publicvoid onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {
// TODO Auto-generated method stub
}
}