Professional Documents
Culture Documents
What is Android? What do you need in order to learn Android? Installation and Configuring Eclipse for the development. Basic Eclipse concept. How to Start.
Overview
What do you need in order to learn Android? Installation and Configuring Eclipse for the development. Basic Eclipse concept. How to Start.
What is Android?
An open source Linux-based operating system intended for mobile computing platforms. Bought by Google in year 2005, original owned by Android Inc. led by Andy Rubin. Includes a Java API for developing applications. It is not a device or product
History(Not so important)
Linux Kernel
Works as a HAL Device drivers Memory management Process management Networking
Libraries
C/C++ libraries Interface through Java Surface manager Handling UI Windows 2D and 3D graphics Media codecs, SQLite, Browser engine
Android Runtime
Dalvik VM
Dex files Compact and efficient than class files Limited memory and battery power
Core Libraries
Java 5 Std edition Collections, I/O etc
Application Framework
Applications
Overview
What is Android?
Installation and Configuring Eclipse for the development. Basic Eclipse concept. How to Start.
Java!
inheritance, method overriding interfaces, casting exceptions debugging reading API documentation
Eclipse
easy to pick up quickly, though
Hardware ?
The emulator that is part of the Android toolset Also Known as AVD. Or your Android Smart Phones.
Overview
Steps
Install JDK Install Android SDK Install Eclipse Install Eclipse Plug-ins for Android
Installation - JDK
JDK is required to run Eclipse and develop Android applications. Installation Process
Download the latest version of JDK from
http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html
Install the downloaded JDK Add the path of the JDK's 'bin' directory to the system
Get Eclipse
Complete information is also here: http://developer.android.com/sdk/installing.html Download Eclipse Indigo
http://www.eclipse.org/downloads/packages/eclipseide-java-ee-developers/indigosr2
After downloaded, decompress in a directory name eclipse Note, there is no installation for eclipse. Once it is decompressed, you are ready to run it. But you can only start eclipse by opening a file browser and double clicking on eclipse.exe
Select SDK Platform-tools. Download each API version. However, dont download every package within the API version (it takes to long). Instead, select SDK platform, samples, Google api and then the package for you phone. Download Android Support package And, Google USB Driver package
AVD
Click OK
Click Next and then Finish. Afterwards, restart Eclipse Specify SDK location (next 3 slides)
Must do this every time start a new project in a new location (at least in Windows)
Overview
What is Android? What do you need in order to learn Android? Installation and Configuring Eclipse for the development. How to Start.
Workbench Terminology
Menu bar Tool bar Perspective and Fast View bar Outline view Resource Navigator view Bookmarks view Text editor
Properties view
Tasks view
Java Perspective
Java-centric view of files in Java projects
Java elements meaningful for Java programmers
Java project
package class field method
Java editor
Java Perspective
Browse type hierarchies
Up hierarchy to supertypes Down hierarchy to subtypes
Type hierarchy
Java Editor
Hovering over identifier shows Javadoc spec
Java Editor
Java Editor
On-the-fly spell check catches errors early
Preview
Eclipse Shortcuts
Shortcut Ctrl+Space Ctrl + D Ctrl + Shift + DEL Ctrl + DEL F3 Alt+Left Alt+Right Ctrl+L CTRL + M Description Context sensitive content completion suggestions while editing Java code. Deletes line Delete until end of line Delete next element
Opens editor to selected element (type) or navigate to the declaration of the selected variable
Backward History Forward History Go to Line Maximize or maximize current tab.
CTRL + I
CTRL + D
Corrects indentation.
Delete row
More on :http://www.vogella.com/articles/EclipseShortcuts/article.html
Overview
What is Android? What do you need in order to learn Android? Installation and Configuring Eclipse for the development. Basic Eclipse concept.