Langsung ke konten utama

Postingan

Menampilkan postingan dengan label import sqlite

SQLite Importer Exporter - Library

A light weight library for exporting and importing sqlite database in android Created By How to Download Gradle: compile 'com.ajts.androidmads.sqliteimpex:library:1.0.0' Maven: <dependency> <groupId>com.ajts.androidmads.sqliteimpex</groupId> <artifactId>library</artifactId> <version>1.0.0</version> <type>pom</type> </dependency> How to use this Library: This Library is used to import SQLite Database from Assets or External path and Export/Backup SQLite Database to external path. SQLiteImporterExporter sqLiteImporterExporter = new SQLiteImporterExporter(getApplicationContext(), db); // Listeners for Import and Export DB sqLiteImporterExporter.setOnImportListener(new SQLiteImporterExporter.ImportListener() { @Override public void onSuccess(String message) { Toast.makeText(getApplicationContext(), message, Toast.LENGTH_SHORT).show(); } @Override public void onFailure(Exception exception...