Getting Started with Android

Getting Started with Android

Video Tutorials:

1. Requirements

There is also a Terminal of this tutorial that doesn't use Eclipse.

2. Install SDK + PhoneGap

3. Setup New Project

4. Hello World

Now create and open a new file named index.html in the assets/www directory. Paste the following code:

    <!DOCTYPE HTML>
    <html>
    <head>
    <title>PhoneGap</title>
    <script type="text/javascript" charset="utf-8" src="phonegap.js"></script>
    </head>
    <body>
    <h1>Hello World</h1>
    </body>
    </html>

*phonegap.js might need to be replaced with phonegap-&lt;VERSION NUMBER&gt;.js

5A. Deploy to Simulator

5B. Deploy to Device

Done!

You can also checkout more detailed version of this guide here.