Beginning Android Development

Preview:

DESCRIPTION

A guide to downloading the Android development kit, and getting started with programming in Java and XML.

Citation preview

Software Engineering Large Practical

Stephen Gilmore

School of Informatics

October 3, 2012

Stephen Gilmore Software Engineering Large Practical

Getting the Android SDK

shot 2012-10-02 at 14.04.36.png

Stephen Gilmore Software Engineering Large Practical

Getting the Android SDK

shot 2012-10-02 at 14.04.41.png

Stephen Gilmore Software Engineering Large Practical

Getting the Android SDK

shot 2012-10-02 at 14.05.14.png

Stephen Gilmore Software Engineering Large Practical

Getting the Android SDK

shot 2012-10-02 at 14.05.24.png

Stephen Gilmore Software Engineering Large Practical

Getting the Android SDK

shot 2012-10-02 at 14.05.37.png

Stephen Gilmore Software Engineering Large Practical

Getting the Android SDK

shot 2012-10-02 at 14.06.08.png

Stephen Gilmore Software Engineering Large Practical

Getting the Android SDK

shot 2012-10-02 at 14.06.26.png

Stephen Gilmore Software Engineering Large Practical

Getting the Android SDK

shot 2012-10-02 at 14.06.32.png

Stephen Gilmore Software Engineering Large Practical

Creating a new Android project

shot 2011-10-04 at 12.05.25.png

Stephen Gilmore Software Engineering Large Practical

Naming your project

shot 2011-10-04 at 12.06.12.png

Stephen Gilmore Software Engineering Large Practical

Specifying the platform

shot 2011-10-04 at 12.06.34.png

Stephen Gilmore Software Engineering Large Practical

Market share of Android versions

shot 2012-10-02 at 14.38.04.png

Stephen Gilmore Software Engineering Large Practical

Looking at samples

shot 2011-10-04 at 12.06.45.png

Stephen Gilmore Software Engineering Large Practical

A project is created

shot 2011-10-04 at 12.07.19.png

Stephen Gilmore Software Engineering Large Practical

Configuring an Android application

shot 2011-10-05 at 09.30.38.png

Stephen Gilmore Software Engineering Large Practical

Run configurations

shot 2011-10-05 at 09.30.47.png

Stephen Gilmore Software Engineering Large Practical

Setting the DNS server

shot 2011-10-05 at 09.30.54.png

Stephen Gilmore Software Engineering Large Practical

Running an Android application

shot 2011-10-04 at 12.07.33.png

Stephen Gilmore Software Engineering Large Practical

Starting the activity on the emulator

shot 2011-10-04 at 12.07.42.png

Stephen Gilmore Software Engineering Large Practical

The emulator running

shot 2011-10-04 at 12.08.15.png

Stephen Gilmore Software Engineering Large Practical

Searching the dictionary

shot 2011-10-04 at 12.08.24.png

Stephen Gilmore Software Engineering Large Practical

Autocompletion is used

shot 2011-10-04 at 12.08.37.png

Stephen Gilmore Software Engineering Large Practical

The application in the launchpad

shot 2011-10-04 at 12.09.09.png

Stephen Gilmore Software Engineering Large Practical

Managing apps on the phone

shot 2011-10-04 at 12.09.24.png

Stephen Gilmore Software Engineering Large Practical

Selecting an app for deletion

shot 2011-10-04 at 12.09.50.png

Stephen Gilmore Software Engineering Large Practical

Forcing apps to stop

shot 2011-10-04 at 12.10.05.png

Stephen Gilmore Software Engineering Large Practical

Forcing apps to stop

shot 2011-10-04 at 12.10.12.png

Stephen Gilmore Software Engineering Large Practical

Uninstalling an app

shot 2011-10-04 at 12.10.16.png

Stephen Gilmore Software Engineering Large Practical

Uninstalling an app

shot 2011-10-04 at 12.10.23.png

Stephen Gilmore Software Engineering Large Practical

Uninstalling an app

shot 2011-10-04 at 12.10.27.png

Stephen Gilmore Software Engineering Large Practical

Seeding a NullPointerException (NPE)

shot 2011-10-04 at 12.11.26.png

Stephen Gilmore Software Engineering Large Practical

Try to run the application

shot 2011-10-04 at 12.11.34.png

Stephen Gilmore Software Engineering Large Practical

User view of a NullPointerException

shot 2011-10-04 at 12.11.54.png

Stephen Gilmore Software Engineering Large Practical

Change the Eclipse perspective

shot 2011-10-05 at 09.56.48.png

Stephen Gilmore Software Engineering Large Practical

Dalvik Debug and Monitor Service

shot 2011-10-05 at 09.56.57.png

Stephen Gilmore Software Engineering Large Practical

DDMS perspective with LogCat

shot 2011-10-05 at 09.58.21.png

Stephen Gilmore Software Engineering Large Practical

Developer view of a NPE

shot 2011-10-04 at 12.12.18.png

Stephen Gilmore Software Engineering Large Practical

Tracking the error back to the code

shot 2011-10-04 at 12.13.17.png

Stephen Gilmore Software Engineering Large Practical

Error found, warning visible

shot 2011-10-04 at 12.13.24.png

Stephen Gilmore Software Engineering Large Practical

Bug removed, Java Problem disappears

shot 2011-10-04 at 12.13.45.png

Stephen Gilmore Software Engineering Large Practical

Graphical view of XML in editor

shot 2011-10-04 at 12.14.06.png

Stephen Gilmore Software Engineering Large Practical

Source code view of XML in editor

shot 2011-10-04 at 12.14.10.png

Stephen Gilmore Software Engineering Large Practical

Outline view of XML in editor

shot 2011-10-04 at 12.14.10.png

Stephen Gilmore Software Engineering Large Practical

The editor (and themes)

shot 2011-10-04 at 12.14.32.png

Stephen Gilmore Software Engineering Large Practical

Changing the theme (Holo light)

shot 2011-10-04 at 12.14.45.png

Stephen Gilmore Software Engineering Large Practical

Changing the theme (Theme Light)

shot 2011-10-04 at 12.15.17.png

Stephen Gilmore Software Engineering Large Practical

Adding widgets with drag and drop

shot 2011-10-04 at 12.16.14.png

Stephen Gilmore Software Engineering Large Practical

The graphical layout is updated

shot 2011-10-04 at 12.16.19.png

Stephen Gilmore Software Engineering Large Practical

XML source automatically updated too

shot 2011-10-04 at 12.16.41.png

Stephen Gilmore Software Engineering Large Practical

Undo changes in the editor

shot 2011-10-04 at 12.16.53.png

Stephen Gilmore Software Engineering Large Practical

Errors in XML code

shot 2011-10-04 at 15.59.11.png

Stephen Gilmore Software Engineering Large Practical

Errors in XML can be subtle

shot 2011-10-04 at 15.59.44.png

Stephen Gilmore Software Engineering Large Practical