Welcome to Adam Paxton's personal site for documenting life in Mexico City Cancun, working in mobile development, traveling around a bit, and anything else I can think of.
If you have imported a Titanium Alloy project into Titanium Studio using File > Import, and then find that none of the Run/Debug options are available (iPhone Simulator, Android Emulator, etc), then follow these steps to do a simple config change to get Studio to recognize your app as an Alloy project.
Continue Reading: Unable to Run or Debug Titanium Alloy Project After Importing From Git
I recently created AlloyActionJackson to test Action Bar and Tab Bar functionality in Appcelerator Titanium. I am also using it to test out some custom Holo styling, which I'll detail here.
If you are looking for info on Action and Tab bar stuff, check out this post. If you want to create custom Action Bar and Holo themes for Android apps using Titanium, read on.
When looking around on how to do this, I came upon Rafael Kellermann Streit's very handy post on adding custom Holo themes to Android/Titanium, as well as Juhani Lehtimaki's (I hope I said that right) useful post on how to use both custom themes at once. and I'd like to expand on it a bit and share my experiences. There is some stuff here that is a repeat of his post, and some new stuff as well.
There are some excellent tools and resources for creating custom Holo Themes at the Android Asset Studio. We'll go through two of the tools for generating custom colors.
Continue Reading: Custom Android Action Bar and Holo Themes in Titanium
Appcelerator added Action Bar support for Android around Titanium SDK 3.0, and has been adding more support/changes for stuff like Action Bar Tabs and the Android Search View with each new SDK update.
Alloy Action Jackson demonstrates various Action Bar-related functionality using Titanium Alloy. I'll add more examples as I come across them, and maybe even post a how-to or three.
Continue Reading: Alloy Action Jackson: An Android Action Bar Demo App for Appcelerator Titanium
Continue Reading: Titanium Developer Conference June 28th and 29th 2013
I recently needed to clean up a data file in an Appcelerator Titanium project I was working on by removing the double quotes surrounding some numbers. This is pretty simple to do using Titanium Studio's handy regular expression functionality with Find/Replace.
Continue Reading: Find/Replace in Titanium Studio Using Regular Expressions