private void init() {
mContext = this;
filename = Environment.getExternalStorageDirectory()+”/lanxin/gesture/gesture_1468729525348″;
Log.d(TAG,filename);
mGesture = GestureLibraries.fromFile(filename);
if (!mGesture.load()) {
Toast.makeText(this, “Could not load ” + filename, Toast.LENGTH_SHORT).show();
Intent intent = new Intent(this,addAcitvity.class);
startActivity(intent);
finish();
}
Log.v(TAG, “>>>>>>>mGesture>>>>>>>>>:”);
Log.v(TAG, ” 方向样式: ” + mGesture.getOrientationStyle());
Log.v(TAG, ” 顺序类型: ” + mGesture.getSequenceType());
近期评论