How to run Android (command line) application in PHP script?
<p>On my Android phone are a Web Server with PHP-plugin, and are a simple HelloWorld application. In Android Terminal Emulator run this application:</p>

<p>am start -n com.hello/.Android_HelloWorldActivity</p>

<p>So this very good. I wrote a PHP script, but my problem is, that with PHP script no start application:</p>

<pre><code>&lt;?php echo("Hello World!"); $output = shell_exec('am start -n com.hello/.Android_HelloWorldActivity'); echo "&lt;pre&gt;$output&lt;/pre&gt;"; ?&gt;
</code></pre>

<p>Thanks for answer.</p>
