O'Reilly logo

Learning Mobile App Development: A Hands-on Guide to Building Apps with iOS and Android by Michael Eierman, Jakob Iversen

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Exercises

1. Change the Hello World app to allow the entering of a first and a last name and display “Hello firstname lastname!” when the button is clicked. Be sure to label the EditTexts to reflect the new data that is to be input.

2. Add a Clear button. The Clear button should remove any data in the EditText(s) and change the display back to “Hello world!”

3. Create a new Android Virtual Device that uses a bigger device to test your app on a different screen size. Run the app using the new AVD.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required