Titanium SDK Introduction and Configuration
Titanium SDK
Introduction
There
was a time when people used to send their message
through messengers or birds. But, now-a-days this job is done easily
with a finger touch using handheld devices like mobile phones, tablets,
fablets, iPad iPod and many other. But, with this advancement
also increased the number of technologies to work on. And it increased the
overhead of developers to get various different technologies.
Sometimes,
we feel the need of a platform which can provide us the tool where we can write
the code just for once, but that code can run on various platforms. In short,
we can say that we need robustness in our code.
This
can be achieved using Titanium SDK. It provides the developer an ability to
create native applications as well as mobile web applications or rich hybrid
applications using single code base. It uses Object
Oriented JavaScript It is opensource SDK and has a large number of
API which can help to develop various interesting and user friendly
applications.
Platforms Supported
Currently,
Titanium supports following mobile platforms:
- Android OS
- iOS
- BlackBerry
- MobileWeb
- Tizen
Pre-Requisite for Titanium SDK
Titanium
SDK provides a single environment across all mobile operating systems
and devices using JavaScript. To work on Titanium, following is the list
of system requirements:
·
Operating
System: a recent version
of Windows, Mac OS X or Ubuntu
·
Memory: 2 GB RAM (available memory, rather than
total memory)
·
Java
Runtime: Oracle JDK (no
other brand of Java is suitable)
·
Node.js: required for the Titanium command-line
tools like the CLI, Alloy and Node.ACS.
Tools required to work on Titanium:
- Titanium Studio
- Android SDK
- Android NDK
- xCode
- BlackBerry SDK
- Tizen SDK
Configure Titanium Studio
MAC-OS
Follow
following steps to configure Titanium Studio in your system:
- Install Titanium Studio
- Update Titanium SDK
- In Titanium Studio's dashboard,
select Configure tab
Follow
following steps to configure Titanium Studio in your system:
- Install Titanium Studio
- Update Titanium SDK
- In
Titanium Studio's dashboard, select Configure tab
and select every platform you wish to design apps for and click on Install
and Update <Android/iOS/BlackBerry/Tizen> SDK button.
Configure BlackBerry SDK
To configure Titanium Studio for BlackBerry Applications, you
can follow the steps given here or follow below steps for BlackBerry Native
Development Kit 10.2:
1. Install
VM Ware Fusion.
2. Install
BlackBerry Simulator.
3. Set
simulator Development Mode on from Settings.
4. Install
Momentics IDE.
5. 
From menu, select
Momentics Preferences BlackBerry
6. Click
on BlackBerry Deployment Setup Wizard.
7. A dialog box will open. Click on Next.
8. Provide the IP Address for Simulator or Device and Password
if you have set for your device. In VM Ware Fusion, you can find the IP Address
for Simulator in the bottom left corner.
9. Click
Next.
10. Select
‘Complete your registration process by downloading your blackberry id token.
11. You
will be prompted to register for signing keys. If you have already registered
with BlackBerry, enter your login credentials and Sign In. If you don’t have
one, please do register with BlackBerry.
12. Click
Next. Momentics download a token file and creates developer certificates.
13. Select
a location for keeping the backup file.
14. Click
on Next.
15. If
you have a device connected, choose to Create a debug token… and click on Next.
16. Click
on Finish.
A
debug token will be uploaded to your device.Configure Titanium for BlackBerry 10.2
MAC - OS
Following are the steps to
configure BlackBerry SDK 10.2 in your mac-os system:
1.
Go to Application
2.
Select Momentics, copy and
paste it to your desired location. Rename this folder to ‘bbndk’.
3.
Right Click on Momentics.
4.
Click on Show Package
Content.
5.
Create three folders:
a.
host
b.
install
c.
target
6.
Open host_[IP ADDRESS]
folder; create aliases for every file and folder inside it and move those
aliases to host folder. Do similar step for target folder too.
7.
Now, open Titanium Studio.
8.
From Menu, select Titanium.
9.
Click on Preferences.
10. From the dialog box, select Studio > Platform >
BlackBerry.
11. In the BlackBerry NDK home, enter the location of ‘bbndk’.
12. For debug token, specify the path to Research In Motion, which
is generally ‘~/Library/Research In Motion’.
13. For running on device, enter the IP address of the device and
password.
14. For running on BlackBerry Simulator, enter the IP Address of the
simulator.
15. For package distribution, enter the keystore password used to setup
your developer certificate in the keystore password textbox.
Click
on OK Button and You are done with Titanium Configuration for BlackBerry
Application development.
Comments
Post a Comment