Your SlideShare is downloading. ×
Android workshop material
Upcoming SlideShare
Loading in...5

Thanks for flagging this SlideShare!

Oops! An error has occurred.


Saving this for later?

Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime - even offline.

Text the download link to your phone

Standard text messaging rates apply

Android workshop material


Published on

Materi workshop dan seminar Android @STIMATA Pradnya Paramita 1 Desember 2012

Materi workshop dan seminar Android @STIMATA Pradnya Paramita 1 Desember 2012

  • Be the first to comment

  • Be the first to like this

No Downloads
Total Views
On Slideshare
From Embeds
Number of Embeds
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

No notes for slide


  • 1. Android Application Development using JavaReza Yogaswarahttp://fastpathprogramming.comtwitter: @rezayoga
  • 2. Android● What is Android? – Android is a Linux-based operating system designed primarily for touchscreen mobile devices such as smartphones and tablet computers.
  • 3. Platform
  • 4. Platform Highlights● New User Features● New Developer Features
  • 5. System Architecture
  • 6. Dalvik VM ● Dalvik is the process virtual machine (VM) in Googles Android operating system. It is the software that runs the apps on Android devices. Dalvik is thus an integral part of Android, which is typically used on mobile devices such as mobile phones and tablet computers as well as more recently on embedded devices such as smart TVs and media streamers. Programs are commonly written in Java and compiled to bytecode. They are then converted from Java Virtual Machine-compatible .class files to Dalvik-compatible .dex (Dalvik Executable) files before installation on a device. The compact Dalvik Executable format is designed to be suitable for systems that are constrained in terms of memory and processor speed.
  • 7. System Architecture● Runs on top of Linux 2.6.● Dalvik VM optimized for mobile devices.● Integrated browser on the Webkit engine.● Optimized graphics with OpenGL ES.● SQLite database for structured data storage.
  • 8. What You Should KnowObject-oriented programming conceptsSome experience with Java ProgrammingExperience with Eclipse environment helpfulKnowledge of Android capabilities helpful
  • 9. Development Environment● Java SE Development Kit (JDK)● Android SDK Tools: – Android SDK ● – AVD – Dalvik Debug Monitor Server (DDMS)● Android NDK *● ADT + Eclipse IDE
  • 10. Elements● Java● XML resources● Multimedia resources (Raw)
  • 11. Providing Resources MyProject/ src/ res/ drawable/ icon.png layout/ main.xml info.xml values/ strings.xml
  • 12. Application Fundamentals● Written in the Java Programming Language● Compiled into Android package file (.apk)● Each application runs in its sandbox and Linux process● Applications consist of components, a manifest file and resources
  • 13. Activity● Represents a single screen with a user interface● Most applications contain multiple activities● When a new activity starts, it is pushed onto the back stack● User interface can be built with XML or in Java● Monitor lifespan through callback methods like onStart(), onPause(), etc
  • 14. Multiscreen Concepts● Screen size: The actual physical size, measured as the screens diagonals● Screen density: The quantity of pixels within a physical area of the screen● Screen supports – s_support.html
  • 15. Sizes and Densities● Android divides the range of actual screen sizes and densities into: – A set of four generalized sizes > layouts: ● small, normal, large, xlarge – A set of four generalized densities > drawable: ● ldpi(low), mdpi(medium), hdpi(high), xhdpi(extra high)
  • 16. Screen Characteristic● Size, Density, + Orientation(Port and Land)
  • 17. Best Practices Multiple Screens App● Use wrap_content, fill_parent, or dp units when specifying dimensions in an XML layout file● Do not use hard coded pixel values in your application code● Do not use AbsoluteLayout (its deprecated)● Supply alternative bitmap drawables for different screen densities
  • 18. Opportunities
  • 19. Market Comparison Q3
  • 20. Thank you for your attentionKeynote Speaker: Reza Yogaswarahttp://fastpathprogramming.comtwitter: @rezayoga