Community Questions & Answers

try/catch/finally

~~~ try { var x = Titanium.Network.createTCPSocket({..}); } catch(e) { alert(e); } ~~~ Your framework for exception handling is incorrect, e should not be a string, should be an object where e.message is the string.

tableView.data not working

Hi, I am facing some issues with tableView. I have a table with data set using `myTable.setData(data)` But when i use `myTable.data` or `myTable.getData()`, no data is returned. I need to use the myTable.data to change the value of some Labels that are...

Exception in exports

Hi, I have imported a js into another on the click event of a button. The imported js has export statements and is continuously throwing exceptions on the click of the button. Any help is appreciated.. Thanks in advance

app crashing due to memory leak

hi, I am running 'HelloWorld' app in titanium studio sdk 1.8.1..and it is my 1st app on ios.. when I try it on device(ipad) it crash every time.. gives following exception.. Exception Type: EXC_BAD_ACCESS (SIGSEGV) so i done performance test in xcode...

Read content of webview on Android

Hi all, I need to get a string from a webview to my app, and I have tried a few ways to do it. On iOS everything works fine, but on Android I've got problems. Basically the idea is: ~~~ webview.addEventListener("load", function() { var html...

forgeUI build for android crashing

Hello all. I've been testing the new [ForgedUI](http://www.forgedui.com/) add-on for Titanium that helps create UI elements for the Titanium applications. I created the UI and built it to JS code. and it now looks like [this](http://pastie.org/3089477),...

Activity Not Found Exception

Hi, I'm new to Titanium and I was trying to call one app from another on the Android platform using Intents, but I keep getting the following error: Wrapped android.content.ActivityNotFoundException: Unable to find explicit activity class...

Studio debugger tutorial?

I thought I read somewhere that there was a video demonstrating the debugger. I have never used a debugger before and I can't figure out how to catch my app before it crashes. Interestingly enough it doesn't crash at all when I just run my app in the...

Showing 1-50 of 75 1 2