23.07.2015 Views

Android Tutorial

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<br />

<br />

Let's try to run your GUIDemo7 application. I assume you had created your AVD while doing environment setup.<br />

To run the app from Eclipse, open one of your project's activity files and click Run icon from the toolbar. Eclipse<br />

installs the app on your AVD and starts it and if everything is fine with your setup and application, it will display<br />

following Emulator window:<br />

The following screen will appear:<br />

The following screen will appear, conditions are shown when state of both the toggle buttons are changed:<br />

The following screen will appear, conditions are shown when state of 2nd toggle button is changed to START:<br />

TUTORIALS POINT<br />

Simply Easy Learning

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!