Skip to content

Instantly share code, notes, and snippets.

View AppWerft's full-sized avatar

Rainer Schleevoigt AppWerft

  • Hamburger AppWerft
  • Hamburg, St. Pauli
View GitHub Profile
[ERROR] : TiHttpClient: (TiHttpClient-354) [6329,1407679] HTTP Error (org.apache.http.client.HttpResponseException): Bad Request
[ERROR] : TiHttpClient: org.apache.http.client.HttpResponseException: Bad Request
[ERROR] : TiHttpClient: at ti.modules.titanium.network.TiHTTPClient$LocalResponseHandler.handleResponse(TiHTTPClient.java:258)
[ERROR] : TiHttpClient: at ti.modules.titanium.network.TiHTTPClient$LocalResponseHandler.handleResponse(TiHTTPClient.java:217)
[ERROR] : TiHttpClient: at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:657)
[ERROR] : TiHttpClient: at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:637)
[ERROR] : TiHttpClient: at ti.modules.titanium.network.TiHTTPClient$ClientRunnable.run(TiHTTPClient.java:1287)
[ERROR] : TiHttpClient: at java.lang.Thread.run(Thread.java:841)
[ERROR] : XMLModule: (KrollRuntimeThread) [15,1407694] Error parsing XML
[ERROR] : XMLModule: org.xml.sax.SAXParseException: Unexpected token (po
<?xml version="1.0" encoding="UTF-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="de.appwerft.cm" android:versionCode="227" android:versionName="2.2.7">
<uses-sdk android:minSdkVersion="10" android:targetSdkVersion="19"/>
<application android:icon="@drawable/appicon" android:label="CriticalMass" android:name="CriticalmassApplication" android:debuggable="false" android:theme="@style/Theme.Criticalmass">
<activity android:alwaysRetainTaskState="true" android:configChanges="keyboardHidden|orientation|screenSize" android:label="CriticalMass" android:launchMode="singleTop" android:name=".CriticalmassActivity" android:theme="@style/Theme.Titanium">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
</activity>
@AppWerft
AppWerft / gist:74c4c675f6191dfd0fc4
Last active August 29, 2015 14:02
Array.prototype.contains
Array.prototype.contains = function(k, callback) {
var self = this;
return (function check(i) {
if (i >= self.length) {
return callback(false);
}
if (self[i].id === k.id) {
return callback(true);
}
var uid = Ti.Utils.md5HexDigest(Ti.Platform.getMacaddress()).substring(0, 3);
var roomid = Ti.Utils.md5HexDigest(Ti.Platform.getMacaddress()).replace(/[\D]/g, '').substring(0, 5);
var Cligga = function() {
this.socket = require('vendor/socket.io').connect(Ti.App.Properties.getString('cliggauri'));
this._cbhandlers = [];
var that = this;
this.socket.on('voter_joined', function(_payload) {
if (that._cbhandlers) {
for (var item in that._cbhandlers) {
[DEBUG] : LiferayBeaconsModule: (main) [8,94] onAppCreate
[DEBUG] : dalvikvm: Trying to load lib /data/app-lib/de.appwerft.ibeacontest-1/libcom.liferay.beacons.so 0x42650238
[DEBUG] : dalvikvm: Added shared lib /data/app-lib/de.appwerft.ibeacontest-1/libcom.liferay.beacons.so 0x42650238
[DEBUG] : dalvikvm: No JNI_OnLoad found in /data/app-lib/de.appwerft.ibeacontest-1/libcom.liferay.beacons.so 0x42650238, skipping init
[DEBUG] : LiferayBeaconsModule: (KrollRuntimeThread) [174,175] startMonitoringForRegion: {minor=0, identifier=Region by UUID only, major=0, uuid=11111111-2222-3333-4444-555555555555}
[DEBUG] : LiferayBeaconsModule: (KrollRuntimeThread) [8,183] Beginning to monitor region proximityUuid: 11111111-2222-3333-4444-555555555555 major: 0 minor:0
[ERROR] : LiferayBeaconsModule: (KrollRuntimeThread) [1,184] Cannot start monitoring region {minor=0, identifier=Region by UUID only, major=0, uuid=11111111-2222-3333-4444-555555555555}
[ERROR] : LiferayBeaconsModule: android.os.RemoteException: The IB
-- Start application log -----------------------------------------------------
[INFO] : TiApplication: (main) [0,0] checkpoint, app created.
[INFO] : TiApplication: (main) [57,57] Titanium 3.2.3 (2014/04/22 10:17 b958a70)
[WARN] : linker: libstlport_shared.so has text relocations. This is wasting memory and is a security risk. Please fix.
[WARN] : linker: libkroll-v8.so has text relocations. This is wasting memory and is a security risk. Please fix.
[WARN] : linker: libtiverify.so has text relocations. This is wasting memory and is a security risk. Please fix.
[INFO] : TiApplication: (main) [42,99] Titanium Javascript runtime: v8
[DEBUG] : dalvikvm: GC_CONCURRENT freed 207K, 2% free 16894K/17136K, paused 3ms+2ms, total 14ms
[INFO] : TiRootActivity: (main) [0,0] checkpoint, on root activity create, savedInstanceState: null
[INFO] : TiApplication: (main) [0,0] Analytics have been disabled
var Module = function(_page) {
var dummyrow = Ti.UI.createTableViewRow({
selectionStyle : Ti.UI.iPhone.TableViewCellSelectionStyle.NONE,
});
var self = Ti.UI.createTableView({
scrollable : false,
width : Ti.UI.FILL,
height : Ti.UI.FILL,
backgroundColor : '#fff',
data : [dummyrow]
var Modul = function() {
var options = arguments[0];
var self = Ti.UI.createView({
left : options.left,
top : options.top,
backgroundColor : 'silver',
width : options.width,
height : options.height
});
self.add(Ti.UI.createImageView({
var Bonjour = require('BCB.bonjourService');
var serviceBrowser = Bonjour.createBrowser({
serviceType : '_smb._tcp.',
domain : 'local.'
});
var update_services = function(e) {
Titanium.API.info(JSON.stringify(e));
services = e['services'];
for (var i = 0; i < services.length; i++) {
var service = services[i];
rainers-mbp:ios fuerst$ python build.py
Build settings from command line:
SDKROOT = iphoneos8.1
=== BUILD TARGET ticarousel OF PROJECT ticarousel WITH CONFIGURATION Release ===
Check dependencies
CompileC build/ticarousel.build/Release-iphoneos/ticarousel.build/Objects-normal/armv7/TransformParser.o Classes/TransformParser.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler
cd /Users/fuerst/Downloads/TiCarousel-master/mobile/ios