How to preserve HTML in formatted strings

Android TextView widgets can display formatted text — <b>, <i>, hyperlinks, etc. — but the formatting is stripped away if you pass the string through String.format(), or if you do any concatenation on the string. Tip # 1: To preserve HTML formatting, you need to URL encode the text so the formatting code is preserved,…

July 27, 2011 | by

Fixing text colors on an AlertDialog when using Theme.Light

I ran into an interesting little quirk while working on the About dialog for our app. Android lets you combine groups of settings into styles so you can easily apply them to various UI elements. These styles are often collected into themes that can be applied to change the overall look of the activities in…

July 25, 2011 | by

Amazon S3 Folders

When given the task of uploading a couple files to Amazon S3 using Java, it seemed pretty straightforward after breifly looking at the AWS SDK for Java. I have to admit that my knowledge in the area was next to nothing, but none the less I jumped in and started coding, glossing over the details.…

July 18, 2011 | by

A Week’s Roundup

This week was my first week back after going on a road-trip vacation (4500km no less) with my wife and young son, and I had a lot of catching up to do.  Andromo is moving forward at a very rapid rate at this point and this week was no exception. The biggest news for this…

July 15, 2011 | by

Milestone: First Successful Android App Build

We’re making quick progress now! After a few issues yesterday with Ant, we were successful in generating the first ever Android app using Andromo. Of course, we’ve been compiling Android apps for months now using our test suite and local tools, but this was the first time doing it live using the andromo.com web application…

July 13, 2011 | by

Images: What size do we want?

Android devices come in many different sizes and shapes; for the most part, if you design your apps properly they will work just fine on any device, automatically adjusting to fit the available space. One nice feature built into Android is the ability to store multiple versions of an image in an app, so it…

July 12, 2011 | by

Google Plus

This is just all kinds of awesome. 🙂 Try out the interactive demo below: http://www.google.com/intl/en_uk/+/demo/ While there, click on the little pluses to watch some (really well done!) videos, too.

July 12, 2011 | by

The truth about gravity

I ran into a bit of confusion this week while setting up a layer list for the background of our dashboard activity. (A layer list is just a list of drawable items that will get drawn on top of each other, one after the other, much like layers in Photoshop.) One of the items in…

June 24, 2011 | by

Using Git

We’ve been using Git as our version control (revision control, source control management, whatever you want to call it) system since we started working on Andromo, and so far I’ve loved it. There has been a bit of a learning curve but overall it’s been so much better then (and don’t laugh) Visual Source Safe…

June 24, 2011 | by

A Brief History of App Crunchiness

Flash Back: February 2011. It’s cold and dark up here in Canada. North of North Dakota. You drink beer so your blood doesn’t freeze. You plug your car in to keep the oil from turning into a solid lump… It can make you a bit crazy when it’s dark in the morning and then dark…

June 13, 2011 | by