[Android] make run: use am

Rafaël Carré git at videolan.org
Tue Jan 28 15:22:09 CET 2014


vlc-ports/android | branch: master | Rafaël Carré <funman at videolan.org> | Tue Jan 28 15:21:45 2014 +0100| [b3b46f1857bb657d73c369b77aebb8438e1647e0] | committer: Rafaël Carré

make run: use am

monkey doesn't work for me

> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=b3b46f1857bb657d73c369b77aebb8438e1647e0
---

 Makefile |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index d907dec..73f4409 100644
--- a/Makefile
+++ b/Makefile
@@ -120,7 +120,7 @@ uninstall:
 run:
 	@echo "=== Running VLC on device ==="
 	adb wait-for-device
-	adb shell monkey -p org.videolan.vlc -s 0 1
+	adb shell am start -n org.videolan.vlc/org.videolan.vlc.gui.MainActivity
 
 build-and-run: install run
 



More information about the Android mailing list