Setting up OpenFrameworks/Android to work with RTcmix

Brad Garton
December, 2014



What follows are directions for setting up an OpenFrameworks/Android environment for developing Android apps using RTcmix. I am certain that some of the APIs, etc. are probably out-of-date, but I became really frustrated trying to coordinate the Android/Eclipse/OpenFrameworks intersection, and I believe this should probably work. In about a year or so it probably won't. Oh joy. By the way, I am writing this in December, 2014 in case it matters.

This will use the latest (0.8.4 as of this doc) OpenFrameworks package for Android, but the Eclipse project and Android SDKs are older. But when updates (with newly-annoying 'cutesy' names and insane numbering schemes) get pushed out every few months or so, not that much older. In any case, this should build applications that will run on most extant Android devices.


At this point, you can unpack and try the "BasicRTcmix" project. I like to put it in the same directory as the "androidEmptyExample" ("RTcmix-android/of_v0.8.4_android_release/apps/myApps"), but you can really put it wherever you'd like. The procedure is the same as for the "androidEmptyExample" project -- go to File -> Import and take it from there.

The first time you load "BasicRTcmix", it will do a long compile of all of RTcmix. Once you start working it will usually only do incremental compiles (i.e. not so time-consuming) on the files you change, unless you clean the project and do a complete recompile.

Also, I don't think the little red exclamation-mark will appear with "BasicRTcmix". It may appear if you import the other android examples that come with the OpenFrameworks distro. Do the same procedure to set the "Android 4.2.2" or "Android 4.3" as you did with the "androidEmptyExample" and the ofAndroidLib.

NOTE: the basic files to modfy for fun RTcmix-ing are in the "src" menu of the main "BasicRTcmix" menu:




Good luck with this! -- brad