Today I will try to talk about my experience as a freelancer that uses Titanium for all his mobile projects and how to build your career around the community.
After Appcelerator launched the Marketplace I managed to create and post an iOs only module that is able to create QR codes directly on the device without using an online service.
It can generate all types of codes (from 1 to 40) and with any level of correction (L, M, Q, H). You can also customize the size of the resulting QR code and it will try to adapt itself to this size to remain perfectly sharp and fully visible.
Most of the devices nowadays are equipped with an accelerometer that detect the orientation of the device or the movements the user is doing with it.
Titanium exposes this functionality through its APIs so let’s take advantage of that
Dan Tamas was invited to talk about Titanium Appcelerator at TheEvnt 2011 in Cáceres, Spain, May 14th and the purpose of this talk was to present the advantages of using this framework to develop applications for iPhone, iPad and Android devices.
It was an introductory talk in order to present to the Spanish developers an alternative to ObjectiveC and the very popular Java.
Titanium Appcelerator Mobile has implemented for iOs the Bonjour (or ZeroConf if you want) network protocol that allows you to connect to another device found in the same network.
Before starting with the boring part – I mean the code – let’s watch a video with a small demo showing 3 devices playing together
Networking with Titanium Mobile on iOs
Almost any UI element can be animated and transformed, allowing you to add to your application some eye candy or simply take advantage of predefined elements to give them a new role. For those familiar with CSS3 animations this will come very easy as the concept it’s pretty the same.
Animations
Pointless to say, an animation will change one or more properties of an element form the current stage to another (set by us) in a period of time.
This doesn’t need any kind of introduction. You can use the location on the devices to find the user’s place and act accordingly. One thing good to know is that this needs the approval of the user, and for iOs > 3.2 you need to set a purpose property to let Apple know what you need it for.
Titanium.Geolocation.purpose = "GPS user coordinates";
How geolocation works?
The day 4 comes very late because it was a very busy period so I had no time to continue the tutorials.
Ok, so we should treat in this tutorial the media part of Appcelerator. This includes images – display and capture them with the camera and how to play movie and sounds.
Display images with Appcelerator
To display an image we use the ImageView. The image view has some simple arguments, like any view in the Titanium framework. I won’t repeat them except for the important one. Obviously the source if the image is the one we are interested in set by the image argument, and accepts local or remote files.
Welcome to day 2 with Titanium – Tables and pickers. A short reminder of what we’ve done till now:
Believe it or not, the table is the most used UI element in the iPhone SDK. If you play a little with the applications that come with your “iDevice” you will see that almost all the native apps have tables. Sometimes they are so well designed and the appearance so changed that you don’t even think of them as tables. But in time, while you will learn more, you will be able to spot it and a lot of ideas will come to you
. Also I think that that the pickers are some sort of “undercover tables” so that’s why I’ll present both in the same tutorial.
Today is going to be the first day of the Titanium tutorial for beginners and a pretty long post.
Before we begin here is the recap of what we have written until now (and updated what will come): Seven days with Titanium – day 0 – introduction
As specified in the Introduction post I will try in this lesson to say some things about navigation, windows, views and tabs – the basics of the interface.








