The following code snippet is trying to store a Gesture
object.
private Gesture mGesture;
private GestureLibrary store;
store.addGesture("test", mGesture);
store.save();
I'm wondering where is mGesture
stored?
Just followed by the above code, the author gives the following code:
final String path = new File(Environment.getExternalStorageDirectory(),
"gestures").getAbsolutePath();
Toast.makeText(this, getString(R.string.save_success, path), Toast.LENGTH_LONG).show();
So I guess the mGesture
is stored in somewhere indicated by path
.
But I don't know what's path. I've tried debugging. It gives me something like: "storage/emulated/0/gestures/". But I can't find this directory on my device.
By the way, my device is nexus 4