Hi All,
I would like to support my android application with store the Couch base
lite databases in external SDCard due to phone memory is very less(may be
8gb or 16 gb) that is not enough to my application. I have tried to create
CBLManger object in external SDCard.
public class Application extends android.app.Application {
private Manager manager;
private static Context mContext;
...
@Override
public void onCreate() {
super.onCreate();
mContext = getApplicationContext();
try {
/*
* In Java the Manager instance and all the objects descending
* from it may be used on any thread.
*/
manager = new Manager(new AndroidContext(mContext),
Manager.DEFAULT_OPTIONS);
} catch (IOException e) {
Log.e(TAG, "Cannot create Manager instance", e);
return;
}
}
}
I am using latest version 1.1, Where by default it is taking phone memory
only. How we can achieve this feature and how to create Manager
class(Constructor) instance for using external SDCard options
Thank You,
Prasanna Kumar
--
You received this message because you are subscribed to the Google Groups
"Couchbase Mobile" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/mobile-couchbase/1040fb80-a719-4b1e-a666-2809310f7227%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.