Overview
 

 

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.

original owned by Android Inc.  It is not a device or product  .  Includes a Java API for developing applications.What is Android? An open source Linux-based operating system intended for mobile computing platforms.  Bought by Google in year 2005. — led by Andy Rubin.

History(Not so important) .

.

Linux Kernel • • • • • Works as a HAL Device drivers Memory management Process management Networking .

Browser engine . SQLite.Libraries • • • • • C/C++ libraries Interface through Java Surface manager – Handling UI Windows 2D and 3D graphics Media codecs.

I/O etc… .Android Runtime • Dalvik VM – Dex files – Compact and efficient than class files – Limited memory and battery power • Core Libraries – Java 5 Std edition – Collections.

Application Framework • API interface • Activity manager – manages application life cycle. .

Applications • Built in and user apps • Can replace built in apps .

How to Start. .Overview  What is Android?    Installation and Configuring Eclipse for the development. Basic Eclipse concept.

casting exceptions debugging reading API documentation  Eclipse – easy to pick up quickly. method overriding interfaces. though .  Java! – – – – – inheritance.Prerequisite For Android Apps Development.

. Or your Android Smart Phones.Hardware ?   The emulator that is part of the Android toolset Also Known as AVD.

How to Start. .Overview   What is Android? What do you need in order to learn Android?   Basic Eclipse concept.

Android .Steps Install JDK Install Android SDK Install Eclipse Install Eclipse Plug-ins for Android Sample Project: Hello.

com/technetwork/java/javase/downloads/jdk7-downloads-1880260.oracle.  Installation Process Download the latest version of JDK from http://www.Installation .html Install the downloaded JDK Add the path of the JDK's 'bin' directory to the system .JDK  JDK is required to run Eclipse and develop Android applications.

add it to Environment Variables: .JDK (Cont.Installation .) • Installation Process (Cont.) For Windows.

0_04 .JDK (Cont.Installation .7. you should be able to see following messages in your command prompt window or terminal on typing: C:\Users\Gaurav>javac -version javac 1.)  Test If you have successfully installed JDK.

eclipse. decompress in a directory name eclipse • Note. Once it is decompressed.exe .android.org/downloads/packages/eclipseide-java-ee-developers/indigosr2 • After downloaded. But you can only start eclipse by opening a file browser and double clicking on eclipse. there is no installation for eclipse.html • Download Eclipse Indigo – http://www.com/sdk/installing.Get Eclipse • Complete information is also here: http://developer. you are ready to run it.

com/sdk/index. – install in c:\Android • After installing SDK.Get Android SDK • Go to http://developer. the SDK manager should run.html • Install – Will check that the correct version of jdk is installed. .android.

However. Google USB Driver package . Download Android Support package And. Download each API version. don‘t download every package within the API version (it takes to long). select SDK platform. samples. Instead. Google api and then the package for you phone.Select SDK Platform-tools.

AVD .

com/sdk/eclipse-adt.android. also see http://developer.Install ADT Eclipse plugin • For instructions.html#installing • Start eclipse .

Install ADT Eclipse plugin • In Eclipse. go to Help -> Install New Software .

com/android/eclipse/ Click OK .Install ADT Eclipse plugin • • Click ‗Add‘ in top right Enter:  Name: ADT Plugin  Location: https://dl-ssl.google.

Install ADT Eclipse plugin • select ‗Developer Tools‘. 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) . click Next Click Next and then Finish. Afterwards.

Install ADT Eclipse plugin .

Install ADT Eclipse plugin .

Install ADT Eclipse plugin .

 .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 Message area Stacked views Editor Status area 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 Selected type’s members .

Java Editor • Hovering over identifier shows Javadoc spec .

Java Editor  Method completion in Java editor List of plausible methods Doc for method .

Java Editor • On-the-fly spell check catches errors early Click to see fixes Problem Quick fixes 37 Preview .

Delete row More on :http://www.com/articles/EclipseShortcuts/article. 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.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. CTRL + I CTRL + D Corrects indentation.html .vogella.

.Overview     What is Android? What do you need in order to learn Android? Installation and Configuring Eclipse for the development. Basic Eclipse concept.

Sign up to vote on this title
UsefulNot useful