Titanium Mobile Tip 1

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.

Tags: , , , , , , ,

Leave a Reply