Skip to end of metadata
Go to start of metadata

Introduction

This page lists information on how to use Hyperloop with existing projects and provides links to sample applications for both Android and iOS.

Requirements

  • Titanium 5.4.0+
  • Alloy 1.8.0+

Running this app

BEFORE attempting to run this application, ensure that you have downloaded and followed the instructions from the appropriate guide below. There are specific prerequisites that must be first met before this application will run properly.

This sample application only runs on the simulator because it uses a demo application GUID. If you would like to run this application on device, you need to import the application into your own platform account using appc new --import.

Using Hyperloop on existing projects

If you’re going to run the Hyperloop example project, you do not need to do any additional installation to use Hyperloop. The project will allow you to run on the simulator using appc ti build -p ios.

If you’d like to use Hyperloop in a new or existing Titanium project, add the following code to your tiapp.xml to configure the plugin:

Next, you'll need to configure the module:

For iOS, you’ll need to add the following two elements as children to the <ios> node:

3 Comments

  1. The following application demonstrates using Hyperloop for direct native API access.

    After this line, should be a link to the hyperloop-examples url. Examples Application

    And I'm thinking if the examples application should just be on the homepage of labs.

    http://labs.appcelerator.com

    thoughts? Bert Grantges

    1. I rewrote that opening sentence to just be a summary of the page's contents.

  2. This sample application only runs on the simulator because it uses a demo application GUID.

    Remove that and mention the platform-requirement only.

    If you’d like to use Hyperloop in a new or existing Titanium project, you will need to install the Hyperloop module and plugin. You can download the distribution (the distribution includes support for both Android and iOS) from https://s3-us-west-2.amazonaws.com/appc-labsserver/downloads/hyperloop-1.0.1b.zip.

    That file is outdated and should not be linked. People should receive Hyperloop using the platform-integration in Studio only.

    <run-on-main-thread>true</run-on-main-thread>

    This flag has been replaced with <property name="run-on-main-thread" type="bool">true</property> in 5.4.0 and later.