Getting started Running an application Managing apps Debugging apps Designing layouts with XML Getting started Running an application Managing apps Debugging apps Designing layouts with XML Creating a new Android project CS/SE Individual Practical Stephen Gilmore October 7, 2011 School of Informatics CS/SE Individual Practical 1 / 44 CS/SE Individual Practical 2 / 44 Getting started Running an application Managing apps Debugging apps Designing layouts with XML Getting started Running an application Managing apps Debugging apps Designing layouts with XML Naming your project Specifying the platform CS/SE Individual Practical 3 / 44 CS/SE Individual Practical 4 / 44 Getting started Running an application Managing apps Debugging apps Designing layouts with XML Getting started Running an application Managing apps Debugging apps Designing layouts with XML Looking at samples A project is created CS/SE Individual Practical 5 / 44 CS/SE Individual Practical 6 / 44
Getting started Running an application Managing apps Debugging apps Designing layouts with XML Getting started Running an application Managing apps Debugging apps Designing layouts with XML Configuring an Android application Run configurations CS/SE Individual Practical 7 / 44 CS/SE Individual Practical 8 / 44 Getting started Running an application Managing apps Debugging apps Designing layouts with XML Getting started Running an application Managing apps Debugging apps Designing layouts with XML Setting the DNS server Running an Android application CS/SE Individual Practical 9 / 44 CS/SE Individual Practical 10 / 44 Getting started Running an application Managing apps Debugging apps Designing layouts with XML Getting started Running an application Managing apps Debugging apps Designing layouts with XML Starting the activity on the emulator The emulator running 12.08.15.png CS/SE Individual Practical 11 / 44 CS/SE Individual Practical 12 / 44
Getting started Running an application Managing apps Debugging apps Designing layouts with XML Getting started Running an application Managing apps Debugging apps Designing layouts with XML Searching the dictionary Autocompletion is used 12.08.24.png 12.08.37.png CS/SE Individual Practical 13 / 44 CS/SE Individual Practical 14 / 44 Getting started Running an application Managing apps Debugging apps Designing layouts with XML Getting started Running an application Managing apps Debugging apps Designing layouts with XML The application in the launchpad Managing apps on the phone 12.09.09.png 12.09.24.png CS/SE Individual Practical 15 / 44 CS/SE Individual Practical 16 / 44 Getting started Running an application Managing apps Debugging apps Designing layouts with XML Getting started Running an application Managing apps Debugging apps Designing layouts with XML Selecting an app for deletion Forcing apps to stop 12.09.50.png 12.10.05.png CS/SE Individual Practical 17 / 44 CS/SE Individual Practical 18 / 44
Getting started Running an application Managing apps Debugging apps Designing layouts with XML Getting started Running an application Managing apps Debugging apps Designing layouts with XML Forcing apps to stop Uninstalling an app 12.10.12.png 12.10.16.png CS/SE Individual Practical 19 / 44 CS/SE Individual Practical 20 / 44 Getting started Running an application Managing apps Debugging apps Designing layouts with XML Getting started Running an application Managing apps Debugging apps Designing layouts with XML Uninstalling an app Uninstalling an app 12.10.23.png 12.10.27.png CS/SE Individual Practical 21 / 44 CS/SE Individual Practical 22 / 44 Getting started Running an application Managing apps Debugging apps Designing layouts with XML Getting started Running an application Managing apps Debugging apps Designing layouts with XML Seeding a NullPointerException (NPE) Try to run the application CS/SE Individual Practical 23 / 44 CS/SE Individual Practical 24 / 44
Getting started Running an application Managing apps Debugging apps Designing layouts with XML Getting started Running an application Managing apps Debugging apps Designing layouts with XML User view of a NullPointerException Change the Eclipse perspective 12.11.54.png CS/SE Individual Practical 25 / 44 CS/SE Individual Practical 26 / 44 Getting started Running an application Managing apps Debugging apps Designing layouts with XML Getting started Running an application Managing apps Debugging apps Designing layouts with XML Dalvik Debug and Monitor Service DDMS perspective with LogCat 09.58.21.png CS/SE Individual Practical 27 / 44 CS/SE Individual Practical 28 / 44 Getting started Running an application Managing apps Debugging apps Designing layouts with XML Getting started Running an application Managing apps Debugging apps Designing layouts with XML Developer view of a NPE Tracking the error back to the code CS/SE Individual Practical 29 / 44 CS/SE Individual Practical 30 / 44
Getting started Running an application Managing apps Debugging apps Designing layouts with XML Getting started Running an application Managing apps Debugging apps Designing layouts with XML Error found, warning visible Bug removed, Java Problem disappears CS/SE Individual Practical 31 / 44 CS/SE Individual Practical 32 / 44 Getting started Running an application Managing apps Debugging apps Designing layouts with XML Getting started Running an application Managing apps Debugging apps Designing layouts with XML Graphical view of XML in editor Source code view of XML in editor CS/SE Individual Practical 33 / 44 CS/SE Individual Practical 34 / 44 Getting started Running an application Managing apps Debugging apps Designing layouts with XML Getting started Running an application Managing apps Debugging apps Designing layouts with XML Outline view of XML in editor The editor (and themes) CS/SE Individual Practical 35 / 44 CS/SE Individual Practical 36 / 44
Getting started Running an application Managing apps Debugging apps Designing layouts with XML Getting started Running an application Managing apps Debugging apps Designing layouts with XML Changing the theme (Holo light) Changing the theme (Theme Light) CS/SE Individual Practical 37 / 44 CS/SE Individual Practical 38 / 44 Getting started Running an application Managing apps Debugging apps Designing layouts with XML Getting started Running an application Managing apps Debugging apps Designing layouts with XML Adding widgets with drag and drop The graphical layout is updated CS/SE Individual Practical 39 / 44 CS/SE Individual Practical 40 / 44 Getting started Running an application Managing apps Debugging apps Designing layouts with XML Getting started Running an application Managing apps Debugging apps Designing layouts with XML XML source automatically updated too Undo changes in the editor CS/SE Individual Practical 41 / 44 CS/SE Individual Practical 42 / 44
Getting started Running an application Managing apps Debugging apps Designing layouts with XML Getting started Running an application Managing apps Debugging apps Designing layouts with XML Errors in XML code Errors in XML can be subtle 15.59.11.png 15.59.44.png CS/SE Individual Practical 43 / 44 CS/SE Individual Practical 44 / 44
Recommend
More recommend