Java Reference
In-Depth Information
C H A P T E R 12
Java 7 Meets Android
Developing apps for Android devices is popular these days. Perhaps you would like to
learnhowtodevelopyourownAndroidappswithJava7(althoughyoucannotuseAPIs
and language features newer than Java 5).
Chapter 12 presents a rapid introduction to app development. You first learn about
AndroidarchitectureandthearchitectureofanAndroidapp.Youthenlearnhowtoinstall
theAndroidSDKandaplatformsothatyouhavethetoolsandanenvironmenttobegin
app development. Because the SDK provides an emulator to emulate Android devices,
younextlearnhowtocreateandstartanAndroidVirtualDevice(AVD),whichyoucan
usetotestyourappsinlieuofanactualAndroiddevice.Finally,you'reintroducedtoa
simpleapp,learnhowtocreatethisappviatheSDK,andlearnhowtoinstallandrunthe
app on an AVD.
Note If you want to learn more about Android after reading this chapter, check out
Beginning Android 3 byMarkMurphy(Apress,2011;ISBN:978-1-4302-3297-1).You
mightalsowanttocheckout Android Recipes byDaveSmithandJeffFriesen(Apress,
2011;ISBN:978-1-4302-3413-5). Android Recipes teachesyouadditionalAndroidapp
architecturefundamentals,showsyouhowtoinstalltheEclipseIDEanddevelopanapp
withthatIDE,presentssolutionstovariousappdevelopmentproblems,introducesyou
tovariousthird-partydevelopmenttoolsandtheAndroidNDK,showsyouhowtocre-
ate your own libraries and use third-party libraries, and presents app design guidelines.
Exploring Android and Android App Architectures
The Android Developer's Guide ( http://developer.android.com/guide/
index.html ) definesAndroidasasoftwarestack(asetofsoftwaresubsystemsneeded
todeliverafullyfunctionalsolution)formobiledevices.Thisstackincludesanoperating
system(amodifiedversionoftheLinuxkernel),middleware(softwarethatconnectsthe
Search WWH ::




Custom Search