Giter VIP home page Giter VIP logo

androidguide's Introduction

Introduction

Prismatic just released our first native Android app! Download it here.

This is the internal guide I wrote to motivate some early Android decisions and educate everyone on the platform. This guide is intended for anyone from a new android engineer who just wants to write code as fast as possible, to designers who are interested in committing style changes or assets to the android repo.

Let us know if you have any feedback or additions! [email protected]

Summary

  • Get your computer & environment set up to commit code! This covers git, Android Studio and Genymotion setup: guide
  • We've chosen to support all devices Android 4.0.3 (API 15) and above - details
  • We prefer stock and widely supported libraries over 'rolling our own' whenever possible - details
  • We are creative and take advantage of the unique attributes of Android and new ideas we want to implement. - details
  • All designs are relative and focus on fragment reuse - details
  • We'll use the play store to beta test with real users as early as possible. - how
  • Android libraries: These are all the libraries we use in the app today: libraries
  • Using Gradle - Here are some customizations we made to our gradle settings: build.gradle
  • Design resources: fonts, colors, icons, stencils for sketch and photoshop. A guide to how we added animations to the app: resources
  • General education and other android resources: education
  • Play Store: scripts to automate publishing new builds to the Play Store: from your computer, jenkins
  • Intents: a handy app to debug how your app handles intents: play store
  • dp & sp: remember to always use density independent pixels (dp) with all measurements and scale-independent pixels (sp) with fonts. dp is your friend but will still require specific testing, and there are tools for when you want to generate assets at multiple densities - details
  • generating assets: assets needs to be generated in multiple sizes for the different screen density buckets. there are tools for doing it automatically from sketch & photoshop - details
  • user facing strings: they should all be in one file for easy editing and translation - details
  • start & end vs left & right: in xml, those two are the same thing(s) and should always have the same measurements. They are specifically there to support right to left languages - details

Acknowledgements

Thank you to Mohammad Almalkawi, Saud Khan, Ade Oshineye, Paul Matthews, Ben Manes, and our very astute beta tests and the many authors of these libraries!

Let me know if you have any feedback or tips on email or Twitter. More Prismatic open source available here.


Wiki home | Android app | Prismatic Github | Prismatic | My email | My Twitter

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.