First download the tar file of java version u required. Follow I downloaded 1.7
You will need sudo privileges to perform this task:
sudo su
sudo su

This will help you to detect network changing states in android phone. For get an idea abut the API use for this read Followings. <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<uses-permission android:name="android.permission.READ_PHONE_STATE"/>
Now you good to go with the creating of your service.
Download this language definition file for Erlang. (Written by Martin Ankerl) This will support to Gnome standard editor Gedit.
<?php
echo 'Hello Google!!!';
?>
application: helloGoogle
version: 1
runtime: php
api_version: 1
handlers:Now you can continue..................
- url: /.*
script: helloGoogle.php