Hi Saurabh,
 
You can add adb shell command in the code also, It is working fine.You 
can add Runtime.getRuntime().exec("uiautomator runtest   LaunchSettings.jar 
-c com.uia.example.my.LaunchSettings") in the Java code.Otherwise share 
your code. I will check once.
 
Thanks,
Vineela
On Thursday, March 28, 2013 3:35:31 PM UTC+5:30, Saurabh Rupainwar wrote:

> Can i run the uiautomator command "adb shell uiautomator runtest 
> LaunchSettings.jar -c com.uia.example.my.LaunchSettings" from an android 
> application (for example on a button click) when I have already pushed the 
> jar at /data/local/tmp/ location ? 
>
> I have tried doing this from code but nothing is happening, while running 
> the command from shell works perfectly fine.
>

-- 
You received this message because you are subscribed to the Google Groups 
"adt-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to