Examples on startActivity().

29 views
Skip to first unread message

voidcode

unread,
Jul 24, 2010, 4:24:38 PM7/24/10
to PhpForAndroid
Here is to examples on startActivity().

This launch the set wallpaper app.
<?php
require_once("Android.php");
$droid = new Android();
$droid->startActivity("android.intent.action.SET_WALLPAPER");
$droid->exit();
?>

And this get the power usage summary app.
<?php
require_once("Android.php");
$droid = new Android();
$droid-
>startActivity("android.intent.action.POWER_USAGE_SUMMARY");
$droid->exit();
?>
Reply all
Reply to author
Forward
0 new messages