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

Building A Popular Open-Source Android Library - Best practices and lessons learned

Building A Popular Open-Source Android Library - Best practices and lessons learned

Building the same components from scratch for your Android projects just doesn’t make sense. This is why libraries are really powerful — you can use them to more easily build your creative projects, saving tons of time. And if you build something cool yourself, why not share it with the world? In this presentation, we briefly look at what it takes to successfully share your code with the world, learning from examples like android-async-http and bugsnag-android.

James Smith

March 18, 2016
Tweet

More Decks by James Smith

Other Decks in Programming

Transcript

  1. USE GRADLE $ android create lib-project --target <target_ID> \ --path

    path/to/your/project \ --package com.mylib \ --gradle \ --gradle-version 1.3.1
  2. HOW TO STRUCTURE YOUR PROJECT # Build configuration build.gradle #

    Tests! src/androidTest/com/mylib/ # Main library classes src/main/com/mylib/