Category Archives: Android

Targeted broadcasting of multithreaded results.

Okay, so here’s a basic problem. You’re building an iOS application (or an Android application) which needs to download an image from a remote site for display in a view. So you write code similar to the following: – (void)setImageUrlTest:(NSString … Continue reading

Posted in Android, iphone, Objective C++ | Leave a comment

Please resize your designs to test if they work!

*sigh* I remember months ago making this rant on my Facebook account. Yet it still continues. Okay, look: if you’re laying out a user interface for Android or for iOS, remember that on iOS the minimum feature size someone’s finger … Continue reading

Posted in Android, iphone | Leave a comment

Learning to fly, and Jeppesen’s map data on Garmin is wrong.

It’s been a while since I’ve posted, I know. But I have a good excuse. I’ve been learning to fly. Flying is the coolest thing I’ve done in a long time. And in the past six months I’ve gone from … Continue reading

Posted in Android, iphone, Projects | Leave a comment

Come work for me at Cartifact!

If you are in the Los Angeles area, have a couple of years (or a few decades!) of experience writing software in Java (or heck, if you’re fresh out of school and want to sink your teeth into developing for … Continue reading

Posted in Android, C++, iphone, Java, Objective C++ | Leave a comment

Drawing scaled images in Android is expensive.

So I wrote a custom view which displays a list of bitmaps. The way this works is to draw a grid of images by loading them from disk, then drawing those images using Canvas.drawBitmap(Bitmap, Rect, Rect, Paint). And during scrolling … Continue reading

Posted in Android, Things To Remember | 2 Comments

UI Performance

I just spent the weekend rewriting an Android application for performance. When I first start learning a UI framework, be it for iOS, Android, Java Swing, GWT, MacOS, Windows, or X, the two questions I first want to answer are: … Continue reading

Posted in Android, iphone | Leave a comment

On Memory Leaks in Java and in Android.

Just because it’s a garbage collected language doesn’t mean you can’t leak memory or run out of it. Especially on Android where you get so little to begin with. Now of course sometimes the answer is that you just need … Continue reading

Posted in Algorithms, Android, Java | 3 Comments

The things in Android that keeps tripping me up.

android:layout_weight When building a layout, the biggest thing that keeps going through my mind is “how do I get this object to lay itself out so it consumes only what is left in a linear layout flow?” And the answer … Continue reading

Posted in Android, Things To Remember | Leave a comment

And then Apple changes the Rules. Again.

So I uploaded J2OC, and had lost interest in it. After all, who needs a second “let’s recompile Java into Objective C” in order to build iPhone and Android applications, if Apple isn’t going to allow it? Then Apple does … Continue reading

Posted in Android, iphone, Java, Objective C++ | Leave a comment

Something Funny Happened To Me On The Way To Release.

So I started playing with parsing Java class files, creating a cross compiler capable of converting Java class files into Objective C files. I even had a sufficient amount of Apache Harmony running so I could use a good part … Continue reading

Posted in Android, iphone, Java, Papers | Leave a comment