beginning android development
DESCRIPTION
A guide to downloading the Android development kit, and getting started with programming in Java and XML.TRANSCRIPT
![Page 1: Beginning Android Development](https://reader033.vdocument.in/reader033/viewer/2022052523/55660fc0d8b42a7d608b45e3/html5/thumbnails/1.jpg)
Software Engineering Large Practical
Stephen Gilmore
School of Informatics
October 3, 2012
Stephen Gilmore Software Engineering Large Practical
![Page 2: Beginning Android Development](https://reader033.vdocument.in/reader033/viewer/2022052523/55660fc0d8b42a7d608b45e3/html5/thumbnails/2.jpg)
Getting the Android SDK
shot 2012-10-02 at 14.04.36.png
Stephen Gilmore Software Engineering Large Practical
![Page 3: Beginning Android Development](https://reader033.vdocument.in/reader033/viewer/2022052523/55660fc0d8b42a7d608b45e3/html5/thumbnails/3.jpg)
Getting the Android SDK
shot 2012-10-02 at 14.04.41.png
Stephen Gilmore Software Engineering Large Practical
![Page 4: Beginning Android Development](https://reader033.vdocument.in/reader033/viewer/2022052523/55660fc0d8b42a7d608b45e3/html5/thumbnails/4.jpg)
Getting the Android SDK
shot 2012-10-02 at 14.05.14.png
Stephen Gilmore Software Engineering Large Practical
![Page 5: Beginning Android Development](https://reader033.vdocument.in/reader033/viewer/2022052523/55660fc0d8b42a7d608b45e3/html5/thumbnails/5.jpg)
Getting the Android SDK
shot 2012-10-02 at 14.05.24.png
Stephen Gilmore Software Engineering Large Practical
![Page 6: Beginning Android Development](https://reader033.vdocument.in/reader033/viewer/2022052523/55660fc0d8b42a7d608b45e3/html5/thumbnails/6.jpg)
Getting the Android SDK
shot 2012-10-02 at 14.05.37.png
Stephen Gilmore Software Engineering Large Practical
![Page 7: Beginning Android Development](https://reader033.vdocument.in/reader033/viewer/2022052523/55660fc0d8b42a7d608b45e3/html5/thumbnails/7.jpg)
Getting the Android SDK
shot 2012-10-02 at 14.06.08.png
Stephen Gilmore Software Engineering Large Practical
![Page 8: Beginning Android Development](https://reader033.vdocument.in/reader033/viewer/2022052523/55660fc0d8b42a7d608b45e3/html5/thumbnails/8.jpg)
Getting the Android SDK
shot 2012-10-02 at 14.06.26.png
Stephen Gilmore Software Engineering Large Practical
![Page 9: Beginning Android Development](https://reader033.vdocument.in/reader033/viewer/2022052523/55660fc0d8b42a7d608b45e3/html5/thumbnails/9.jpg)
Getting the Android SDK
shot 2012-10-02 at 14.06.32.png
Stephen Gilmore Software Engineering Large Practical
![Page 10: Beginning Android Development](https://reader033.vdocument.in/reader033/viewer/2022052523/55660fc0d8b42a7d608b45e3/html5/thumbnails/10.jpg)
Creating a new Android project
shot 2011-10-04 at 12.05.25.png
Stephen Gilmore Software Engineering Large Practical
![Page 11: Beginning Android Development](https://reader033.vdocument.in/reader033/viewer/2022052523/55660fc0d8b42a7d608b45e3/html5/thumbnails/11.jpg)
Naming your project
shot 2011-10-04 at 12.06.12.png
Stephen Gilmore Software Engineering Large Practical
![Page 12: Beginning Android Development](https://reader033.vdocument.in/reader033/viewer/2022052523/55660fc0d8b42a7d608b45e3/html5/thumbnails/12.jpg)
Specifying the platform
shot 2011-10-04 at 12.06.34.png
Stephen Gilmore Software Engineering Large Practical
![Page 13: Beginning Android Development](https://reader033.vdocument.in/reader033/viewer/2022052523/55660fc0d8b42a7d608b45e3/html5/thumbnails/13.jpg)
Market share of Android versions
shot 2012-10-02 at 14.38.04.png
Stephen Gilmore Software Engineering Large Practical
![Page 14: Beginning Android Development](https://reader033.vdocument.in/reader033/viewer/2022052523/55660fc0d8b42a7d608b45e3/html5/thumbnails/14.jpg)
Looking at samples
shot 2011-10-04 at 12.06.45.png
Stephen Gilmore Software Engineering Large Practical
![Page 15: Beginning Android Development](https://reader033.vdocument.in/reader033/viewer/2022052523/55660fc0d8b42a7d608b45e3/html5/thumbnails/15.jpg)
A project is created
shot 2011-10-04 at 12.07.19.png
Stephen Gilmore Software Engineering Large Practical
![Page 16: Beginning Android Development](https://reader033.vdocument.in/reader033/viewer/2022052523/55660fc0d8b42a7d608b45e3/html5/thumbnails/16.jpg)
Configuring an Android application
shot 2011-10-05 at 09.30.38.png
Stephen Gilmore Software Engineering Large Practical
![Page 17: Beginning Android Development](https://reader033.vdocument.in/reader033/viewer/2022052523/55660fc0d8b42a7d608b45e3/html5/thumbnails/17.jpg)
Run configurations
shot 2011-10-05 at 09.30.47.png
Stephen Gilmore Software Engineering Large Practical
![Page 18: Beginning Android Development](https://reader033.vdocument.in/reader033/viewer/2022052523/55660fc0d8b42a7d608b45e3/html5/thumbnails/18.jpg)
Setting the DNS server
shot 2011-10-05 at 09.30.54.png
Stephen Gilmore Software Engineering Large Practical
![Page 19: Beginning Android Development](https://reader033.vdocument.in/reader033/viewer/2022052523/55660fc0d8b42a7d608b45e3/html5/thumbnails/19.jpg)
Running an Android application
shot 2011-10-04 at 12.07.33.png
Stephen Gilmore Software Engineering Large Practical
![Page 20: Beginning Android Development](https://reader033.vdocument.in/reader033/viewer/2022052523/55660fc0d8b42a7d608b45e3/html5/thumbnails/20.jpg)
Starting the activity on the emulator
shot 2011-10-04 at 12.07.42.png
Stephen Gilmore Software Engineering Large Practical
![Page 21: Beginning Android Development](https://reader033.vdocument.in/reader033/viewer/2022052523/55660fc0d8b42a7d608b45e3/html5/thumbnails/21.jpg)
The emulator running
shot 2011-10-04 at 12.08.15.png
Stephen Gilmore Software Engineering Large Practical
![Page 22: Beginning Android Development](https://reader033.vdocument.in/reader033/viewer/2022052523/55660fc0d8b42a7d608b45e3/html5/thumbnails/22.jpg)
Searching the dictionary
shot 2011-10-04 at 12.08.24.png
Stephen Gilmore Software Engineering Large Practical
![Page 23: Beginning Android Development](https://reader033.vdocument.in/reader033/viewer/2022052523/55660fc0d8b42a7d608b45e3/html5/thumbnails/23.jpg)
Autocompletion is used
shot 2011-10-04 at 12.08.37.png
Stephen Gilmore Software Engineering Large Practical
![Page 24: Beginning Android Development](https://reader033.vdocument.in/reader033/viewer/2022052523/55660fc0d8b42a7d608b45e3/html5/thumbnails/24.jpg)
The application in the launchpad
shot 2011-10-04 at 12.09.09.png
Stephen Gilmore Software Engineering Large Practical
![Page 25: Beginning Android Development](https://reader033.vdocument.in/reader033/viewer/2022052523/55660fc0d8b42a7d608b45e3/html5/thumbnails/25.jpg)
Managing apps on the phone
shot 2011-10-04 at 12.09.24.png
Stephen Gilmore Software Engineering Large Practical
![Page 26: Beginning Android Development](https://reader033.vdocument.in/reader033/viewer/2022052523/55660fc0d8b42a7d608b45e3/html5/thumbnails/26.jpg)
Selecting an app for deletion
shot 2011-10-04 at 12.09.50.png
Stephen Gilmore Software Engineering Large Practical
![Page 27: Beginning Android Development](https://reader033.vdocument.in/reader033/viewer/2022052523/55660fc0d8b42a7d608b45e3/html5/thumbnails/27.jpg)
Forcing apps to stop
shot 2011-10-04 at 12.10.05.png
Stephen Gilmore Software Engineering Large Practical
![Page 28: Beginning Android Development](https://reader033.vdocument.in/reader033/viewer/2022052523/55660fc0d8b42a7d608b45e3/html5/thumbnails/28.jpg)
Forcing apps to stop
shot 2011-10-04 at 12.10.12.png
Stephen Gilmore Software Engineering Large Practical
![Page 29: Beginning Android Development](https://reader033.vdocument.in/reader033/viewer/2022052523/55660fc0d8b42a7d608b45e3/html5/thumbnails/29.jpg)
Uninstalling an app
shot 2011-10-04 at 12.10.16.png
Stephen Gilmore Software Engineering Large Practical
![Page 30: Beginning Android Development](https://reader033.vdocument.in/reader033/viewer/2022052523/55660fc0d8b42a7d608b45e3/html5/thumbnails/30.jpg)
Uninstalling an app
shot 2011-10-04 at 12.10.23.png
Stephen Gilmore Software Engineering Large Practical
![Page 31: Beginning Android Development](https://reader033.vdocument.in/reader033/viewer/2022052523/55660fc0d8b42a7d608b45e3/html5/thumbnails/31.jpg)
Uninstalling an app
shot 2011-10-04 at 12.10.27.png
Stephen Gilmore Software Engineering Large Practical
![Page 32: Beginning Android Development](https://reader033.vdocument.in/reader033/viewer/2022052523/55660fc0d8b42a7d608b45e3/html5/thumbnails/32.jpg)
Seeding a NullPointerException (NPE)
shot 2011-10-04 at 12.11.26.png
Stephen Gilmore Software Engineering Large Practical
![Page 33: Beginning Android Development](https://reader033.vdocument.in/reader033/viewer/2022052523/55660fc0d8b42a7d608b45e3/html5/thumbnails/33.jpg)
Try to run the application
shot 2011-10-04 at 12.11.34.png
Stephen Gilmore Software Engineering Large Practical
![Page 34: Beginning Android Development](https://reader033.vdocument.in/reader033/viewer/2022052523/55660fc0d8b42a7d608b45e3/html5/thumbnails/34.jpg)
User view of a NullPointerException
shot 2011-10-04 at 12.11.54.png
Stephen Gilmore Software Engineering Large Practical
![Page 35: Beginning Android Development](https://reader033.vdocument.in/reader033/viewer/2022052523/55660fc0d8b42a7d608b45e3/html5/thumbnails/35.jpg)
Change the Eclipse perspective
shot 2011-10-05 at 09.56.48.png
Stephen Gilmore Software Engineering Large Practical
![Page 36: Beginning Android Development](https://reader033.vdocument.in/reader033/viewer/2022052523/55660fc0d8b42a7d608b45e3/html5/thumbnails/36.jpg)
Dalvik Debug and Monitor Service
shot 2011-10-05 at 09.56.57.png
Stephen Gilmore Software Engineering Large Practical
![Page 37: Beginning Android Development](https://reader033.vdocument.in/reader033/viewer/2022052523/55660fc0d8b42a7d608b45e3/html5/thumbnails/37.jpg)
DDMS perspective with LogCat
shot 2011-10-05 at 09.58.21.png
Stephen Gilmore Software Engineering Large Practical
![Page 38: Beginning Android Development](https://reader033.vdocument.in/reader033/viewer/2022052523/55660fc0d8b42a7d608b45e3/html5/thumbnails/38.jpg)
Developer view of a NPE
shot 2011-10-04 at 12.12.18.png
Stephen Gilmore Software Engineering Large Practical
![Page 39: Beginning Android Development](https://reader033.vdocument.in/reader033/viewer/2022052523/55660fc0d8b42a7d608b45e3/html5/thumbnails/39.jpg)
Tracking the error back to the code
shot 2011-10-04 at 12.13.17.png
Stephen Gilmore Software Engineering Large Practical
![Page 40: Beginning Android Development](https://reader033.vdocument.in/reader033/viewer/2022052523/55660fc0d8b42a7d608b45e3/html5/thumbnails/40.jpg)
Error found, warning visible
shot 2011-10-04 at 12.13.24.png
Stephen Gilmore Software Engineering Large Practical
![Page 41: Beginning Android Development](https://reader033.vdocument.in/reader033/viewer/2022052523/55660fc0d8b42a7d608b45e3/html5/thumbnails/41.jpg)
Bug removed, Java Problem disappears
shot 2011-10-04 at 12.13.45.png
Stephen Gilmore Software Engineering Large Practical
![Page 42: Beginning Android Development](https://reader033.vdocument.in/reader033/viewer/2022052523/55660fc0d8b42a7d608b45e3/html5/thumbnails/42.jpg)
Graphical view of XML in editor
shot 2011-10-04 at 12.14.06.png
Stephen Gilmore Software Engineering Large Practical
![Page 43: Beginning Android Development](https://reader033.vdocument.in/reader033/viewer/2022052523/55660fc0d8b42a7d608b45e3/html5/thumbnails/43.jpg)
Source code view of XML in editor
shot 2011-10-04 at 12.14.10.png
Stephen Gilmore Software Engineering Large Practical
![Page 44: Beginning Android Development](https://reader033.vdocument.in/reader033/viewer/2022052523/55660fc0d8b42a7d608b45e3/html5/thumbnails/44.jpg)
Outline view of XML in editor
shot 2011-10-04 at 12.14.10.png
Stephen Gilmore Software Engineering Large Practical
![Page 45: Beginning Android Development](https://reader033.vdocument.in/reader033/viewer/2022052523/55660fc0d8b42a7d608b45e3/html5/thumbnails/45.jpg)
The editor (and themes)
shot 2011-10-04 at 12.14.32.png
Stephen Gilmore Software Engineering Large Practical
![Page 46: Beginning Android Development](https://reader033.vdocument.in/reader033/viewer/2022052523/55660fc0d8b42a7d608b45e3/html5/thumbnails/46.jpg)
Changing the theme (Holo light)
shot 2011-10-04 at 12.14.45.png
Stephen Gilmore Software Engineering Large Practical
![Page 47: Beginning Android Development](https://reader033.vdocument.in/reader033/viewer/2022052523/55660fc0d8b42a7d608b45e3/html5/thumbnails/47.jpg)
Changing the theme (Theme Light)
shot 2011-10-04 at 12.15.17.png
Stephen Gilmore Software Engineering Large Practical
![Page 48: Beginning Android Development](https://reader033.vdocument.in/reader033/viewer/2022052523/55660fc0d8b42a7d608b45e3/html5/thumbnails/48.jpg)
Adding widgets with drag and drop
shot 2011-10-04 at 12.16.14.png
Stephen Gilmore Software Engineering Large Practical
![Page 49: Beginning Android Development](https://reader033.vdocument.in/reader033/viewer/2022052523/55660fc0d8b42a7d608b45e3/html5/thumbnails/49.jpg)
The graphical layout is updated
shot 2011-10-04 at 12.16.19.png
Stephen Gilmore Software Engineering Large Practical
![Page 50: Beginning Android Development](https://reader033.vdocument.in/reader033/viewer/2022052523/55660fc0d8b42a7d608b45e3/html5/thumbnails/50.jpg)
XML source automatically updated too
shot 2011-10-04 at 12.16.41.png
Stephen Gilmore Software Engineering Large Practical
![Page 51: Beginning Android Development](https://reader033.vdocument.in/reader033/viewer/2022052523/55660fc0d8b42a7d608b45e3/html5/thumbnails/51.jpg)
Undo changes in the editor
shot 2011-10-04 at 12.16.53.png
Stephen Gilmore Software Engineering Large Practical
![Page 52: Beginning Android Development](https://reader033.vdocument.in/reader033/viewer/2022052523/55660fc0d8b42a7d608b45e3/html5/thumbnails/52.jpg)
Errors in XML code
shot 2011-10-04 at 15.59.11.png
Stephen Gilmore Software Engineering Large Practical
![Page 53: Beginning Android Development](https://reader033.vdocument.in/reader033/viewer/2022052523/55660fc0d8b42a7d608b45e3/html5/thumbnails/53.jpg)
Errors in XML can be subtle
shot 2011-10-04 at 15.59.44.png
Stephen Gilmore Software Engineering Large Practical