Programmer Friday: Make it work, make it right, make it fast

twistypath.png

When you build software, it’s easy to get wrapped up in the wrong details or to get ahead of yourself.

Programmers sometimes optimize code prematurely. Or we apply unnecessary patterns, structures and frameworks. This makes our work more complex than it needs to be.

Newer programmers seem to fall into this trap more, but experienced people also get things mixed up occasionally. I certainly do. So: one thing at a time. Continue reading “Programmer Friday: Make it work, make it right, make it fast”

Android Friday: Help your designer bridge the app gap

ravine.png

Sometimes you, the Android developer, will work with designers who have the time and knowledge to think of everything. They create complete, detailed designs for every screen and interaction. They cover both web, iOS and Android. They regularly use both Android and iOS themselves. They understand the strengths and conventions of each platform.

These projects are delightful. Unfortunately, all projects are not like this.

Continue reading “Android Friday: Help your designer bridge the app gap”

Android Friday: Let Activities encapsulate their creation

stone-doors-within-doors.png

Opening screens from other screens in Android apps is straight forward: create an Intent object, stuff some parameters into it, use it to launch the other Activity, and dig out the passed parameters at the other end.

Unfortunately, if you blindly follow Googles standard examples of how to do this, you will end up sprinkling potential bugs around your codebase. Let’s look at how to tighten it up a bit.

Continue reading “Android Friday: Let Activities encapsulate their creation”