Back to project page forklift.
The source code is released under:
Apache License
If you think the Android project forklift listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.example.forklift; /*ww w . j a va 2 s . c om*/ import android.content.Context; import android.database.sqlite.SQLiteDatabase; import ch.gluecode.forklift.AbstractAssetSqliteOpenHelper; public class CantonsAssetSqliteOpenHelper extends AbstractAssetSqliteOpenHelper { private static final String ASSET_NAME = "cantons.db"; private static final String DATABASE_NAME = "cantons.db"; private static final int DATABASE_VERSION = 1; public CantonsAssetSqliteOpenHelper(Context context) { super(context, ASSET_NAME, DATABASE_NAME, DATABASE_VERSION, null); } @Override protected void onConfigure(SQLiteDatabase db) { // do nothing } @Override protected void onPostCopy(SQLiteDatabase db, int oldVersion, int newVersion) { // do nothing } }