Bootstrapping Android Best Practices
Like human language, programming languages are
- One part syntax,
- One part vocabulary, and
- One part culture/socio-linguistics.
Too often when learning a new language we focus on syntax and vocabulary, but not enough on culture/best practices. Sure in our courses we might learn that the French like wine and baguettes, and wear berets, but on the ground its not really that simple (n'est pas?). In this tutorial we "immerse" ourselves in the culture of two projects to simultaneously learn syntax, vocab and best practices for getting things done in Android Development.
We have selected a few repositories, 2 which show best practices, and 2 pairs of pidgins vs best practices which show not fully formed Android development.
Replica Island
Three Blogger clients
Google IO Sched 2011
We have selected a few repositories, 2 which show best practices, and 2 pairs of pidgins vs best practices which show not fully formed Android development.
Beginner-Friendly Best Practice Learning Grounds
MyTracks- Beginners: Using the GPS
- Beginners: Localization
- Beginners: Choosing the right tool in your toolbox for saving persistent application data
- Advanced: Using library projects
- Advanced: good project management (instructions end to end: how others can set up the code and contribute to the project)
Replica Island
- Beginners: cute flashing button click animations
- Advanced: Game engine
- Advanced: letting users decide which buttons/touches do what action in your app
Pidgins vs. Best Practices Pairs
Two page-curl repos- Don't lock the orientation unnecessarily
- Do provide booleans so other devs can change arbitrary decisions (1 page book vs. 2 page book, margins vs no margins)
Three Blogger clients
- Do try to use the ContentProvider, even if its hard to figure out when you are first learning.
Google IO Sched 2011
- Advanced: using fragments for phones and tablets (warning: this creates many layers of abstraction so its hard to navigate as a beginner)
No comments:
Post a Comment