Augmented reality using Appcelerator Titanium

I was always interested in Augmented Reality apps. Since the first time I’ve got a smart phone with GPS and Accelerometer sensors, I’ve been experimenting with them to enhance the usability of apps and games. AR apps go even further...

Read More…

Titanium Gesture recognition

Titanium Gestures class provides a way to define and detect gestures. You can define your own gestures, by providing array of points, that defines shape and provide callback function for each shape. It is also possible to detect gestures from...

Read More…

QuickTiGame2d for Titanium

Titanium was designed to create native apps on multiple platforms, but that doesn’t mean, that one can’t create a game using Titanium. In fact, there are some modules that will ease game development using Titanium Appcelerator. The...

Read More…

Titanium Push Notification without 3rd parity service

Push notifications is a great way to notify your users about new additions, improvmenets and other action about your app. Using Urban Airship is a great way start, but what if someone wants a free service, or simply doesn't want to rely on...

Read More…

Any format countdown

Titanium Countdown class displays (and updates) time left provided by user. Time can be provided in any time units, and they will be recalculated to specified time units. It is possible to specify which units or text will appear in countdown and...

Read More…

Handling raw accelerometer data in Titanium apps

Handling accelerometer in real mobile phone might be quite tricky. While in emulator that data is almost always perfect (haven't tried in windows 7 phone emulators, from what I've seen it's pretty decent emulator), the value in real...

Read More…

Customized progressbar in Titanium

For now there is a pretty limited options for users to customize progressbar for both IOS and Android platforms. But slider, on the other hand, has pretty advanced customization. As usage of slider and progress bar is pretty similar, we can take...

Read More…

Choosing picture from gallery or camera

Yesterday I got my mind blown. I was creating a battle system prototype using Titanium, for one of the games we are working on. And just for fun, I thought I'll add an option to choose picture of your enemy from gallery or shoot the new one...

Read More…

Storing data in Titanium application

Appcelerator Titanium has one really great feature that I haven't seen in other SDK. It's called app properties, which allows you to store simple values or objects for application, for example, high score, level where user currently is,...

Read More…

Snow for your Titanium app

Titanium Ace Snow object creates a falling snowflake effect for your application window. It is possible to set quantity and speed of flakes, and also provide image of custom snowflake. This object also provides methods to start or stop snowing...

Read More…

About Appcelerator Titanium mobile

When I first tried Appcelerator Titanium, it wasn't pretty stable, wasn't well documented, there were a lot of memory leaks, and you usually needed to dive into each platforms native language, to fix something, or achieve what you want...

Read More…

Titanium - Switching between windows

Here is a simple example of switching between two windows using Titanium. We load first window with application. Button in first window opens second window over first one. Button in second window closes it and it automatically goes back to the...

Read More…

Displaying HTML in a webview in Titanium

Although Titanium API provides native application experiences, there are still some reasons you may want to use webview. So here is a snippet, how you can show a website in webview inside a native app: //create a window where to show a...

Read More…

HTTP requests for API in Titanium

If you want to create mobile applications, chances are you will be using some sort of API to get/send information. For example, creating a facebook, twitter or a flickr app. For that you'll probably need to send HTTP requests with some...

Read More…

Get current users location in Titanium

And here is how you can easily retrieve users location based on GPS coordinates and even find street address, where user currently is. In IOS or Android development it would take about 10 times more code to do same thing. // get current...

Read More…

Google Maps in Titanium

Here is how you can easily create a map view and add annotations to it using built in Titanium Google Maps API: //namespace Map = {}; //here we will store our map Map.view = null; //function to create a map Map.createView = function()...

Read More…

Simple Titanium Example

Here is a simple titanium example of creating, window, label, button and adding event to button: //namespace var main = {}; //create a window main.win = Ti.UI.createWindow({ backgroundColor:'#000' }); //create a view...

Read More…

Installing Titanium

So what is Appcelerator Titanium, it's a platform for crossplatform application development (in our case mobile application). You can use javascript to develope applications for IOS, Android and even Blackberry. Titanium is not a webpage in...

Read More…