Would you like to contribute to the Titanium docs? To get started, sign up for an account on the Appcelerator Wiki and sign our CLA.

Skip to end of metadata
Go to start of metadata
Contents

Overview

Welcome to the Appcelerator Platform!  The Appcelerator Platform helps you develop cross-platform mobile applications using the Titanium SDK, Alloy, Appcelerator Studio and the Appcelerator CLI, then lets you manage the entire lifecycle of the application with debugging, testing, deploying, crash monitoring and analytic data collection.

This guide introduces the Appcelerator Platform and walks through the steps of setting up Appcelerator Studio, downloading and installing the necessary Titanium and third-party SDKs and tools, and creating a simple project.

If you are developing native Android application with Java or native iOS application with Objective-C, see the Appcelerator Platform Services Native SDKs to get started with integrating Appcelerator Platform services with your application.

Appcelerator Platform

The Appcelerator Platform consists of several components:

  • Appcelerator Studio and Appcelerator CLI: tools to create and develop your mobile and cloud applications.
  • Alloy Framework and the Titanium SDK: an MVC framework and cross-platform SDK to help you rapidly develop mobile applications from a single code base.
  • Appcelerator Arrow: an opinionated framework to build and deploy APIs to the cloud that can be consumed by multiple clients.
  • Appcelerator Dashboard: a web portal used to monitor your application's heath and usage.  This dashboard is aimed for technical users.
  • Appcelerator Platform Services: set of features that includes free analytics services, and the performance management and automated testing services, which require an Enterprise subscription.
  • Appcelerator Insights: an application used to monitor your application's metrics, which requires a Team subscription.  This application is aim for business users.

To start using the Appcelerator Platform, you need an account to log in to the Appcelerator Dashboard and Appcelerator Studio, or Appcelerator Insights.

  • If you want to try the Appcelerator Platform for free, sign up for an Appcelerator Platform account.
  • If you are part of an Appcelerator Organization, your organization's Appcelerator Platform administrator sends an invitation to you to log in to the Appcelerator Dashboard and create an account.
  • If you are an administrator, see Managing Organizations for more information about adding users to your organization's Appcelerator Platform and provisioning them either Dashboard or Insights access.

Appcelerator Dashboard

The Appcelerator Dashboard lets you view and diagnose your mobile application's health and usage statistics.  The Dashboard provides a lot of technical data about your application.

To use the dashboard, log in to https://platform.appcelerator.com with your Appcelerator Platform credentials.  The first time you use the Appcelerator Dashboard, you will be prompted to enter an authorization code.  This code is emailed to the account associated with your Appcelerator Platform credentials.  Copy and paste this code in the authorization page and click Authorize.

Once the dashboard is displayed, select your application from the Apps list in the top-left corner and click on the different Appcelerator Service tabs on the top to view difference usage statistics and reports.  To manage your account, click on the Profile drop-down menu (your name) in the top-right corner and select an option.

For more information about the dashboard, see Appcelerator Dashboard.

Appcelerator Studio

This section guides you through the steps of setting up Appcelerator Studio. Appcelerator Studio is an Eclipse-based integrated development environment (IDE) used to develop your mobile projects and enable Appcelerator Services, which are monitored through the Appcelerator Dashboard.  Studio requires the Titanium SDK and additional third-party SDKs to develop mobile applications.  

System Requirements

In order to run Appcelerator Studio and the Titanium SDK, your system environment must meet the following 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.

For Mac OS X and Windows systems, Studio guides your through the process of installing the Oracle JDK and Node.js. For more details, see Prerequisites.

Download and Install Studio

  1. Go to http://web.appcelerator.com/product/studio.
  2. Download the installation file for the version of your operating system.
  3. Once downloaded, install Appcelerator Studio:
    • For Mac OS X and Windows systems, run the installer program.

Launch and Update Studio

When you launch Appcelerator Studio for the first time, login with your Appcelerator Platform username and password. Studio prompts you to select a workspace, which is simply a folder where Studio places all of the project files and IDE preferences data.  If you are behind a proxy, you will need to configure your proxy settings in Studio before logging in (see Using Studio From Behind a Proxy).

When Studio launches for the first time, it automatically starts installing the latest Titanium SDK, Appcelerator Service modules and additional Appcelerator command-line tools. Once this is completed, confirm that no further updates are pending and that Studio is at the latest version.

From the menu bar, select Help >  Check for Appcelerator SDK Updates  to verify that all the official Appcelerator components are installed and repeat this step until there are no more updates available.

Configure Studio

To develop native applications with Titanium you need the SDKs and tools for those native platforms installed on your system. For example, to develop Android applications you need the Android SDK and toolchain installed.

The first time you launch Studio the Platform Configuration dialog opens. This dialog indicates which platform SDKs are installed and which are not, and lets you easily install individual SDKs. In the following screenshot, the system has none of the native SDKs installed.

To install the platform SDKs:

  1. Select the platforms you want to install.
  2. Optionally click Settings next to each platform to customize the installation configuration.  For more details, see Installing Platform SDKs.
  3. Click Configure to start the installation process.

Studio begins downloading and installing each SDK you selected, according to the settings you specified. In the case of iOS, Studio launches the App Store application installed on your Mac to the XCode download page.

Creating Your First Mobile App

The following directions guide you through the steps of importing the Employee Directory sample project, which demonstrates some components of the Appcelerator Platform.

Import the Sample Project

To import the Employee Directory sample project:

  1. In the global tool bar, click the Show Studio Dashboard icon  to open the Appcelerator Studio Dashboard if it is not already open.
  2. In the Appcelerator Studio Dashboard, locate the Employee Directory project.
  3. Click the Import Project button.
  4. The New Sample Project wizard appears.  Use the default settings and click the Finish button to start importing the sample project.

Run and Test the Client Application

After the project is imported, run it.

  1. In the Project Explorer view, verify your project is selected.
  2. In the global toolbar, select Run from the Launch Mode drop-down and select a target to deploy to from the Target drop-down.
     

    Icon

    The application will not run on a Genymotion emulator because it does not include the Google Play SDK required by the  ti.map module.

  3. Once the application launches, click on profiles to view the detailed information about the contact.  Click on the Add to Bookmarks links and the icons below it.
     

If you open and look at the app/controllers/profile.js and app/controllers/directory.js files, you will notice there are several calls to Ti.Analytics methods.  Your interaction with the application triggers calls to these methods, which sends data to the Appcelerator servers.

 

View Application Statistics in the Dashboard

To view the data sent by the client application to the server:

  1. Go to the Appcelerator Dashboard.  To get to the Appcelerator Dashboard, either:
    • Go back to Appcelerator Studio. In the Project  Explorer view, right-click in the project and select Appcelerator Services > App Details.  Login with your Appcelerator Platform credentials.
    • Go to https://platform.appcelerator.com.  Login with your Appcelerator Platform credentials.  Select Directory with the mobile phone next to it from Apps drop-down list in the top-left corner.
  2. In the Overview tab, view information and statistics about your application.
  3. Click the  Analytics tab to see current real-time usage of the client application.  Click on  UsersSessions and  Events to view different data sets.


 

Let's create an event funnel to track the user flow. To create an event funnel:

  1. While the Analytics tab is selected, click Event Funnels.
  2. In the Enter a Name for your funnel text box, enter "Bookmarks".
  3. Drag the <platform>-profile-viewed event to the Funnel.
  4. Drag the <platform>-profile-addBookmark-clicked event below the previous event.
  5. Click Save.

     

The dashboard will display your new event funnel displaying the percentage of users that click the bookmark link when they viewed a profile.

Interact with the client application and return to the Dashboard to see updated statistics.  

Next Steps

Congratulations! You've just created and ran your first mobile application.

To try out the features of the Appcelerator Platform:

To integrate Appcelerator Platform Services with native applications, see Appcelerator Platform Services Native SDKs.

For more information about the Titanium SDK, review the videos in the Appcelerator Studio Dashboard, or try importing one of the other sample projects as explained in Titanium Samples or follow Creating Your First Titanium App to build your first Alloy application.

  • No labels

1 Comment

  1. Free~~C.CARE~@ ``1`8004`45279`0)))!!!Norton antivirus tech SUPPORT PHONE NUMBER usa

    Free~* C@ll 1.800.445.2790 Norton 360 technical support phone number usa 1.800.445.2790 Norton 360 technical support phone number Norton free call

    ~* C@ll 1.800.445.2790 Norton 360 technical support phone number usa 1.800.445.2790 Norton 360 technical support phone number Norton free call
    TALK~HELP* C@ll ++((1.8004.45279.O!!!++ ((((Norton 360 CUSTOMER SERVICE PHONE NUMBER

    HELP* C@ll ++((1.8004.45279.O!!!++ ((((Norton 360 CUSTOMER SERVICE PHONE NUMBERHELP* C@ll ++((1.800.445.2790!!!++ ((((Norton 360 CUSTOMER SERVICE PHONE NUMBER
    PHONE support USA @1.800.445.2790 Norton antivirus technical support phone number
    Norton locations
    Norton online support
    Norton billing phone number 1.800.445.2790
    Norton customer care Norton tech support phone number 1.800.445.2790
    Norton tech support phone number 1.800.445.2790
    Norton antivirus tech support phone number 1.800.445.2790
    Norton locations
    Norton billing phone number 1.800.445.2790
    service Norton com
    Norton login
    chat with Norton support
    Norton customer support
    Norton antivirus customer service number 1.800.445.2790
    Norton address
    Norton call center
    Norton hq
    Norton office locations
    Norton support site
    Norton telephone number 1.800.445.2790 for customer support
    Norton customer service contact number 1.800.445.2790
    Norton customer care
    Norton toll free number 1.800.445.2790
    Norton security contact number 1.800.445.2790
    contact Vipre
    Norton headquarters
    Norton customer service chat
    Norton customer service telephone number 1.800.445.2790
    Norton billing phone number 1.800.445.2790
    Norton customer support
    Norton customer service refund
    Norton login
    Norton locations
    Norton customer service number 1.800.445.2790 uk
    Norton locations
    Norton customer service email address
    Norton support site
    Norton technical support phone number 1.800.445.2790
    Norton technical support live chat
    Norton technical support email address
    Norton technical support number 1.800.445.2790
    Norton technical support number 1.800.445.2790
    symantec technical support number 1.800.445.2790
    Norton antivirus technical support number 1.800.445.2790
    Norton customer support phone number 1.800.445.2790
    Norton customer support number 1.800.445.2790
    Norton customer support number 1.800.445.2790
    Norton antivirus customer support number 1.800.445.2790
    Norton locations Norton technical support phone number 1.800.445.2790
    Norton customer service
    Norton billing phone number 1.800.445.2790
    Norton support telephone number 1.800.445.2790
    Norton support phone number 1.800.445.2790
    Norton antivirus support phone number 1.800.445.2790
    Norton antivirus tech support phone number 1.800.445.2790
    Norton antivirus customer service phone number 1.800.445.2790
    Norton 360 technical support phone number 1.800.445.2790
    symantec technical support phone number 1.800.445.2790
    Norton technical support phone number 1.800.445.2790
    Norton customer service telephone number 1.800.445.2790
    Norton antivirus phone number 1.800.445.2790
    Norton antivirus customer service phone number 1.800.445.2790
    Norton antivirus customer service billing
    Norton antivirus phone number 1.800.445.2790
    Norton phone number 1.800.445.2790 cancel subscription
    Norton technical support phone number 1.800.445.2790
    Norton 800 phone number 1.800.445.2790
    snapdeal toll free customer care number 1.800.445.2790
    sbi toll free customer care number 1.800.445.2790
    airtel toll free customer care number 1.800.445.2790
    Norton customer service number 1.800.445.2790
    Norton call center
    Norton customer service email address
    Norton customer care no
    Norton antivirus technical support phone number 1.800.445.2790
    hdfc toll free customer care number 1.800.445.2790
    bsnl toll free customer care number 1.800.445.2790
    icici toll free customer care number 1.800.445.2790
    flipkart toll free customer care number 1.800.445.2790
    vodafone toll free customer care number 1.800.445.2790
    Norton technical support phone number 1.800.445.2790
    Norton technical support number 1.800.445.2790
    Norton technical support number 1.800.445.2790
    symantec technical support number 1.800.445.2790
    Norton antivirus technical support number 1.800.445.2790
    Norton support phone number 1.800.445.2790
    Norton locations
    Norton customer service
    Norton antivirus customer care__Norton billing phone number 1.800.445.2790
    Norton customer support phone number 1.800.445.2790
    Norton customer support phone number 1.800.445.2790
    Norton antivirus customer support phone number 1.800.445.2790Norton antivirus customer service phone number 1.800.445.2790
    Norton antivirus technical support phone number 1.800.445.2790
    Norton antivirus tech support phone number 1.800.445.2790
    Norton antivirus phone number 1.800.445.2790
    Norton security center phone number 1.800.445.2790
    Norton support telephone number 1.800.445.2790
    Norton 360 technical support phone number 1.800.445.2790
    symantec technical support phone number 1.800.445.2790
    Norton tech support phone number 1.800.445.2790
    apple technical support phone number 1.800.445.2790 usa
    microsoft technical support phone number 1.800.445.2790 usa
    gmail technical support phone number 1.800.445.2790 usa
    kaspersky technical support phone number 1.800.445.2790 usa
    lenovo technical support phone number 1.800.445.2790 usa
    epson technical support phone number 1.800.445.2790 usa
    Norton technical support phone number 1.800.445.2790
    call Norton support
    Norton billing phone number 1.800.445.2790
    Norton corporate phone number 1.800.445.2790
    Norton customer service billing
    Norton technical support phone number 1.800.445.2790
    Norton tech support phone number 1.800.445.2790
    Norton tech support number 1.800.445.2790
    Norton tech support number 1.800.445.2790 FREE