Skip to content

Commit 7dcb1ea

Browse files
committed
run effect
1 parent 3c63140 commit 7dcb1ea

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

  • app/src/main/java/sk/kottman/androlua

‎app/src/main/java/sk/kottman/androlua/Main.java‎

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -83,13 +83,9 @@ public void onCreate(Bundle savedInstanceState) {
8383
//USER
8484
//Permission Denial: startActivity asks to run as user -2 but is calling from user 0; this requires android.permission.INTERACT_ACROSS_USERS_FULL
8585
source.setText(
86-
"system.runApp(\"com.tencent.now/.app.startup.LauncherActivity\")\n"+
87-
"w,h=system.getScreenSize()\n" +
8886
"system.init()\n" +
8987
"print(os.time())\n" +
9088
"system.sleep(1000)\n" +
91-
"print(w)\n" +
92-
"print(h)\n" +
9389
"print(os.time())\n" +
9490
"system.click(450, 465)\n" +
9591
"system.sleep(1000)\n" +
@@ -100,7 +96,6 @@ public void onCreate(Bundle savedInstanceState) {
10096
"system.click(300, 465)\n" +
10197
"system.sleep(2000)\n" +
10298
"system.volumeDown()\n" +
103-
"system.inputText(\"你好\")\n" +
10499
"system.back()\n" +
105100
"system.sleep(1000)\n" +
106101
"system.home()\n" +
@@ -125,7 +120,6 @@ public void onCreate(Bundle savedInstanceState) {
125120
"system.touchScroll(300, 350)\n" +
126121
"system.sleep(10)\n" +
127122
"system.touchUp(300, 465)\n" +
128-
"system.killApp(\"com.tencent.now\")\n" +
129123
"system.close()\n");
130124

131125
status = (TextView) findViewById(R.id.statusText);

0 commit comments

Comments
 (0)