Skip to content

Instantly share code, notes, and snippets.

Avatar

Lukasz Piliszczuk lukaspili

View GitHub Profile
@wontondon
wontondon / AssetDatabaseOpenHelper.java
Created Oct 8, 2011
Copy sqlite database from assets dir - Android
View AssetDatabaseOpenHelper.java
package com.javatarts.basketballgm.data;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import android.content.Context;
import android.database.sqlite.SQLiteDatabase;