db/Configured: store database file in cache directory

Add class Context which wraps the Android/Java Context class and add a
JNI wrapper for method Context.getCacheDir().
This commit is contained in:
Max Kellermann
2014-03-01 20:20:29 +01:00
parent 5268f55344
commit b8f1850bba
8 changed files with 122 additions and 4 deletions

View File

@@ -19,9 +19,11 @@
package org.musicpd;
import android.content.Context;
/**
* Bridge to native code.
*/
public class Bridge {
public static native void run();
public static native void run(Context context);
}