Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Android Open Source libraries

Android Open Source libraries

Android, AndroidAnnotation, Android Query, GDG Algiers Algeria, Google Developer Group

Nabil Hachicha

May 15, 2013
Tweet

More Decks by Nabil Hachicha

Other Decks in Technology

Transcript

  1. @nabil_hachicha  +5 years of Java/JEE  Android Developer since

    SDK1.5 :)  Blog http://nhachicha.wordpress.com  @AndroidAnnotations contributor 15/05/2013 GDG Algiers 2013 - Nabil Hachicha
  2. Agenda  Why use open source?  Action Bar Sherlock

     AndroiAnnotations  ORMLite  Android Query  General tips  Q&A 15/05/2013 GDG Algiers 2013 - Nabil Hachicha
  3. Why Open Source?  Better Quality  Developed by many

    passionate developers  Innovation and enhancements over time  Open standards & interoperability  It’s hard to develop App without using open source software  Some common UI patterns are not provided as part of the Android framework.  Pull-to-refresh  Sliding Drawer Menu 15/05/2013 GDG Algiers 2013 - Nabil Hachicha
  4. ActionBarSherlock GDG Algiers 2013 - Nabil Hachicha 15/05/2013  Action

    Bar ?  In-app navigation.  Placing items from the options menu  But API level >11   ActionBarSherlock is an extension of the support library  Provides backwards compatibility for Action bar  From 2.x and up 
  5. AndroidAnnotations 15/05/2013 GDG Algiers 2013 - Nabil Hachicha  Robert

    C. Martin wrote: The ratio of time spent reading [code] versus writing is well over 10 to 1 [therefore] making it easy to read makes it easier to write.  Why do we always need to write the same code over and over?  Juggling with threads,  Loads of anonymous listener classes, tons of unneeded casts... can't we improve that?
  6. AndroidAnnotations 15/05/2013 GDG Algiers 2013 - Nabil Hachicha  AndroidAnnotations

    generate the plumbing code  Lets you concentrate on what's really important
  7. ORMLite 15/05/2013 GDG Algiers 2013 - Nabil Hachicha  ORM

    library that persists POJO to SQLite  Like Hibernate (or JPA) for Android
  8. Android Query 15/05/2013 GDG Algiers 2013 - Nabil Hachicha 

    Lightweight library for doing asynchronous tasks and manipulating UI elements  Async Image download (with cache)  Ajax call with GSON transformer  Inspired by jQuery (JavaScript) Less Code (use chaining)
  9. Apps you should have 4 apps every Android developer should

    know about! 15/05/2013 GDG Algiers 2013 - Nabil Hachicha
  10. DevAppsDirect Beta  https://play.google.com/store/apps/details?i d=com.inappsquared.devappsdirect  lets you run Android

    library demo apps with the press of a button  fastest way to evaluate Android libraries   include screenshot from devices 15/05/2013 GDG Algiers 2013 - Nabil Hachicha
  11. Android UI Patterns  Lists popular UI libraries and provides

    working demo  Provides a direct link to the github repository where the source code is hosted 15/05/2013 GDG Algiers 2013 - Nabil Hachicha
  12. SQLite Debugger  https://play.google.com/store/apps/details?id =oliver.ehrenmueller.dbadmin  Run raw (SQL) queries

     Visual look of the schema  create backups of your DB to a SD Card and restore them later too 15/05/2013 GDG Algiers 2013 - Nabil Hachicha
  13. Misc  The Ultimate Android Library www.theultimateandroidlibrary.com/  AndroidKickStartR :

    http://androidkickstartr.com/ 15/05/2013 GDG Algiers 2013 - Nabil Hachicha