aboutsummaryrefslogtreecommitdiff
path: root/lib/main_play_test_editor.dart
diff options
context:
space:
mode:
authormirror <mirror@localhost>2026-11-22 08:41:00 +0900
committermirror <mirror@localhost>2026-11-22 08:41:00 +0900
commit449d8b74bd6d9dae98a07254cdfad677b920e7b0 (patch)
treec131c3528c4d517f56e19b854a7453fedb097d40 /lib/main_play_test_editor.dart
downloadaves-src-master.tar.gz
aves-src-master.zip
snapshot of aves v1.13.12 (secrets removed: android/app/google-services.json)HEADv1.13.12master
Diffstat (limited to 'lib/main_play_test_editor.dart')
-rw-r--r--lib/main_play_test_editor.dart17
1 files changed, 17 insertions, 0 deletions
diff --git a/lib/main_play_test_editor.dart b/lib/main_play_test_editor.dart
new file mode 100644
index 0000000..dd60230
--- /dev/null
+++ b/lib/main_play_test_editor.dart
@@ -0,0 +1,17 @@
+import 'package:aves/app_flavor.dart';
+import 'package:aves/main_common.dart';
+import 'package:aves/model/app/intent.dart';
+
+// https://developer.android.com/studio/command-line/adb.html#IntentSpec
+// adb shell am start -n deckers.thibault.aves.debug/deckers.thibault.aves.MainActivity -a android.intent.action.EDIT -d content://media/external/images/media/183128 -t image/*
+
+@pragma('vm:entry-point')
+void main() => mainCommon(
+ AppFlavor.play,
+ debugIntentData: {
+ IntentDataKeys.action: IntentActions.edit,
+ IntentDataKeys.mimeType: 'image/*',
+ IntentDataKeys.uri: 'content://media/external/images/media/1000064996', // landscape
+ // IntentDataKeys.uri: 'content://media/external/images/media/1000064754', // portrait
+ },
+ );