Skip to content

Instantly share code, notes, and snippets.

/* The Ti.API.log lines print "undefined", but the labels still show up with the correct data. How?
* Ti.API.log calls the native logcat for Android and iOS, I could just do an alert and get the same results. */
for(property in task) {
var labelName = Ti.UI.createLabel({
text:property
});
var labelValue = Ti.UI.createLabel({
text:task[property],
color:"#232323"
E/keystore( 832): chdir: /data/misc/keystore: No such file or directory
E/installd( 831): Could not create directories; exiting.
D/AndroidRuntime( 830):
D/AndroidRuntime( 830): >>>>>> AndroidRuntime START com.android.internal.os.ZygoteInit <<<<<<
D/AndroidRuntime( 830): CheckJNI is OFF
E/dalvikvm( 830): Could not stat dex cache directory '/data/dalvik-cache': No such file or directory
I/dalvikvm( 830): Unable to open or create cache for /system/framework/core.jar (/data/dalvik-cache/system@[email protected]@classes.dex)
D/dalvikvm( 830): Unable to process classpath element '/system/framework/core.jar'
E/dalvikvm( 830): Could not stat dex cache directory '/data/dalvik-cache': No such file or directory
I/dalvikvm( 830): Unable to open or create cache for /system/framework/core-junit.jar (/data/dalvik-cache/system@[email protected]@classes.dex)
gcMessageDisplay.each(function(index, value) {
console.log("looping");
$('.next').eq(index).live('click', function() {
var parent = $(this).parent();
console.log(gcMessageDisplay);
console.log(index);
parent.html(gcMessageDisplay.eq(index+1));
});
});