Archive for the ‘Titanium’ Category

London Titanium Meetup – July 2012

Monday, July 23rd, 2012

In Just over a week we will have another Titanium London meetup, we have some exciting talks and demos for you. I hope you can make it.


Titanium Mobile Tip 1

Saturday, July 21st, 2012

Android Development Tip – for Titanium Mobile Developers.

This is, what I guess will be, the first of many byte-sized tips, tricks, hints, whatever you want to call it, that can help speed up and optimise Titanium Mobile development. I will most likely post these up as and when I come across them, in the hope they will be of use.

When working with the android emulator and a device, you may be testing on both simultaneously. If, like me, you jump between command line and Titanium Studio you may find it easy to build for emulator via the command line or create builds with unit tests in mind (eg. jasmine-titanium / jasmine-node).

In this case you can easily install the apk to your device using the command:

adb -d install -r /path/to/app.apk

Quite often, Studio will not be able to do this as it sees more than one device. the “-d” flag will look for an attached device connected via USB.

Titanium Mini Browser [update]

Wednesday, May 30th, 2012

A while back I forked Rafael Kellermann Streit’s mini browser code via github, and started providing android support to this nice little piece of code. It wasn’t as mature as I needed it, so I began to add my required functionality to it, such as local HTML files, custom controls and expanding the existing features a little. This really is the beauty of github.

So if you ever use a mobile webview for the purpose of presenting remote or local html documents and want a nice CommonJS module to do that, please take a look at the fork.

I have submitted a pull request to Rafael, so lets see if he wants to incorporate this into his branch. I will however be supporting and expanding on this code for some time to come. If you have any requests or comments leave them here or on my github page.