Small tools useful for those of us pounding away on titanium everyday
Python Ruby Shell JavaScript
Switch branches/tags
Nothing to show
Pull request Compare This branch is 1 commit ahead, 19 commits behind billdawson:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

tidevtools from Bill Dawson

Includes a script to make a Titanium mobile project, and a script to "eclipsify" a project.

Suggested Steps To Use It

  • Clone this repository.

  • Copy ->

  • Open and change the values -- I think they're self-explanatory.

  • chmod +x *.py

  • Make life easy on yourself and make some aliases. I do this...

    alias mp="/Users/bill/projects/tidevtools/"

    alias ec="/Users/bill/projects/tidevtools/"

    alias an="/Users/bill/projects/tidevtools/"

Usage Instructions

If you're sitting in the root directory of a Titanium project -- the directory containing tiapp.xml -- and you run this, it will build the Android apk for you. If you pass simulator as an argument, it'll also install the app on a running emulator. If you instead pass install, it will install on to an attached Android device. If you don't pass anything as an argument, it just builds the project, producing the .apk file down in build/android/bin.

Makes a Titanium mobile project, including making its entry in the Titanium Developer Sqlite DB (so you see it next time you open Developer).

set ANDROID_SDK environment variable!

Usage: [Project name]

Example: MyProject

That will create a MyProject folder in the folder you specify in the PROJECT_FOLDER variable in your

DEPRECATED -- will not function correctly if you're Titanium SDK source in Eclipse is from 1.8.0 or higher. Replaced by

Does what you expect. Run it while you are sitting in the root of a project (where the tiapp.xml is.)

DEPRECATED Does what you expect. Run it while you are sitting in the root of a project (where the tiapp.xml is.)

Does what you expect. Run it while you are sitting in the root of a project (where the tiapp.xml is.)

If you're sitting in a Titanium project folder (a folder with tiapp.xml) and run this with no options, it checks to see if the project you're sitting in is installed on any connected Android devices. If it is, it gives you options to uninstall from those devices. Also, if it sees that build/android/bin/app.apk is there (i.e., you've built the project at leat once), it gives you options to install the APK on any of the connected devices.

Alternatively, you can run this script from anywhere with the "-u [package_filter]" option, such as: -u com.billdawson

It will then check all your connected Android devices to see if they have any packages whose names begin with the filter you've provided. If it finds any, it gives you the option to uninstall those matching packages from the device(s). You can select one-by-one the ones you want to uninstall (and from which device.)

Alternatively, you can run this script from a Titanium project folder with the -i (--immediate) option, in which case no UI will be displayed and instead the app from your current directory will be uninstalled from all attached Android devices or emulators on which it is installed.

Automatically opens the URL for sending a pull request on github from the current branch. Makes some assumptions (see the script for more details)