Sams Teach Yourself Java™ in 24 Hours (Covering Java 7 and Android)

(singke) #1
ptg7068951

Although Android apps are written in Java, they require more than just stan-
dard Java programming tools. Apps require the Java Development Kit, the
Android Software Development Kit (SDK), an integrated development envi-
ronment tailored to Android programming, and drivers for Android devices.


Eclipse is the most popular and best-supported integrated development
environment (IDE) for Android.


In this appendix, you set up all of these tools and make sure they can work
together to run an Android app. Each of the tools is free and can be down-
loaded over the Internet.


Getting Started


You can accomplish Android programming on the following operating
systems:


. Windows XPor later
. Mac OS X 10.5.8 or later (x86)
. Linux


You need to have around 600MB of disk space to install the Android SDK
and another 1.2GB for the Eclipse IDE.


At this point you already should have the Java Development Kit installed
because it was used throughout the hours of the book in conjunction with
NetBeans to run Java programs. Android requires JDK 5.0 or later.


If you still need the JDK for some reason, you can download it from
http://oracle.com/technetwork/java/javase.


APPENDIX D


Setting Up an Android


Development Environment

Free download pdf