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, Be...
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 contr...
Approaches for Supporting MultipleVersions of Android● Multiple apps... bad● Different layouts for  each version...  bette...
Case Study: Beer Explorer
ActionBarSherlock● Wraps Android Support Library● Delivers Holo theming to Gingerbread  devices● Supports list navigation,...
Integrating ActionBarSherlock1. Include source as library project in Eclipse2. Include Android Support Library in build pa...
Using ActionBarSherlock● getActionBar() => getSupportActionBar()● getActivity() => getSupportActivity()● getFragmentManage...
Ignition Library● UI components● HTTP wrapper library● HTTP caching framework● Remote image loader● Helper classes for eas...
Using the Ignition Library for BeerExplorer● IgnitedHttp for API  requests and  caching● IgnitedAsyncTask  for making API ...
Launchpad LibraryHttpTask & ApiRequestclasses● Combines IgnitedHttp   and IgnitedAsyncTask● Wraps caching and   GSONgithub...
What It Do?
Keep Android    Trill
A Taste of Ice Cream Sandwich in a Gingerbread World
Upcoming SlideShare
Loading in …5
×

A Taste of Ice Cream Sandwich in a Gingerbread World

1,470 views

Published on

Published in: Business, Self Improvement
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,470
On SlideShare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
24
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

A Taste of Ice Cream Sandwich in a Gingerbread World

  1. 1. A Taste of Ice Cream Sandwich in a Gingerbread World by Andy Dyer
  2. 2. 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
  3. 3. A Taste of Ice Cream Sandwich in a Gingerbread World or...
  4. 4. KeepinAndroid Trill* *trill /tril/ noun: true and real
  5. 5. Ice Cream Sandwich vs Gingerbreadusage in Music Library Free
  6. 6. Key UI Differences● Action bar/overflow menu vs options/context menu● OK/Cancel button order● Themes/styles● New controls
  7. 7. Approaches for Supporting MultipleVersions of Android● Multiple apps... bad● Different layouts for each version... better● Ice Cream Sandwich in my Gingerbread...yum
  8. 8. Case Study: Beer Explorer
  9. 9. ActionBarSherlock● Wraps Android Support Library● Delivers Holo theming to Gingerbread devices● Supports list navigation, tabbed navigation, action bar buttons, and overflow menuactionbarsherlock.com
  10. 10. 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);
  11. 11. Using ActionBarSherlock● getActionBar() => getSupportActionBar()● getActivity() => getSupportActivity()● getFragmentManager() => getSupportFragmentManager()● FragmentActivity => SherlockFragmentActivity, etc. for various activity types● Method overrides use ActionBarSherlock types
  12. 12. 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
  13. 13. Using the Ignition Library for BeerExplorer● IgnitedHttp for API requests and caching● IgnitedAsyncTask for making API requests asynchronously● RemoteImageView for loading images from URL
  14. 14. Launchpad LibraryHttpTask & ApiRequestclasses● Combines IgnitedHttp and IgnitedAsyncTask● Wraps caching and GSONgithub.com/abdyer/launchpad
  15. 15. What It Do?
  16. 16. Keep Android Trill

×