• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
A Taste of Ice Cream Sandwich in a Gingerbread World
 

A Taste of Ice Cream Sandwich in a Gingerbread World

on

  • 1,298 views

 

Statistics

Views

Total Views
1,298
Views on SlideShare
1,298
Embed Views
0

Actions

Likes
0
Downloads
22
Comments
0

0 Embeds 0

No embeds

Accessibility

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    A Taste of Ice Cream Sandwich in a Gingerbread World A Taste of Ice Cream Sandwich in a Gingerbread World Presentation Transcript

    • A Taste of Ice Cream Sandwich in a Gingerbread World by Andy Dyer
    • About Me● Senior Android Developer at ChaiONE in Houston, TX● Android apps on Google Play - DeliRadio, Music Library, Beer Explorer● Hobbies/Interests - Vinyl collector, coffee & beer snob, burger aficionadoEmail: abdyer@gmail.comTwitter: @dammitandyG+: gplus.to/abdyer
    • A Taste of Ice Cream Sandwich in a Gingerbread World or...
    • KeepinAndroid Trill* *trill /tril/ noun: true and real
    • Ice Cream Sandwich vs Gingerbreadusage in Music Library Free
    • Key UI Differences● Action bar/overflow menu vs options/context menu● OK/Cancel button order● Themes/styles● New controls
    • Approaches for Supporting MultipleVersions of Android● Multiple apps... bad● Different layouts for each version... better● Ice Cream Sandwich in my Gingerbread...yum
    • Case Study: Beer Explorer
    • ActionBarSherlock● Wraps Android Support Library● Delivers Holo theming to Gingerbread devices● Supports list navigation, tabbed navigation, action bar buttons, and overflow menuactionbarsherlock.com
    • Integrating ActionBarSherlock1. Include source as library project in Eclipse2. Include Android Support Library in build path3. Set theme in manifest:<application android:theme="@style/Theme.Sherlock">4. Set drop-down view resource if using list navigation:ArrayAdapter<CharSequence> adapter = ArrayAdapter.createFromResource( this, R.array.action_list, R.layout.sherlock_spinner_item);adapter.setDropDownViewResource( R.layout.sherlock_spinner_dropdown_item);
    • Using ActionBarSherlock● getActionBar() => getSupportActionBar()● getActivity() => getSupportActivity()● getFragmentManager() => getSupportFragmentManager()● FragmentActivity => SherlockFragmentActivity, etc. for various activity types● Method overrides use ActionBarSherlock types
    • Ignition Library● UI components● HTTP wrapper library● HTTP caching framework● Remote image loader● Helper classes for easier API backwards compatibility, intents, diagnostics, and more● Friendlier and more robust implementation of AsyncTaskgithub.com/kaeppler/ignition
    • Using the Ignition Library for BeerExplorer● IgnitedHttp for API requests and caching● IgnitedAsyncTask for making API requests asynchronously● RemoteImageView for loading images from URL
    • Launchpad LibraryHttpTask & ApiRequestclasses● Combines IgnitedHttp and IgnitedAsyncTask● Wraps caching and GSONgithub.com/abdyer/launchpad
    • What It Do?
    • Keep Android Trill