Upload
daniellejoyce
View
298
Download
8
Tags:
Embed Size (px)
DESCRIPTION
Citation preview
Android and Android Phoneshttp://eglobiotraining.com
What is in this presentation?
• Why android?• How to get started?• “Deep” Dive• How to Publish?• Resources Available
http://eglobiotraining.com/
Why Android?
Open Market Place
• Instant publishing and feedback!• You can create “ANYTHING”
http://eglobiotraining.com/
Why Android?
Background Applications
Finally useful apps• fBook notification• Contextual based applications• …yourapp.apk
http://eglobiotraining.com/
Why Android?
Develop on ANY platform
• Windows• Linux• Mac
http://eglobiotraining.com/
Why Android?
Not just on mobile!
• Netbooks• MIDs• Desktop Phone?
http://eglobiotraining.com/
How to get started?
Things to install
• Java Developers Kit(JDK)• Eclipse or any other IDE• Android SDK• Android Developers Tool(ADT)
http://eglobiotraining.com/
“Deep” Dive
Applications in Java
Import Java libraries Import Android libraries• GUI• Widgets• Animation
http://eglobiotraining.com/
“DEEP” Dive
Activity Lifecycle
• Void onCREATE• Void onStart()• Void onRestart()• Void onResume()
http://eglobiotraining.com/
http://eglobiotraining.com/
• Void onPause()• Void onStop()• Void onDestroy()
Application Fundamentals
Activities (Application!= Activity)• What the user see on the screen• 1 app can have multiple activities• Draw using xml and call by Activity.setContentView()
Services• Runs in background indefinitely• E.g. music playback even when activity is stopped
http://eglobiotraining.com/
http://eglobiotraining.com/
Broadcast receivers• Does nothing but receive and react to broadcast
announcements• E.g. SMS receiver
Content providers• Data that can be accessed ny the application• SQlite or any file system
http://eglobiotraining.com/
Intent• Intent object holds the content of the message• E.g. intent is used when you want to start a new
activity and intent will carry the name of the activity and content needed to be pass through
Android Manifest• Declaring the application’s components e.g.
libraries• Identifying any permissions the application
expects to be granted• Mostly auto generated by ADT in Eclipse
http://eglobiotraining.com/
How to Publish?
Export and signing your app• Export your app from Eclipse project• Application will be exported as .apk• Sign myapp.apk with Keytool and Jarsigner
(within JDK)
http://eglobiotraining.com/
Publishing on Android Market• Sign up as an Android Developer at
developer.android.com• USD$25 sign up fee• Upload and monitor
http://eglobiotraining.com/
Market Business Policies
• Payment -70% developer- 30% telco• Currently paid apps in UK and US• No obscene materials (porn etc)• 24 hour return policy• Dispute resolution handled by developer
and user directly• Google has the right to remove
application if found of violation
http://eglobiotraining.com/
Resources
• Android Resources developer.android.com
• Open Source Codes for Android Application Code.google.com/hosting
http://eglobiotraining.com/
• Online tutorials
• Developers Group Google Group(Android Beginner, Developer,
Discuss) Codeandroid.org(Singapore Android Group)
http://eglobiotraining.com/
GUI XML Tool for Android• DroidDraw
Hacking/Flashing Android ROMs• XDA Developers
List of all application on Android Market
• http://www.cyrket.com/
Respectfully submitted to:Prof. Erwin M. Globio, MSIT
http://slideshare.net/daniellejoyce