Your SlideShare is downloading. ×
0
The Merits of Mobile App Development for Android Devices
The Merits of Mobile App Development for Android Devices
The Merits of Mobile App Development for Android Devices
The Merits of Mobile App Development for Android Devices
The Merits of Mobile App Development for Android Devices
The Merits of Mobile App Development for Android Devices
The Merits of Mobile App Development for Android Devices
The Merits of Mobile App Development for Android Devices
The Merits of Mobile App Development for Android Devices
The Merits of Mobile App Development for Android Devices
The Merits of Mobile App Development for Android Devices
The Merits of Mobile App Development for Android Devices
The Merits of Mobile App Development for Android Devices
The Merits of Mobile App Development for Android Devices
The Merits of Mobile App Development for Android Devices
The Merits of Mobile App Development for Android Devices
The Merits of Mobile App Development for Android Devices
The Merits of Mobile App Development for Android Devices
The Merits of Mobile App Development for Android Devices
The Merits of Mobile App Development for Android Devices
The Merits of Mobile App Development for Android Devices
The Merits of Mobile App Development for Android Devices
The Merits of Mobile App Development for Android Devices
The Merits of Mobile App Development for Android Devices
The Merits of Mobile App Development for Android Devices
The Merits of Mobile App Development for Android Devices
The Merits of Mobile App Development for Android Devices
The Merits of Mobile App Development for Android Devices
The Merits of Mobile App Development for Android Devices
The Merits of Mobile App Development for Android Devices
The Merits of Mobile App Development for Android Devices
The Merits of Mobile App Development for Android Devices
The Merits of Mobile App Development for Android Devices
The Merits of Mobile App Development for Android Devices
The Merits of Mobile App Development for Android Devices
The Merits of Mobile App Development for Android Devices
The Merits of Mobile App Development for Android Devices
The Merits of Mobile App Development for Android Devices
The Merits of Mobile App Development for Android Devices
The Merits of Mobile App Development for Android Devices
The Merits of Mobile App Development for Android Devices
The Merits of Mobile App Development for Android Devices
The Merits of Mobile App Development for Android Devices
The Merits of Mobile App Development for Android Devices
The Merits of Mobile App Development for Android Devices
The Merits of Mobile App Development for Android Devices
The Merits of Mobile App Development for Android Devices
The Merits of Mobile App Development for Android Devices
The Merits of Mobile App Development for Android Devices
The Merits of Mobile App Development for Android Devices
The Merits of Mobile App Development for Android Devices
The Merits of Mobile App Development for Android Devices
The Merits of Mobile App Development for Android Devices
The Merits of Mobile App Development for Android Devices
The Merits of Mobile App Development for Android Devices
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

The Merits of Mobile App Development for Android Devices

1,703

Published on

While mobile technology is recognized as transformational or strategic to businesses, 40 percent of SAP and CIO Magazine survey respondents indicated a lack of time or resources to pursue …

While mobile technology is recognized as transformational or strategic to businesses, 40 percent of SAP and CIO Magazine survey respondents indicated a lack of time or resources to pursue opportunities mobile may represent.

With its easy-to-adopt software architecture, the Android platform is a cost-effective and code-friendly solution for IT managers and developers alike.

View the Replay: http://event.on24.com/r.htm?e=485614&s=1&k=6A80319A0B1D6409618E67338E46964C&partnerref=WebsiteSeriesPageOnDemandReplay

Published in: Technology
1 Comment
0 Likes
Statistics
Notes
  • Informative slideshow!

    Its really nice to not just read an example rather, its nice to visualize them in order for a much quicker understanding.

    Continue to share! Thanks:)

    Android App Development
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • Be the first to like this

No Downloads
Views
Total Views
1,703
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
35
Comments
1
Likes
0
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. Social MediaWe want to hear from youT http://twitter.com/SAPStore http://twitter.com/SAPMobile http://facebook.com/sapstore (SAP Store) http://www.facebook.com/sapmobility (SAP Mobile) linkedin.com (SAP Store)© 2012 SAP AG. All rights reserved. 1
  • 2. Webcast HighlightsParticipate in today’s TweetChat about mobile app development #MobileInsightsSAP Mobile Insights Webcast Series http://bit.ly/sapmobileinsightMobile Sense Thought Leadership Series (webcasts & white papers): http://fm.sap.com/mobilesense
  • 3. The Merits of Mobile App Development forAndroid DevicesRanjit MallelaSolution Principal, North America Mobility Business DevelopmentMark WrightPrincipal Systems Consultant, Sybase, an SAP Company
  • 4. Legal disclaimerThe information in this presentation is confidential and proprietary to SAP and may not be disclosed withoutthe permission of SAP. This presentation is not subject to your license agreement or any other service orsubscription agreement with SAP. SAP has no obligation to pursue any course of business outlined in thisdocument or any related presentation, or to develop or release any functionality mentioned therein. Thisdocument, or any related presentation and SAPs strategy and possible future developments, products andor platforms directions and functionality are all subject to change and may be changed by SAP at any timefor any reason without notice. The information in this document is not a commitment, promise or legalobligation to deliver any material, code or functionality. This document is provided without a warranty of anykind, either express or implied, including but not limited to, the implied warranties of merchantability, fitnessfor a particular purpose, or non-infringement. This document is for informational purposes and may not beincorporated into a contract. SAP assumes no responsibility for errors or omissions in this document, exceptif such damages were caused by SAP´s willful misconduct or gross negligence.All forward-looking statements are subject to various risks and uncertainties that could cause actual resultsto differ materially from expectations. Readers are cautioned not to place undue reliance on these forward-looking statements, which speak only as of their dates, and they should not be relied upon in makingpurchasing decisions.© 2012 SAP AG. All rights reserved. 4
  • 5. Today’s Presenter Ranjit Mallela Solution Principal, North America Mobility Business Development Mark Wright Principal Systems Consultant, Sybase, an SAP Company© 2012 SAP AG. All rights reserved. 5
  • 6. Introduction
  • 7. Fastest growing smartphone platformTop Smartphone Platforms3 Month Avg. Ending Apr. 2012 vs. 3 Month Avg. Ending Jan. 2012Total U.S. Smartphone Subscribers Ages 13+ Jan-12 Apr-12 Point ChangeGoogle 48.6% 50.8% 2.2Apple 29.6% 31.4% 1.9RIM 15.2% 11.6% -3.6Microsoft 4.4% 4.0% -0.4Symbian 1.5% 1.3% -0.2More than 107 million people in the U.S. owned smartphones during the three months ending in April, up 6percent versus January. Google Android ranked as the top smartphone platform with 50.8 percent marketshare (up 2.2 percentage points). Apple’s share of smartphone market increased 1.9 percentage points to31.4 percent. RIM ranked third with 11.6 percent share, followed by Microsoft (4.0 percent) and Symbian(1.3 percent).comScore MobiLens: Share (%) of Smartphone Subscribers © 2012 SAP AG. All rights reserved. 7
  • 8. Fewer Apps crashed compared to iOS Crashes Per App Launch: iOS and Android (11/2011-12/2011) Android 3.66% iOS 2.97% 1.47% 0.73% 0.51% 0.15% 1st Quartile 2nd Quartile 3rd QuartileCrittercism © 2012 SAP AG. All rights reserved. 8
  • 9. Important factors for mobile development Multitasking Battery Life Usability Mobile Development Security Stability© 2012 SAP AG. All rights reserved. 9
  • 10. Open Handset Alliance PartnersThe first truly open and comprehensive platform for mobile devices, all of thesoftware to run a mobile phone but without the proprietary obstacles that havehindered mobile innovationAndroid is a software stack for mobile devices that includes an operating system,middleware and key applicationsDevelopment led by Google and it’s Open Handset Alliance Partners. The OHA iscommitted to make their vision a reality: to deploy the Android platform for everymobile operator, handset manufacturers and developers to build innovative devicesKernel source at http://git.android.comIt is opensource (Apache License).Available at http://code.google.com© 2012 SAP AG. All rights reserved. 10
  • 11. Open Handset Alliance PartnersThe OHA is a group of hardware and software developers, including Google,Motorola, Samsung, HTC, NTT DoCoMo, Sprint Nextel and othersGoal Accelerate innovation in mobile Offer consumers a richer, less expensive, and better mobile experienceOHA have developed Android, the first complete, open, and free mobile platform© 2012 SAP AG. All rights reserved. 11 11
  • 12. Open handset allianceHandset Manufacturers SoftwareMobile Operators CommercializationSemiconductor© 2012 SAP AG. All rights reserved. 12
  • 13. Why android applicationdevelopment?
  • 14. Why android application development? It is an open source platform which helps the developers to invest more in their time and understanding clientele needs. Because Android is an open source system, anyone can access the code that drives the system Android is based on Linux which facilitates smooth accessibility to a rich development environment Performance stability and security is boosted as it is based on Linux Kernel. The OS is hence very smooth to operate and less chances of crashing down In case of Android app development, the porting of the application becomes hassle free The investment involved is comparatively low along with considerable reduction in time required for creating an application Develop for a subset of devices based on form factor, density, screen size© 2012 SAP AG. All rights reserved. 14
  • 15. Why android application development? Rich and easy to integrate feature sets Android applications are written in the Java programming language, which is a powerful, mature and very widely adopted language. Java is a language created by Sun Microsystems in the 90′s. It drives a wide range of devices from PDAs, Blu-ray players, smart pens, complex computer software – and even the Amazon Kindle Inter-Application communication is easier Google Play Store — is much more of an open marketplace than Apple‘s iTunes App Store No delay for approval of submitted application. So you can reach your users fast© 2012 SAP AG. All rights reserved. 15
  • 16. Android architecture
  • 17. Android architecture Applications Home Contacts Phone Browser … Application Framework Content View Activity Manager Window Manager Providers System Package Telephony Resource Location Notification Manager Manager Manager Manager Manager Libraries Android Runtime Media Surface Manager SQLite Core Libraries Framework Dalvik Virtual OpenGL | ES FreeType WebKit Machine SGL SSL libc Linux Kernel Flash Memory Binder (IPC) Display Driver Camera Driver Driver Driver Power Keypad Driver WiFi Driver Audio Drivers Management© 2012 SAP AG. All rights reserved. 17
  • 18. Linux kernelAndroid runs on Linux version 2.6 and relies on it for core system services such asdevice drivers, security, memory management ,process managementThe kernel also acts as an abstraction layer between the hardware and the rest ofthe software stack Linux Kernel Flash Memory Binder (IPC) Display Driver Camera Driver Driver Driver Power Keypad Driver WiFi Driver Audio Drivers Management© 2012 SAP AG. All rights reserved. 18 18
  • 19. Linux kernel Libraries Includes a set of C/C++ Media libraries Surface Manager Framework SQLite OpenGL | ES FreeType WebKit Interface through Java SGL SSL libc Surface manager – Handling UI Windows 2D and 3D graphics Media codecs, SQLite, Browser engine WebKit library for fast HTML rendering© 2012 SAP AG. All rights reserved. 19 19
  • 20. Dalvik VM Android Runtime Java Source Java Source Code Code Core Libraries Java Compiler Java Compiler Dalvik Virtual Machine Java Byte Java Byte Code CodeDalvik VM is Google’s Dex Compilerimplementation of Java Optimized for mobile devices Dalvik Byte Key Dalvik differences: Code – Register-based versus stack-based VM – Dalvik runs .dex files – More efficient and compact implementation Java Byte Dalvik Code Executable than .class files – Limited memory and battery power Java VM Dalvik VM – Different set of Java libraries than SDK© 2012 SAP AG. All rights reserved. 20
  • 21. Application framework Application Framework Content View Activity Manager Window Manager Providers System Package Telephony Resource Location Notification Manager Manager Manager Manager Manager Activity manager controls the life cycle of the app Content providers encapsulate data that is shared (e.g. contacts) Resource manager manages everything that is not the code Location manager figures out the location of the phone (GPS, GSM, WiFi) Notification manager keeps track of events such as arriving messages, appointments, etc.© 2012 SAP AG. All rights reserved. 21
  • 22. Android development
  • 23. Prerequisites 1 We’ll need at least basic understanding of how to program in Java/C#. Android programming is done using Java syntax, plus a class library that resembles a subset of the Java SE library (plus some Android-specific extensions) 2 We’ll need some basic OOP concept© 2012 SAP AG. All rights reserved. 23
  • 24. To set up the development environment, we need: Java Development Kit Eclipse IDE Android SDK(JDK 1.5+, 1.6 is preferable)© 2012 SAP AG. All rights reserved. 24
  • 25. Android SDKAn Android Development Tools(ADT) plugin available for Eclipse IDE.http://developer.android.com/sdk/index.htmlEclipse plugin available: https://dl-ssl.google.com/android/eclipse/Tools for debugging, compiling and packaging© 2012 SAP AG. All rights reserved. 25
  • 26. Android SDK. © 2012 SAP AG. All rights reserved. 26
  • 27. Android SDKSupported OS1. Windows XP (32-bit), Vista (32- or 64-bit), or Windows 7 (32- or 64-bit)2. Mac OS X 10.5.8 or later (x86 only)3. Linux (tested on Ubuntu Linux, Lucid Lynx)Supported Development Environment (Eclipse IDE based)1. Eclipse 3.4 (Ganymede) or greater/Eclipse Classic (versions 3.5.1 and higher)2. JDK 1.5 or 1.63. ADT Plugin© 2012 SAP AG. All rights reserved. 27
  • 28. ADT: Android Development Tool, an Eclipse pluginTwo debuggersadb: Android Debug Bridgeddms: Dalvik Debug Monitor Serveraapt: Android Application package toolAll resources are bundled into an archive, called .apk filedx: java byte code to Dalvik executable translator *.java javac *.class dex *.dex aapk *.apk adb run© 2012 SAP AG. All rights reserved. 28
  • 29. Android Development Tool Develop Sign Version Publish application application application application© 2012 SAP AG. All rights reserved. 29
  • 30. Android released versions 1.5 Cupcake 1.6 Donut 2.0/2.1 Eclair 2.2 Froyo 2.3 Gingerbread 3.0 Honeycomb 4.0 Icecream Sandwich 4.1 Jelly Bean© 2012 SAP AG. All rights reserved. 30
  • 31. Application building blocks Content Activity IntentReceiver Service Provider© 2012 SAP AG. All rights reserved. 31
  • 32. ActivityRepresents the presentation layer of an Android application, e.g. a screenwhich the user sees. An Android application can have several activities and itcan be switched between them during runtime of the applicationUser interface container – essentially a screen© 2012 SAP AG. All rights reserved. 32
  • 33. IntentReceiversComponents that respond to broadcast ‘Intents’Way to respond to external notification or alarmsApps can invent and broadcast their own Intent© 2012 SAP AG. All rights reserved. 33
  • 34. IntentsThink of Intents as a verb and object; a description of what you want doneE.g. VIEW, CALL, PLAY etc.System matches Intent with Activity that can best provide the serviceActivities and Intent Receivers describe what Intents they can service© 2012 SAP AG. All rights reserved. 34
  • 35. IntentsSystem picks best component Homefor that actionClient component makes a Contactsrequest for a specific action Photo Gallery GMail Pick Photo PicasaNew components can useexisting functionality Chat Blogger© 2012 SAP AG. All rights reserved. 35
  • 36. ServicesNon-UI component which provides ancillary functionalityCan be same or different processFaceless components that run in the backgroundE.g. music player, network download etc.© 2012 SAP AG. All rights reserved. 36
  • 37. Content providersEnables sharing of data across applicationsE.g. address book, photo galleryProvides uniform APIs for:queryingdelete, update and insertContent is represented by URI and MIME type© 2012 SAP AG. All rights reserved. 37
  • 38. Application structureApplication ManifestSpecifies Activities, Intents and Permissions defined as part of the appResourcesDrawable: Contains graphics resourcesLayout: Contains UI layout informationValues: Contains data content, e.g. string valuesAssetsUsed to store files accessed in raw form© 2012 SAP AG. All rights reserved. 38
  • 39. Signing
  • 40. SigningThe Android system requires that all installed applications must be digitallysigned with a certificate whose private key is held by the applicationsdeveloperThe Android system uses the certificate as a means of identifying the authorof an application and establishing trust relationships between applicationsThe certificate is not used to control which applications the user can installThe certificate does not need to be signed by a certificate authorityAndroid has no default keytool available. For Keytool it relies on JDK keytool© 2012 SAP AG. All rights reserved. 41
  • 41. Distribution of Android Apps
  • 42. Open distributionAs an open platform, Android offers choice. You distribute your Android appsto users in any way you want, using any distribution approach or combinationof approaches that meets your needs. From publishing in an app marketplaceto serving your apps from a web site or emailing them directly users, you arenever locked into any particular distribution platformDistributing through an App Marketplace using Google PlaystoreDistributing your application through emailDistributing through a web site© 2012 SAP AG. All rights reserved. 43
  • 43. Is you application ready for release?Publishing an application means testing it, packaging it appropriately, andmaking it available to users of Android-powered mobile devices for downloadBefore you consider your application ready for releaseTest your application on deviceadd an End User License AgreementSpecify an icon and label in the applications manifestTurn off logging and debuggingVersion your applicationObtain a suitable cryptographic keySign your application© 2012 SAP AG. All rights reserved. 44
  • 44. Publish App Google PlaystoreGoogle Playstore is a hosted service that makes it easy for:Android Users to find and download Android applicationsAndroid Developers to publish their applicationsTo publish your application on Google Playstore you:First need to register with the service using your Google accountMust agree to the terms of service$25 registration feeTo register as an Playstore developer visit:https://play.google.com/apps/publish/signupRequirements enforced by the Google Playstore server:Application must be signed with a cryptographic private key whose validity period ends after22 October 2033Application must define version code, version name, icon and label attributes in manifest© 2012 SAP AG. All rights reserved. 45
  • 45. Publish App Google Playstore© 2012 SAP AG. All rights reserved. 46
  • 46. SAP Mobile Platform
  • 47. Architectural blueprint of the SAP mobile platform SAP Services SAP, Partner, and Custom Apps Native Apps Hybrid HTML5 Apps SMS Apps SAP Store Managed Container Apps Mobility SAP App Dev Tools Third Party App Dev Tools SAP Mobile Platform SAP Afaria Strategy Services Presentation Frameworks HTML5 Native-iOS Native- Native-Win. Hybrid … App Catalog Android Mobile Implementation Services Application Services Application Mobile Mobile Workflow Content Manageme Analytics … Management Commerce Money nt Foundation Services RDS IDM Authenticati oData App Lifecycle Data Sync … Device Management on Proxy Manageme & Caching nt SAP NetWeaver Gateway Sybase 365 SAP Business Third Party Messaging Databases Suite Apps Services© 2012 SAP AG. All rights reserved. 48
  • 48. SUP 2.1.1 delivered December 2011enable productivity apps and full Android supportEnable native apps on all relevant device platforms SDK toolkits for Android, iOS, Blackberry, Windows Mobile Enable online and offline apps Automated user and apps onboarding Security incl. SSO Synchronization Push notifications Connectivity to SAP and 3rd partyEnable Web developer Cross device/platform HTML5/JS/CSS HWC enabling access to native device libraries (e.g. camera access)© 2012 SAP AG. All rights reserved. 49
  • 49. Microapps gallery© 2012 SAP AG. All rights reserved. 50
  • 50. SAP storeThe online destination for SAP and certified partner mobile apps One-stop-shop for mobile apps across all platforms and devices Customers discover, evaluate and buy 24x7 Purchase apps, platform components, services and accessories Incorporates customer specific T&Cs i.e. discounts Visit www.sapstore.com/mobile Self service procurement by Or scan the QR codes: customers Standard SAP revenue recognition rules apply© 2012 SAP AG. All rights reserved. 51
  • 51. Referenceshttp://code.google.com/android/http://android-developers.blogspot.comhttp://code.google.com/p/apps-for-android/http://sites.google.com/site/io/http://www.openhandsetalliance.com/http://source.android.comhttp://www.comscore.com/http://developer.android.com© 2012 SAP AG. All rights reserved. 52
  • 52. Questions?
  • 53. Thank You!
  • 54. Closing and Q&AParticipate in today’s TweetChat about mobile app development #MobileInsightsSAP Mobile Insights Webcast Series http://bit.ly/sapmobileinsight Sept 19th – Fuel Competitive Advantage in Wholesale Distribution Using Mobile Solutions Oct 24th (tentative) – Time Travel: Mobilizing Your HR ProcessesMobile Sense Thought Leadership Series (webcasts & white papers): http://fm.sap.com/mobilesense

×