Your SlideShare is downloading. ×
0
Mobile Application Development With Android
Mobile Application Development With Android
Mobile Application Development With Android
Mobile Application Development With Android
Mobile Application Development With Android
Mobile Application Development With Android
Mobile Application Development With Android
Mobile Application Development With Android
Mobile Application Development With Android
Mobile Application Development With Android
Mobile Application Development With Android
Mobile Application Development With Android
Mobile Application Development With Android
Mobile Application Development With Android
Mobile Application Development With Android
Mobile Application Development With Android
Mobile Application Development With Android
Mobile Application Development With Android
Mobile Application Development With Android
Mobile Application Development With Android
Mobile Application Development With Android
Mobile Application Development With Android
Mobile Application Development With Android
Mobile Application Development With Android
Mobile Application Development With Android
Mobile Application Development With Android
Mobile Application Development With Android
Mobile Application Development With Android
Mobile Application Development With Android
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

Mobile Application Development With Android

10,889

Published on

'Mobile-Application-Development-with-Android.ppt

'Mobile-Application-Development-with-Android.ppt

Published in: Technology, Education
4 Comments
6 Likes
Statistics
Notes
  • plese any one mail this to krishna_reddy12@rocketmail.com
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • It's very useful for all ..........
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • its very useful,,,,:)
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • This is very valuable and important for Android UI features and will be so much helpful to many developers and designers working with android. Great work keep posting such valuable information in future too
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
No Downloads
Views
Total Views
10,889
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
1,176
Comments
4
Likes
6
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Mobile Application Development with ANDROID A.UMASHANKAR 06078115
  • 2. Agenda <ul><li>Mobile Application Development (MAD) </li></ul><ul><li>Intro to Android platform </li></ul><ul><li>Platform architecture </li></ul><ul><li>Application Framework & API </li></ul><ul><li>Application building blocks </li></ul><ul><li>Development tools </li></ul><ul><li>Hello Android </li></ul><ul><li>Porting application to Mobile </li></ul>
  • 3. Few reasons to go MAD. . . <ul><li>Smart Phones </li></ul><ul><ul><li>Internet access anywhere </li></ul></ul><ul><ul><li>Social networking </li></ul></ul><ul><ul><li>GPS and Google Maps </li></ul></ul><ul><li>Millions of mobile users </li></ul><ul><li>Open standards </li></ul>
  • 4. Introduction to Android <ul><li>Open software platform for mobile development </li></ul><ul><li>A complete stack – OS, Middleware, Applications </li></ul><ul><li>An Open Handset Alliance (OHA) project </li></ul><ul><li>Powered by Linux operating system </li></ul><ul><li>Fast application development in Java </li></ul><ul><li>Open source under the Apache 2 license </li></ul>
  • 5.  
  • 6. Android APIs ❑ android.util ❑ android.os ❑ android.graphics ❑ android.text ❑ android.database ❑ android.content ❑ android.view ❑ android.widget ❑ com.google.android.maps android.app ❑ android.telephony ❑ android.webkit
  • 7. Application building blocks <ul><li>Activity </li></ul><ul><li>IntentReceiver </li></ul><ul><li>Service </li></ul><ul><li>ContentProvider </li></ul>
  • 8. Activities <ul><li>Typically correspond to one UI screen </li></ul><ul><li>But, they can: </li></ul><ul><ul><li>Be faceless </li></ul></ul><ul><ul><li>Be in a floating window </li></ul></ul><ul><ul><li>Return a value </li></ul></ul><ul><ul><li>Activity refers to (J)Frame in Swing </li></ul></ul>
  • 9. Intents <ul><li>Think of Intents as a verb and object; a description of what you want done </li></ul><ul><ul><li>E.g. VIEW, CALL, PLAY etc.. </li></ul></ul><ul><li>System matches Intent with Activity that can best provide the service </li></ul><ul><li>Activities and IntentReceivers describe what Intents they can service </li></ul>
  • 10. Intent Recievers <ul><li>Components that respond to broadcast ‘Intents’ </li></ul><ul><li>Way to respond to external notification or alarms </li></ul><ul><li>Apps can invent and broadcast their own Intent </li></ul>
  • 11. Services <ul><li>Faceless components that run in the background </li></ul><ul><ul><li>E.g. music player, network download etc… </li></ul></ul>
  • 12. ContentProviders <ul><li>Enables sharing of data across applications </li></ul><ul><ul><li>E.g. address book, photo gallery </li></ul></ul><ul><li>Provides uniform APIs for: </li></ul><ul><ul><li>querying </li></ul></ul><ul><ul><li>delete, update and insert. </li></ul></ul><ul><li>Content is represented by URI and MIME type </li></ul>
  • 13. Android User Interfaces Hierarchy of Screen Elements <ul><li>Different Layouts </li></ul><ul><ul><li>Linear Layout </li></ul></ul><ul><ul><li>Absolute Layout </li></ul></ul><ul><ul><li>Table Layout </li></ul></ul>
  • 14. Comparing Android UI Elements to Swing UI Elements Comparing Android UI Elements to Swing UI Elements <ul><li>Activities in Android refers almost to a (J)Frame in Swing. </li></ul><ul><li>Views in Android refers to (J)Components in Swing. </li></ul><ul><li>TextViews in Android refers to a (J)Labels in Swing. </li></ul><ul><li>EditTexts in Android refers to a (J)TextFields in Swing. </li></ul><ul><li>Buttons in Android refers to a (J)Buttons in Swing. </li></ul>
  • 15. AndroidManfest.xml <manifest> This is the root node of each AndroisManifest.xml. It contains the package-attribute, which points to any package in out Activity. Other Activities-path will base relative to its value.
  • 16. <application> Root element containing declarations of the application-level components contained in the package. This element can also include global and/or default attributes for the application, such as a label, icon,theme, required permission, etc.Quantity: 0 or 1. <activity> An Activity is the primary thing for an application to interact with the user. The initial screen the user sees when launching an application is an activity, and most other screens they use will be implemented as separate activities declared with additional activity tags. <intent-filter> Declares what kind of Intents a component supports. In addition to the various kinds of values that can be specified under this element, attributes can be given here to supply a unique label, icon, and other information for the action being described.
  • 17. <action> An action-type that the component supports. Example: . <category> A category-type that the component supports. Example: Some other Tags Available…… <meta-data> <receiver> <service> <provider>
  • 18. Application Development Steps <ul><li>Download and Install the Android SDK and Test the Emulator. </li></ul><ul><li>Installing JDK and JRE(1.5 or above) </li></ul><ul><li>Install Eclipse. </li></ul><ul><li>Install ADT plugin for Eclipse </li></ul>Creating HelloWorld Application
  • 19. Application development contd., New > Project… <ul><li>Select Android project in wizard menu </li></ul>
  • 20. Application development contd.,
  • 21. Application development contd., Main Activity>> Main.xml>>
  • 22. Application development contd., AndroidManifest.xml>>
  • 23. Application development contd., >>Running Your First Application
  • 24. Application development contd., Output in the emulator
  • 25. Application development contd., Uis using Java way
  • 26. Porting Applications to Mobile <ul><li>Resource files are bundled to .apk file archive </li></ul><ul><li>Bundled by aapt tool </li></ul><ul><li>One .apk file archive is a Single application </li></ul>
  • 27. Interesting things to do <ul><li>Android is open source </li></ul><ul><li>Opportunities for researchers </li></ul><ul><li>Get the source, compile and update the device image </li></ul>
  • 28. References <ul><li>http://developer.android.com </li></ul><ul><li>http://code.google.com/android </li></ul><ul><li>http://anddev.org </li></ul>
  • 29. Thank You Queries

×