Tuesday, March 6, 2012

How to install Titanium Appcelerator and configure with Android?


Titanium Appcelerator
Introduction:
Appcelerator Titanium, is the only open source platform to enable fully native, cross-platform development, from a single codebase, at web development speed for Android,I-phone and web development platforms. Appcelerator’s customers can leverage their existing skills and open, industry standard technologies to decrease time-to-market and development costs, increase customer adoption and revenues, and enjoy greater flexibility and control.
To build a native Android mobile application there are three process we have to implement. They are as follows:
Process 1:
  • Download and install Java (JRE&JDK).
  • Since Android applications run in java platform JRE alone is not enough. We need to install Java Developmenat Kit.(Remember the path where you are installing the JDK).
  • After installing we have to set the path of the JDK in Environmental variables(My computer> right click> properties> advanced> Environmentel variables).
  • Now the path is set for JDK.


Process 2:
  • The second process is going through with Android.
  • First download Android SDK starter package for windows from the sitehttp://developer.android.com/index.html.
  • Then unzip the package and put it in a folder. Then open the sdk folder and run the emulator.exe.
  • In the top-left panel select Available package and click to install the required API level.
  • Automatically the tools will be installed.
  • Thus the installation of Android is over.
Process 3:
Step 1
  • Download and install Titanium Developer.

Step 2

  • Run Titanium Developer. You will be prompted to create a new account. Simply fill in the fields and Titanium will create your account and log you in.

Step 3
  • Fill up your profile in the top-left panel by giving your mail-id.
  • Here only we have to fix our Environmental settings. Select the icon in the Android SDK.
  • Select the target where you have saved your Android sdk.
  • Thus the android is connected with the Titanium appcelerator.
Step 4
  • Now click on the new project> select project type as Mobile > then give name for your project.
  • After selecting the project type as Mobile you can find the Android sdk has been marked with green colour. This indicates that the Titanium has found the correct path of the Android sdk.
  • Now click the save button. Thus our Android project has been created and saved.


Step 5
  • Select the created project and click on the Test & Project tab and you can find page to launch the emulator.
  • Select the SDK and screen resolution you want to launch the Android emulator.
  • Thus the Android emulator will be executed and the default application of Titanium will be shown.
Thus the Android SDK is installed in Titanium.


No comments:

Post a Comment