I.

What is Android Android is a software stack for mobile devices that includes an operating system, middleware and key applications. The Android SDK provides the tools and APIs necessary to begin developing applications on the Android platform using the Java programming language, since 2008. Now android is the best mobile platform application powered by Google, http: //developer.android.com/.

II. Features a. Application framework components enabling reuse and replacement of

b. Dalvik virtual machine optimized for mobile devices c. Integrated browser based on the open source WebKit engine d. Optimized graphics powered by a custom 2D graphics library; 3D graphics based on the OpenGL ES 1.0 specification (hardware acceleration optional) e. SQLite for structured data storage f. Media support for common audio, video, and still image formats (MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, GIF)

g. GSM Telephony (hardware dependent)

Android Training Session

Page 1

h. Bluetooth, EDGE, 3G, and WiFi (hardware dependent) i. j. Camera, GPS, compass, and accelerometer (hardware dependent) Rich development environment including a device emulator, tools for debugging, memory and performance profiling, and a plugin for the Eclipse IDE

III. System Architecture

Picture 1: System Architecture

Android Training Session

Page 2

Eclipse installed as GUI editor android http://www.IV. access location information. Media library. Developers are free to take advantage of the device hardware. Eclipse Classic 3.google. maps. basic platform and environment android style.eclipse. much more. V. b. Add Site d. Eclipse Packages. Other Information a. GanyMede b.xml Android Training Session Page 3 . and others. Android includes a set of C/C++ libraries used by various components of the Android system. 3D library etc. All applications are written using the Java programming language. browser. contacts.5 platform. and much. Window – Preferences. c.org/downloads/. go to Classic.com/android/eclipse/.2 / Galileo 3. These capabilities are exposed to developers through the Android application framework. Eclipse – Help – Software Updates. run background services. https://dl-ssl. SMS program. Android offers developers the ability to build extremely rich and innovative applications. Open Eclipse.com/android/repository/repository.google.com/sdk/index. Android SDK installed as emulator. Eclipse Update Manager install plugins for Android Development Tools (ADT) go to link https://dl-ssl. Android will ship with a set of core applications including an email client. Available Software Tab. add notifications to the status bar.4.android. By providing an open development platform. Configure Android path installation from folder android SDK downloaded earlier. go to http://developer. calendar. Getting Started with Android a.html c. Some of the core libraries such as system C library. set alarms.

Subject Material Android Training Session A. (2 sessions) 1. SDK) 4. AVD. Features. Create *. Install (command shell) 6. Intent Android Training Session Page 4 . Requirement Development (ECLIPSE. Create First App (HelloWorld). What is Android 2. File Project Structure 5.VI. Beginner Level. Simple Activity. Getting Started. System Architecture.apk Installer File Project. Simple ListView (Object Android XML). Life Cycles Android Picture 2: Life Cycles VII. Life Cycle Application 3. ADT.

6. CheckBoxView. Transaction Case Android Training Session Page 5 . Create Dialog. Simple MusicPlayer SharedPreferences. get default R icon Simple TabWidget. 4. get content URI list embed. 4. RSS Parsing. GalleryView (Object View) Customize Database SQL Lite. 5. GPS). Receive SMS. Customize ListView. 8. GPS access Project Advanced. 2. 8. Intermediate Level. Mobile News RSS Reader Project Advanced. SharedPreferences Access Device (Bluetooth. AutoCompleteTextView. Advanced Level. 3. 6. Icon. Click Listener. 2. Twitter. WIFI.B. EMAIL other Phone Activities Customize Database SQL Lite. admobView Simple Phone Sim Card Activity. Sync Method – ProgressBar ImageLoader ListView. 5. Simple HTTP Connection Menu. SMS. (3 sessions) 1. (2 sessions) 1. Thread. VideoView Project Advanced MapActivities. Translator Powered by Google Project Advanced. 7. 3. Simple JSON. using API google C. Simple Database SQL Lite WebView. Facebook API integrated Project Advanced Membership – Client Server Side. 7.

Update ADT Android Training Session Page 6 . Update Site plug-in ADT (Help -> Software Updates) Picture 3: Update ADT Picture 4: Install . plug-in ADT (Android Developer Tool) 1.VIII. Update Environment Site SDK. First Application (Eclipse GUI opened) A.

Update SDK & AVD Manager (Window -> Android SDK and AVD Manager) Picture 6: SDK Manager Android Training Session Page 7 . Update SDK & AVD Manager (Window -> Preferences) Picture 5: Install SDK 3.2.

Create AVD Emulator Picture 8: Create AVD Android Training Session Page 8 .Picture 7: Update SDK Manager 4.

Project Variable Input a.1 Application Name: HelloWorld Package Name: im2. e. Create The First App -> Helloworld Picture 9: Create First Project C.org. Project Name: HelloWorld Build Target: Android 2. f. b.B. c. d.main Create Activity: HelloActivity Min SDK Version: 7 Android Training Session Page 9 .sample.

Run As Android Application Picture 11: Run Project in Emulator Android Training Session Page 10 .Picture 10: Script HelloActivity D.

Picture 12: Display Run Project in Emulator E. Project Structure Picture 13: Project Structure Android Training Session Page 11 .

xml => Source Script => Auto-generate Id Unique Variable Local => Storage File (movie. AndroidManifest XML Picture 14: AndroidManifest XML Android Training Session Page 12 .Project Name: HelloWorld Src Gen Asset Res->drawable Res->layout Res->string AndroidManifest. sound etc) => Storage picture layout => XML layout => definition variable global F.

Uses-Permission AndroidManifest.G. http://developer.html Picture 15: Uses-Permission H.permission.xml – Permission.xml Android Training Session Page 13 . Res -> Layout Picture 16: Layout Main.android.com/reference/android/Manifest.

java J. gen R.java Android Training Session Page 14 .java Picture 17: Drawable – R. Res -> Drawable (lpi.I.java Picture 18: HelloActivity. Src (Code Behind) – HelloActivity. mpi. hpi).

xml Android Training Session Page 15 . Next First Project (Two Activities Combined) a.xml (right click in folder res-layout) Picture 19: Create Layout Picture 20: Create Layout login. Create layout login.IX.

xml script Picture 22: login.xml graphical layout Android Training Session Page 16 .Picture 21: login.

Picture 23: main.xml script Picture 24: main.xml graphical layout Android Training Session Page 17 .

xml) Android Training Session Page 18 .Picture 23: HelloActivity (main.

Picture 24: LoginActivity (1) Android Training Session Page 19 .

Picture 25: LoginActivity (2) Android Training Session Page 20 .

Picture 26: AndroidManifest.XML Picture 27: Running HelloActivity Android Training Session Page 21 .

Structure Android Project 5.html Summary: 1. Installation GUI & Editor 3. Developer Guidance Android Training Session Page 22 . Create First Android App 4. Android Platform Description 2.com/resources/tutorials/hello-world. Improvement First Android App 6.android.Picture 28: Running LoginActivity Guidance: http://developer.

Sign up to vote on this title
UsefulNot useful