Android is an open-source software stack that includes an operating system, middleware and key applications for mobile devices. It was developed by Google and uses the Linux kernel. The Android platform allows developers to write applications that are distributed through the Android Market or on a developer's own website. Applications are written in Java and run on the Dalvik virtual machine.
9. http://eglobiotraining.com/
Android Applications
• Multiple applications, running simultaneously
• User may switch between running applications
• Background services
• Copy and paste
10. http://eglobiotraining.com/
Distributing Android Application
• Android market
• Self-publish on your own website
• Use a third party app store
11. http://eglobiotraining.com/
Android Market
• $25 registration fee for developers
• Developer receives 70% of each sale
• Remaining amount goes to carriers
• Google does not take a percentage
13. http://eglobiotraining.com/
Data Synchronization
“ The best way to synchronize these various
pieces of information is to let the device do it on
its own while you’re not looking, so you never
have to think about it. Once you’ve logged into
your Google account on an Android-powered
phone it automatically synchronizes all your
accounts and Gmail information so everything is
always available.”
14. http://eglobiotraining.com/
Open Source Project
• http://source.android.com
• Apache 2.0 and GPL v2
• Git repository
15. http://eglobiotraining.com/
Android Applications
• Are written in a Java language
• Run on the Dalvik virtual machine
16. http://eglobiotraining.com/
Dalvik VM
• Not a Java VM
• Design constraints: slow CPU, little RAM
• Will run on OS without swapspace
17. http://eglobiotraining.com/
Development Tools
• Android SDK
• Eclipse plug in
Android SDK
• Android emulator
• Command line tools
• Documentation
• Example application
19. http://eglobiotraining.com/
Intents
“an intent is a simple message object that
represents an ‘intention’ to do something.”
“an intent is an abstract description of an operation
to be performed.”