I am trying to automate the testing of an application of android using ASE(Android scripting Environment) and Perl. for eg: for viewing contacts on phone, i have used the showcontact api to display the conatcts in phone. similarly for starting browser, i have used the startActivity to launch the browser
use Android;
my $a=Android->new();
$uri="http://books.google.com";
$a->startActivity('android.intent.action.VIEW',$uri);
but when i try to start the calculator using startActivity, it doesn't start. But it works with adb shell command.
Can some one help me in invoking the calculator using startActivity in perl n automating it?