Tackling Android Fragmentation Dev:Mobile Inmeta consulting 16 klocs – not rocket science.

Slides:



Advertisements
Similar presentations
Android 4.0 'Ice Cream Sandwich'. As officially announced during the 2011 Google I/O, the upcoming version of Android is called Ice Cream Sandwich, a.
Advertisements

Andrea Federici 102/12/2013Google Inc.. Android #1 Android #2 Google Play Google Play vs. Android Market Play Store Apps Why Android is Useful in Education.
Programming with Android: Module Overview
Introduction CS5011/CS4032: Mobile Computing Bruce Scharlau, University of Aberdeen, 2012.
Powered By : Riddhi Softtech. Application Divide in Three Parts :- Admin Android AppUser Android AppAdmin Web Module.
VIPI - VIRTUAL PORTAL FOR INTERACTION AND ICT TRAINING FOR PEOPLE WITH DISABILITIES National ViPi Workshop 03/10/2011, Larnaca, Cyprus
Rashida Jamil WHY COMPANIES ARE IN NEED OF MOBILE DEVELOPERS.
Mobile Protection Overview
DotNetNuke Mobile Development -- options, tools and approaches
Programming with Android: System Architecture
CE881: Mobile and Social Application Programming Simon M. Lucas Quiz, Walkthrough, Exercise, Lifecycles, Intents.
CE881: Mobile and Social Application Programming Simon M. Lucas Menus and Dialogs.
Mobile Gadget Roundup A look at some popular devices legal professionals use to get work done.
Mobile Apps Workshop. Overview 1. The App Marketplace 2. What Makes a great App, design tips 3. Build and Deploy - Development Costs / Timescales.
M E N T O R M A T E, L L C. A L L R I G H T S R E S E R V E D. 2 Android Application Step by Step Eleonora Todorova Boyan Iliev.
Android basics. About Android Linux based operating system Open source Designed for handheld devices Developed by Android Inc. Google (2005) Open Handset.
Cosc 5/4730 Android: “Dynamic” data.. Saving Dynamic data. While there are a lot of ways to save data – Via the filesystem, database, etc. You can also.
Mobile App Development Using: Presented by Tyler Richey Images from
Cosc 5/4730 Android Navigation: Menus, ActionBar/ToolBar, and Navigation Drawer.
Intro to Android For the iOS fan Denver Java Users Group January 11, 2012 Mike Wolfson.
Steve Lamb - QAD QAD Enterprise Applications and Mobile Devices.
Things to download: This PowerPoint techandbehavior.com/flashcard/FlashcardWorkshop.pptx The app source code techandbehavior.com/flashcard/App.zip The.
Cosc 4730 Android TabActivity and ListView. TabActivity A TabActivity allows for multiple “tabs”. – Each Tab is it’s own activity and the “root” activity.
Data Storage: Part 1 (Preferences)
© by Pearson Education, Inc. All Rights Reserved. 1 Introduction to Android From “Android: How to Program” By Paul Deitel and Harvey Deitel.
Programming Concepts. Derive a new class from Activity of the framework Prepare the data beforehand, e.g., vertices, colours, normal vectors, texture.
Android Activities 1. What are Android Activities? Activities are like windows in an Android application An application can have any number of activities.
@2011 Mihail L. Sichitiu1 Android Introduction GUI Menu Many thanks to Jun Bum Lim for his help with this tutorial.
1 Thomas Lippert Senior Product Manager - Mobile What’s new in SMC 5.0.
Downloading Lumi Show on Android Devices Through our technology, people gain insight, instantly.
© by Pearson Education, Inc. All Rights Reserved. 1 Introduction to Android From “Android: How to Program” By Paul Deitel and Harvey Deitel.
Understanding Xamarin Development Matt
GO MOBILE By: Cindy Collins.  Some websites have what I call single serving content: you’ll go there once, and not return until you need it again.
Copyright© Jeffrey Jongko, Ateneo de Manila University Editing ListAdapter Data part 2.
Action Bar Action Bar Contains Logo Application Name Options Menu SW in Android 3.0 and above was HW in Older Versions.
Android History.
Copyright© Jeffrey Jongko, Ateneo de Manila University Deconstructing HelloWorld.
Android Application Lifecycle and Menus
PAYware Mobile Android Comparison June 2013 For Internal Use Only.
CS378 - Mobile Computing More UI - Part 2. Special Menus Two special application menus – options menu – context menu Options menu replaced by action bar.
Tablet Trends The Present and Future of Tablets and Mobiles Conn McQuinn, Puget Sound ESD
Lecture 8 the Preference Menu. Settings... Sudoku settings s Music Play background music Hints Show hints during play We add some strings to the strings.xml.
Rapidsoft Technologies has been engaged in Android applications development since Google introduced its mobile OS,. Today Android is world’s leading.
Mobile Software Development for Android - I397 IT COLLEGE, ANDRES KÄVER, WEB:
Return to Home! Go To Next Slide! Return to Home! Go To Next Slide!
School of Engineering and Information and Communication Technology KIT305/KIT607 Mobile Application Development Android OS –Permissions (cont.), Fragments,
Android App Development Presented By, Handy Apps
Android UI Patterns by Peter Pascale, Vladan Pulec.
Fragments and Menus Chapter 4 1. Objectives Learn three different types of menus: options, context, and popup Learn to configure the ActionBar and Toolbar.
Introduction to android
Android Programming - Features
Introduction FSM Connector
CS240: Advanced Programming Concepts
Browsers and Web Platforms
Operating System.
APK Downloader
Android 4.0 Ice Cream Sandwich
Mobile Application Development BSCS-7 Lecture # 11
THE VLE THAT MAKES TEACHING & LEARNING EASIER
Physical activities and activity tracker
العدد تذكيره وتأنيثه مقدمة
AND ANDROID DEVICE Android Operating System. CONTENTS  Introduction of android  Android versions  Upcoming Android  Pure Android  Most popular mobile.
Android Mobile apps development services company in India
Top Mobile Apps Development Company Services
Google Hangouts Google Hangouts is a instant messaging service. Hangouts supports text, voice and video conversations, and is cross-platform on the.
Benefits and Wellness – MDLIVE
Korea Software HRD Center
Grading Assignments in Google Classroom
Mobile Programmming Dr. Mohsin Ali Memon.
Presentation transcript:

Tackling Android Fragmentation Dev:Mobile Inmeta consulting 16 klocs – not rocket science

Source: Twitter /

HTC 3G SLIDE On sale May 2010 Got Gingerbread May 2011 X

Android ICS 7.3% (All versions) Honeycomb 2.7% Gingerbread (2.3) 65% Froyo (2.2) still at 19.1 % As of February 2012 Phones with no ICS upgrade plan still sold This will continue iOS 61% on iOS 5 or above in 15. days! Source:

WHO CARES?

«Prove that it is feasable, and not overly difficult to, write single APK, native android apps that works well across android versions and form factors»

ICS/ Honeycomb tabs ActionBar & Home Navigation Action Items ViewPager

Contextual Actionbar Tab Navigation … with ListView multiselect

Android ICS 7.3% (All versions) Honeycomb 2.7% Gingerbread (2.3) 65% Froyo (2.2) still at 19.1 % As of February 2012 Phones with no ICS upgrade plan still sold This will continue iOS 61% on iOS 5 or above in 15. days! Source:

<uses-sdk android:minSdkVersion=”7" android:targetSdkVersion="14” />

public class TargetSDKVersionExample extends Activity { public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); public boolean onCreateOptionsMenu(Menu menu) { MenuInflater inflater = getMenuInflater(); inflater.inflate(R.menu.menu, menu); return true; }

<item android:showAsAction="ifRoom|withText" />

ICS Gingrerbread

<uses-sdk android:minSdkVersion=”7" android:targetSdkVersion="10” />

ICS Gingrerbread

Official Android 3 & 4 features backported Very simple to use; download using SDK manager and include JAR file in project Includes Fragment API & DialogFragment Loader API ViewPager, Pager Adapter & FragmentPagerAdapter SearchView Simple Actionbar implementation provided in samples source:

No action bar Code «infection» Cannot extend MapActivity since you have to extends custom Activity class

Written by Jake Whorton Easy to use (git clone) Includes & based on support libraries Elaborate. Support for wide range of Honeycomb and ICS features Actionbar Navigation Modes, Tabs and spinners in the action bar. Contextual Action Bar / ActionMode The ICS feature "split action bar“ Plugin for MapActvity (!) Apache License Version 2.0

We have used the support libraries, through ActionBarSherlock to get ICS looking apps on pre-ICS phones (back to 1.6 supported) The price Must use a custom theme Must extends SherlockActivity classes Must use overloaded methods, and use getSuppportMenuInflater() etc.

WHAT Introduced in Android 3.0 Reusable UI components Have their own lifecycle Can add their own items to actionbar etc. WHY Code Reuse Fragments are integrated into the ICS SDK

Actionbar uses TabListeners for tab navigation onTabSelected(ActionBar.Tab tab, FragmentTransaction ft) Source:

Declared in layout Added/removed from code using FragmentManager

HTC Sensation Button (100dpx 100dp)

Samsung Galaxy Tab 10.1

Huawei IDEOS

xlarge screens are at least 960dp x 720dp. large screens are at least 640dp x 480dp. normal screens are at least 470dp x 320dp. small screens are at least 426dp x 320dp

Excellent support for providing resources based on device configuration Versions mcc310- mnc004 (US/Verizon) Car/desk (docking) Night mode ETC Source:

Provide differnet layout for different screens and orientations - backed by the same activity Provide a different Activity class for a different device/layout. Example one for phone and one for tablet

Dispatch Activity (condition) Phone Activity Tablet Activity Intent New Intent

The Android OS and devices are both forward- and backwards compatible in regard to OS versions Android has excellent support for layout on devices with different screen sizes and densities By using the ActionbarSherlock/Fragment activities you can write code that use fragments and deploy on tablets and phones By using ActionbarSherlock you can get the «ICS look» on your Android 1.X + devices today. Including the kindle fire.

“I am an old man and have known a great many troubles, but most of them never happened” – Mark Twain