java - Programmatically control android emulator -


i have requirement need launch app on emulator standalone java application. there way of doing this?

execute following adb command using runtime.getruntime().exec("application.exe");

"adb shell start package_name/.activity_name" 

note : activity_name---> name of launcher activity.


Comments

Popular posts from this blog

ruby on rails - RuntimeError: Circular dependency detected while autoloading constant - ActiveAdmin.register Role -

c++ - OpenMP unpredictable overhead -

javascript - Wordpress slider, not displayed 100% width -