Quantcast
Channel: Learning Appcelerator Titanium » Tutorials
Browsing latest articles
Browse All 10 View Live

Image may be NSFW.
Clik here to view.

Using windows in Titanium

The most basic element of a Titanium application is the Window. The application must have at least one window, but can have several. Each window is thought off as the ‘container’ (similar to a wrapper...

View Article


Abstracting Databases Access in Titanium Mobile

Mobile applications often need to manipulate data in databases: news, contents, user preferences, etc. Titanium Mobile proposes a complete API, allowing to create databases and manipulate their...

View Article


How to know my app is running in background?

If you want to know if your app is running in the background, listen for the pause event and then you know you are in the background: Ti.App.addEventListener('pause',function(e){ Ti.API.info("APP In...

View Article

Image may be NSFW.
Clik here to view.

Show custom background image when loading

Don’t want to see the Titanium default image when an imageView loading? Try using the defaultImage attribute (url to the default image to display while loading a remote image), see documentation for...

View Article

Ti.Paint Smoothing & correction

Did you ever want Ti.Paint module to be able to use Bezier based smoothing/correction or open the PaintView with an image inside it? Well now you can, David has forked & updated the Ti.Paint...

View Article


How to clear the canvas using Ti.Paint

How to clear the canvas using a shake or orientation change event. Shake: Ti.Gesture.addEventListener('shake', function(e){ painter.clear() }); Orientation change using a function call:...

View Article

Getting started with Kranium.js framework

At Codestrong, the first official conference for Titanium Mobile developers in SF a few months ago, fellow swede Jacob Waller presented his latest project – one awesome app framework built on the...

View Article

How to check for a internet connection

Ever wanted to know if a connection the internet exists before executing some script? Whether it’s downloading a remote image, posting a high score or anything else which requires a connection to the...

View Article


Image may be NSFW.
Clik here to view.

Adding BackgroundModes to your Titanium Project

Since the introduction of iOS 4 Apple has supported background services for the below listed specific tasks. Audio – The application plays audible content to the user while in the background. Location...

View Article


Titanium tilt effect using 3DMatrix

Created by Greg at Artanis Design, the tilt effect uses create3DMatrix & eventListers to control the position of the image on the screen, have a peek through the following tilt.js code: var win =...

View Article
Browsing latest articles
Browse All 10 View Live