HTML and CSS Reference
In-Depth Information
When the AVD dialog window appears, click new, which can be found on the
right-hand side of the window.
In the Create new Android Virtual Device (AVD) dialog box, use the following
Name: My-Test
Target: Android 4.0 -- API Level 14
SD Card: Size: 100 MiB
Snapshot: Enabled
Skin: Built-in: WVGA800
Abstracted LCD density: 240
Max VM application heap size: 24
Device ram size: 1024
After all options have been set, click the Create AVD button. Your new AVD will
appear in the Android Virtual Device Manager. Select it and click Start. A new
dialog will appear, in which you should accept the defaults and click Launch.
The AVDs are known to be extremely slow to start and run. There are
alternatives, but they will not be covered in this topic.
After several minutes, you should have a virtual Android device up and running.
Click the Internet icon to launch the browser.
You now need to deploy your application to your web server. In the Chapter 3,
you will find out more about automatically deploying your application, but for
now you can use Aptana to export the project to the appropriate folder. Go to
File Export. In the Export dialog, select General File System and click Next.
Select Chapter-2 and select Browse in the ''To directory''. Browse to your Sites
folder within your home directory and select Open. Click Finish and Aptana will
begin to publish documents to that directory.
You can now visit the web site using the AVD's built-in browser and the URL
you took a note of in Chapter 1 ( http://your-ip-address/~username/Chapter-
2/ ). If everything is working, as it should, you should see what is shown in Figure
2-9 inside the AVD's screen.
Search WWH ::

Custom Search