feat:副屏页面
This commit is contained in:
1 parent
646912236e
commit
c02c01b442
15 files changed
+117
-17
No files matched your search
+1
-8
@@ -16,14 +16,7 @@ public class DatabaseHelper extends SQLiteOpenHelper {
|
||||
private static final int DATABASE_VERSION = 1;
|
||||
|
||||
public DatabaseHelper(Context context) {
|
||||
super(context, getCustomDatabasePath(context), null, DATABASE_VERSION);
|
||||
}
|
||||
|
||||
private static String getCustomDatabasePath(Context context) {
|
||||
File documentsDir = Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DOCUMENTS);
|
||||
File dbDir = new File(documentsDir, "pj/database");
|
||||
if (!dbDir.exists()) dbDir.mkdirs();
|
||||
return new File(dbDir, DATABASE_NAME).getAbsolutePath();
|
||||
super(context, DATABASE_NAME, null, DATABASE_VERSION);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -10,7 +10,5 @@ class MainActivity : FlutterActivity() {
|
||||
// 人脸识别插件
|
||||
val flutterFaceDiscernPlugin = FlutterFaceDiscernPlugin()
|
||||
flutterEngine.plugins.add(flutterFaceDiscernPlugin)
|
||||
|
||||
// 键盘全局键盘插件
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user