Back to project page android-sqlite-server.
The source code is released under:
Apache License
If you think the Android project android-sqlite-server 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 org.devtcg.sqliteserver; /*from w ww .j av a2s.c o m*/ import android.database.sqlite.SQLiteDatabase; /** * Common interface for both {@link android.content.ContentProvider} backed and * {@link android.app.Service} backed instances. */ public interface SQLiteServer { /** * Open and return the database instance to be used by this server. This method will * be called only once, lazily initialized on demand. */ public SQLiteDatabase getWritableDatabase(); /** * Access the server's name. This is used for IPC identification purposes. * * @return Server's name which must be unique across the application. Typically this is * {@code getClass().getName()}. */ public String getServerName(); }