Skip to content

Instantly share code, notes, and snippets.

View m1ga's full-sized avatar
🤓
Work work work...

Michael Gangolf m1ga

🤓
Work work work...
View GitHub Profile
@m1ga
m1ga / hyperloop.js
Created February 22, 2021 10:35
Appcelerator Titanium - Share data with other apps #appcelerator #titanium #hyperloop
// share items e.g. String with other apps
if (OS_IOS) {
//
// Hyperloop for iOS
//
var UIActivityView = require('UIKit/UIActivityViewController')
var TiApp = require('Titanium/TiApp');
var uiv = UIActivityView.alloc().initWithActivityItemsApplicationActivities(["www.google.com"],null);
TiApp.app().showModalController(uiv, true);
// https://jira.appcelerator.org/browse/TIMOB-12291
exports.compareQueries = function () {
testCommonWay();
testGroupConcat();
};
const TEST_QUERY_EXEC_COUNT = 50;
function testCommonWay() {
049f29394605c518f0c36ee71726b8106a79b5b285d45ef756feada6b6efae152591f20aaae504f24539ed49bdeb50cae8bfa562c85a9682a3b2c3855fc070aa02;chmiiller