Feb 112013
 

A basic introduction to getting setup with Appcelerator’s Titanium SDK.

Appcelerator’s Titanium is an SDK that can be used to create iOS, Android and mobile web applications using JavaScript.

If you are already familiar with another scripting language (for most of you this would likely be Lua) then you will find it is not a huge struggle to come to grips with the basics of JavaScript/Titanium.

The first thing you need to do is obviously download the SDK, which you can do here.

Once you have done that you will launch Titanium Studio and make sure you have the required SDKs installed. In my case this was only Xcode 4.2+ for iOS development. (*At the time of writing I wasn’t playing with Android yet, I am now, see the note at the bottom of the post for info on that.)

If you have Xcode 4.2+ installed but are being told the iOS SDK cannot be found then you can remedy this by opening terminal and typing in the following command;

1
sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer

From there you can choose to create a new project and select your target devices.

You will see a number of things under the “App Explorer” tab in the left sidebar but the place your code will go is, within your new project, Resources / app.js.

This is where you start coding!

There are many great tutorials (written and video) available online for Titanium and I hope to add to those shortly (Platino tutes in due course!) but in the meantime wanted to write this brief run down on how to get set up and into a new project.

I hope you will enjoy learning about Appcelerator’s Titanium SDK and JavaScript – I am still a little green myself but already I am finding it an incredibly useful SDK and look forward to mastering it.

Stay tuned – new tutorials and sample code are coming!

Peach Pellen

@peachpellen

*For Android you will want to download the Android SDK here, then unzip it, places it in the desired location (for me this is Users/peachpellen) and then run tools/android and choose what you want to install. (I installed everything from 2.2 up.)

Like this post? Subscribe to the monthly newsletter!

 

  2 Responses to “Appcelerator’s Titanium SDK – Getting Started”

  1. Are you using alloy? I would appreciate it if you could post a tut on alloy. I cant really find to much on alloy and mvc is a totally new concept to me.
    Thanks!

  2. Yay! Look forward to your excellent tutorials. Thanks!

 Leave a Reply

(required)

(required)

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Notify me of followup comments via e-mail. You can also subscribe without commenting.