Questions tagged [hyperloop]

Appcellerator's compiler which converts a custom version of Javascript (a.k.a. HJS) into native code.

The code works in tandem with a JavaScript runtime to execute compiled native instructions.

25 questions
6
votes
1 answer

Hyperloop and Google Mobile Ads SDK

I'm trying to use Google-Mobile-Ads-SDK in my appcelerator project since ti.admob (https://github.com/appcelerator-modules/ti.admob) doesn't seem to support rewarded ads. So I created a Podfile in the top project directory: install! 'cocoapods', …
6
votes
2 answers

Appcelerator Hyperloop vs. Plain Titanium Modules

I've started playing around with Appcelerator Hyperloop. While it seems great to access native APIs from JS from day zero, it does raise a few questions about architecture of the platform and the performance. Currently (AFAIK) a Titanium app has a…
5
votes
0 answers

Appcelerator Hyperloop Android - How to use certain Sensor Manager functions which use a pass by reference structure

I'm stepping into Hyperloop for the first time, specifically for Android currently, and although it's going fairly well I've had one issue which I will explain below. I've successfully been able to get a handle to the Sensor Manager and set up a…
3
votes
0 answers

Can't compile application when including Intercom Android SDK using Hyperloop

I have an Alloy app that I am trying to include Intercom's Latest SDK (3.1.2). I was able to compile the iOS app with no problems. However, when trying to compile the Android version, it throws errors. Titanium SDK: 6.0.3GA Hyperloop: 2.0.1 Android…
3
votes
0 answers

Titanium Hyperloop app does not compile due to too small libhyperloop.a lib file

I can't compile my titanium + hyperloop application. The compiler complains about the filesize of my libhyperloop.a, which is 2 bytes. Does this mean the file is corrupt, and does someone knows a workaround? I have inspected the file in both…
3
votes
1 answer

Hyperloop unknown or unsupported type (UIAlertController)

I'm trying out Hyperloop. And I'm trying to run a custom swift script I have in my project (like shown in the exmaple). Here's my swift code: import UIKit public class MySwiftCode : NSObject { func SayHello() { let alertController =…
developer82
  • 13,237
  • 21
  • 88
  • 153
3
votes
2 answers

Can't run Hyperloop project

I've downloaded the latest SDK from master as explained here: http://builds.appcelerator.com/#master I've also downloaded the latest Hyperloop from here http://labs.appcelerator.com/project/55f74a9f421c44837717716b/Hyperloop-Module and followed the…
developer82
  • 13,237
  • 21
  • 88
  • 153
2
votes
2 answers

How do I change the home/back button icon in the actionbar in Titanium using native code?

I would like to change the back/home button icon in Titanium. I am able to do this using the Theme. However I would like to change the icon at runtime after I apply the theme. The actionbar in titanium does not have any property or method to change…
Searock
  • 6,278
  • 11
  • 62
  • 98
2
votes
2 answers

Hyperloop error when processing Cocoapods dependencies

After downloading the hyperloop-examples files, and running appc ti build -p ios, I get errors when Hyperloop finds the CocoaPods dependencies. The exact error text is: [ERROR] An error occurred during build after 3s 372ms [ERROR] pod install…
2
votes
1 answer

Can Hyperloop be used to do background work or spawn new threads?

I'm wondering if the Appcelerator Titanium Hyperloop module can be used to spawn new threads or do background work that will not block the main UI thread? In other words, I have an expensive or long-running data processing task but I want to run it…
2
votes
1 answer

Hyperloop compilation error

I've written before about a problem running Hyperloop project. If run a newly created project to witch I added Hyperloop from Appcelerator Studio it seems like compilation is stuck on: [INFO] Starting Hyperloop assembly [INFO] Skipping Hyperloop…
developer82
  • 13,237
  • 21
  • 88
  • 153
1
vote
2 answers

new thread in Titanium Hyperloop

I want use Huawei Push Kit in my Appcelerator Titanium app with Hyperloop. var tokenString = ''; var Activity = require('android.app.Activity'); var ActivityToken = require('com.huawei.hms.aaid.HmsInstanceId'); try{ const…
1
vote
1 answer

Appcelerator Errors When Running Android

I'm having issues when trying to run the Android Emulator with Appcelerator. I'm new to this program and not having much luck finding an answer on how to fix this error. My app development knowledge up til now is Xcode and Apache Cordova. I've…
catcrack15
  • 11
  • 2
1
vote
0 answers

openALPR integration into Appcelerator app via Hyperloop

I'm trying to integrate openALPR iOS module to Titanium app using Hyperloop from here: https://github.com/yasirmturk/openalpr-swift I successfully installed it via cocoapods but now I'm stuck how to use it. I have this code: var openALPR =…
1
vote
1 answer

Hyperloop eventlistener example

I try to make a flac file player with Appcelerator and Hyperloopusing the OrigamiEngine It works as I can play, pause and stop the player. But I can't get the "addEventListener" mode working. I read some examples and something about the delegate…
Sebastian
  • 625
  • 3
  • 13
1
2