Skip to content

Instantly share code, notes, and snippets.

View AppWerft's full-sized avatar

Rainer Schleevoigt AppWerft

View GitHub Profile
// Copyright Stephen Feather and other contributors.
//
// Permission is hereby granted, free of charge, to any person obtaining a
// copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modify, merge, publish,
// distribute, sublicense, and/or sell copies of the Software, and to permit
// persons to whom the Software is furnished to do so, subject to the
// following conditions:
//
@AppWerft
AppWerft / gist:7040580
Created October 18, 2013 12:02
Crash log by using on 2.3.5 android
D/com.appcelerator.cloud.push.CCPushService(19090): GCM RegistrationId not found. Need to make request to generate.
W/dalvikvm(19090): Exception Ljava/lang/RuntimeException; thrown while initializing Landroid/os/AsyncTask;
W/dalvikvm(19090): threadid=12: thread exiting with uncaught exception (group=0x4001d5a0)
E/TiApplication(19090): (Thread-13) [168,177] Sending event: exception on thread: Thread-13 msg:java.lang.ExceptionInInitializerError; Titanium 3.1.3,2013/09/18 12:01,222f4d1
E/TiApplication(19090): java.lang.ExceptionInInitializerError
E/TiApplication(19090): at com.appcelerator.cloud.push.CCPushService.registerGCMServiceBackground(CCPushService.java:482)
E/TiApplication(19090): at com.appcelerator.cloud.push.CCPushService.registerGCM(CCPushService.java:443)
E/TiApplication(19090): at ti.cloudpush.CloudpushModule$1.receivedGCMSenderId(CloudpushModule.java:613)
E/TiApplication(19090): at com.appcelerator.cloud.push.CCPushService$1.run(CCPushService.java:98)
E/TiApplication(19090): at java.lang.Th
Logfile initialized
[INFO] logfile = /Users/rainerschleevoigt/Documents/TitaniumStudioWorkspace/fashionbook/build.log
[DEBUG] /Users/rainerschleevoigt/Library/Application Support/Titanium/mobilesdk/osx/3.1.3.GA/android/builder.py install fashionBook /Applications/android-sdk-mac_x86 /Users/rainerschleevoigt/Documents/TitaniumStudioWorkspace/fashionbook de.appwerft.fashionbook 13
[INFO] Titanium SDK version: 3.1.3 (09/18/13 12:00 222f4d1)
[DEBUG] Waiting for device to be ready ...
[TRACE] adb devices returned 0 devices/emulators
[TRACE] adb devices returned 0 devices/emulators
[TRACE] adb devices returned 0 devices/emulators
[TRACE] adb devices returned 1 devices/emulators
[DEBUG] Device connected... (waited 15 seconds)
[INFO] : Running dexer: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/java "-Xmx1024M" "-XX:-UseGCOverheadLimit" "-Djava.ext.dirs=/Users/rainerschleevoigt/android-sdk/platform-tools" "-jar" "/Users/rainerschleevoigt/android-sdk/build-tools/19.0.0/lib/dx.jar" "--dex" "--output=/Users/rainerschleevoigt/Documents/TitaniumStudioWorkspace/fashionbook/build/android/bin/classes.dex" "/Users/rainerschleevoigt/Documents/TitaniumStudioWorkspace/fashionbook/build/android/bin/classes" "/Users/rainerschleevoigt/Library/Application Support/Titanium/mobilesdk/osx/3.2.0.v20131210191510/android/lib/titanium-verify.jar" "/Users/rainerschleevoigt/Library/Application Support/Titanium/modules/android/facebook/3.0.2/facebook.jar" "/Users/rainerschleevoigt/Library/Application Support/Titanium/modules/android/com.gbaldera.titouchgallery/1.1/titouchgallery.jar" "/Users/rainerschleevoigt/Library/Application Support/Titanium/modules/android/com.alcoapps.actionbarextras/1.0/actionbarextras.jar" "/Users/rainersch
/*
*
Parameters:
url: URL of remote SQLITE
aspectedtablecount: count of aspected tables in db for validierung
aspectedcontentlength : min. length of sqlite
onprogress: callback for progress indication, parameter is progress value 0 … 1
onconnect: callback for success, parameter is dbname
*
[ERROR] : SQLiteLog: (1) near "UDATE": syntax error
[ERROR] : TiDB: (KrollRuntimeThread) [47311,53183] Error executing sql: near "UDATE": syntax error (code 1): , while compiling: UDATE myfavsandsaves SET cached=1 WHERE id=?
[ERROR] : TiDB: android.database.sqlite.SQLiteException: near "UDATE": syntax error (code 1): , while compiling: UDATE myfavsandsaves SET cached=1 WHERE id=?
[ERROR] : TiDB: at android.database.sqlite.SQLiteConnection.nativePrepareStatement(Native Method)
[ERROR] : TiDB: at android.database.sqlite.SQLiteConnection.acquirePreparedStatement(SQLiteConnection.java:889)
[ERROR] : TiDB: at android.database.sqlite.SQLiteConnection.prepare(SQLiteConnection.java:500)
[ERROR] : TiDB: at android.database.sqlite.SQLiteSession.prepare(SQLiteSession.java:588)
[ERROR] : TiDB: at android.database.sqlite.SQLiteProgram.<init>(SQLiteProgram.java:58)
[ERROR] : TiDB: at android.database.sqlite.SQLiteStatement.<init>(SQLiteStatement.java:31)
[ERROR] : TiDB: at android.database.sqlite.SQLiteDat
exports.init = function() {
if (!Ti.Android || Ti.Platform.Android.API_LEVEL < 13 || Ti.Network.online == false) {
Ti.UI.createNotification({
backgroundColor : 'red',
message : 'Dieses Gerät kann zur Zeit keine Kurzbenachrichtigungen empfangen'
}).show();
return;
}
var CloudPush = require('ti.cloudpush');
var deviceToken = null;
<?xml version="1.0" encoding="UTF-8"?>
<ti:app xmlns:ti="http://ti.appcelerator.org">
<id>de.appwerft.cm</id>
<name>CriticalMass</name>
<version>1.0.0</version>
<publisher>rainerschleevoigt</publisher>
<url>http://</url>
<description>not specified</description>
<copyright>2014 by rainerschleevoigt</copyright>
<icon>appicon.png</icon>
<?xml version="1.0" encoding="UTF-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="de.appwerft.cm" android:versionCode="100" android:versionName="1.0.0">
<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.Sternfahrt">
<activity android:name=".CriticalmassActivity" android:label="@string/app_name" android:theme="@style/Theme.Titanium" android:configChanges="keyboardHidden|orientation|screenSize">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
</activity>
├─┬ configure@0.0.1
│ └─┬ optimist@0.6.1
│ ├── minimist@0.0.10
│ └── wordwrap@0.0.2
├─┬ express@4.4.0
│ ├─┬ accepts@1.0.2
│ │ ├── mime@1.2.11
│ │ └── negotiator@0.4.5
│ ├── buffer-crc32@0.2.1
│ ├── cookie@0.1.2