Some useful tips and techniques for developing mobile apps across multiple different brands, presented by mobile developer, Joana Cruz e Costa, at Droidcon 2011.
11. Branding headache? | Here’s your painkiller Resource project strings SVN commit images Android specific resources Update to head properties Android project Build.xmlCopies all resources from branded resources to the android res folder Android run with branded res
12. Branding headache? | Here’s your painkiller Layout folder – card_details_activity.xml Not branded styles.xml branded
13. Make your life easy Separate content from style Standardize and automate Focus on development by enabling other people to do the “boring stuff”!
14. Any Questions? (...and yes, we are recruiting! If you are shy, just send your CV to joana@masabi.com)
Hinweis der Redaktion
I’m an android developer at Masabi, a company that masters in developing apps for passengers to securely buy and display tickets on their phones.
It might be better to show you a promo video of what we do, rather than talking about the company itself.
10
Developers of mobile applications know exactly how difficult and frustrating app coding can sometimes get. The problem intensifies further while writing code for multi-branded mobile applications. Each brand wants its own set of features, color schemes, images, text and so on. How can we ease the pain ? Create an ant target for each of your brandings. For each single target you can add different files (e.g. images) and set an app name. You can even use the same file names (but stored under a different location) and you can build your brand-apps pretty fast.The main downside comes when you have lots of different brands and/or lots of different resources. Changing any aspect of the branding (adding/removing/renaming resources) can become quite tedious.
Branded resources :We then have an automated build script that generates this folder according to the brands that are committed in the Resources Project (*our UKRailResources project*) that has all the resources (values, texts colours, dimensions, images, etcetc) for all the brands