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

GDG Algiers DevFest 2013 Cool AndroidLibs

GDG Algiers DevFest 2013 Cool AndroidLibs

Android, TDD, Picasso, Robolectric, FEST, OkHTTP

The source code is here:

Android App
https://github.com/nhachicha/GDGDevFestAlgiers2013Android

Backend
https://github.com/nhachicha/GoogleDevFest2013Algiers

Nabil Hachicha

November 03, 2013
Tweet

More Decks by Nabil Hachicha

Other Decks in Programming

Transcript

  1. Why Open Source? • Better quality ◦ Developed by many

    passionate developers ◦ Innovation and enhancements over time • Open standards & interoperability • It’s hard to develop without it
  2. OkHttp • Efficient Http client, based on java.net. HttpURLConnection or

    Apache HttpClient • Can also be used as as the transport layer for Volley
  3. OkHttp • SPDY support, allows all requests to the same

    host to share a socket. • Transparent GZIP • Silently recover from common connection problems • Recovers from problematic proxy servers and failed SSL handshakes • Connection pooling reduces request latency (if SPDY isn’t available)
  4. OkHttp • SPDY support, allows all requests to the same

    host to share a socket. • Transparent GZIP • Silently recover from common connection problems • Recovers from problematic proxy servers and failed SSL handshakes • Connection pooling reduces request latency (if SPDY isn’t available)
  5. OkHttp • SPDY support, allows all requests to the same

    host to share a socket. • Transparent GZIP • Silently recover from common connection problems • Recovers from problematic proxy servers and failed SSL handshakes • Connection pooling reduces request latency (if SPDY isn’t available)
  6. OkHttp • SPDY support, allows all requests to the same

    host to share a socket. • Transparent GZIP • Silently recover from common connection problems • Recovers from problematic proxy servers and failed SSL handshakes • Connection pooling reduces request latency (if SPDY isn’t available)
  7. OkHttp • SPDY support, allows all requests to the same

    host to share a socket. • Transparent GZIP • Silently recover from common connection problems • Recovers from problematic proxy servers and failed SSL handshakes • Connection pooling reduces request latency (if SPDY isn’t available)
  8. Picasso • Handling ImageView recycling and download cancelation in an

    adapter • Complex image transformations with minimal memory use. • Automatic memory and disk caching.
  9. Robolectric • Run Android tests inside JVM • Instruct Robolectric

    to configure Android differently ◦ use a non-standard manifest file ◦ use French resources on a sideways high-res display (qualifiers)
  10. FEST • Fixtures for Easy Software Testing • Simplify software

    testing by providing a fluent Assertions • Just use assertThat • FEST Android, extension of FEST
  11. TDD • objc-TimesSquare ◦ calendar view for your apps •

    PonyDebugger ◦ Remote network and data debugging for your native iOS app using Chrome Developer Tools • SocketRocket ◦ WebSocket client library • objc-mocktail ◦ stub out HTTP servers in your Objective-C app. • KIF ◦ Keep It Functional - An iOS Functional Testing Framework