Mobile Rules

Crash-Only An Android app doesn’t need exit code. Loose Address/Type-Driven Coupling The way you hand off from one screen to another in Android is with an Intent. An Intent has a Target, an Action, a URI, and a data type (as in Internet media-type, MIME type), along with some ancillary stuff. You can specify a target, essentially a class name, and control passes to that class. Or you can specify an action (make a phone call, view something, delete something) and its URI and or media-type, and let the system pick the right software to deal with it. Remove Decoration We advise people that, since mobile-device screens are small, that they have to focus on data not decoration; get rid of all the headers and trailers and sidebars and toolbars that you can, so that the user gets the maximum-possible amount of payload.

android is based on loose coupling (intents) for interactions between apps. that seems to have worked ok for the web.

Leave a comment