Transparent ImageView / Button
Hi, I have some troubles with the ImageView for a program I am writing for iPhone : I have 2 ImageViews which overlap each other, both contain an image with some transparent parts (PNG). When I click...
View ArticleAndroid screen resolution handle
I've got a question about developing for Android. A few months ago i've created my first iPhone application with titanium, which was accepted to the appstore lately. Currently i'm making it ready for...
View ArticleIdea: Something like an onError event
Hey all, how do you handle errors in mobile application? I mean I want to display an alert dialog to my users as soon as an error occurs. Providing information what they could do now and so on. In the...
View ArticleJavaScript Global Error Handling
I just converted a webapp I have been working on and Titanium is fantastic however some people are still getting these JavaScript errors they had got before I was never able to re-create thus the...
View ArticleForwardGeocoder error handling / App. crashes
How can I handle a case where the forwardGeocoder fails or not return an address? Neither the Kitchensink nor the docs seem to have anything to say in this context. I've tried something like this...
View Articletry/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...
View Articlewhat is the best practice regarding reporting crashes?
If I have problems with my app on some device, I would love to send some information about what the ap was doing before it crashed. But is there any way I can somehow catch Exceptions that fire...
View ArticleTry/Catch not Catching Errors
I had a try/catch block surrounding some code but was still getting a force close so I tried the following test: try { var a = new Array(1111222223333444456789); } catch (err) { Ti.API.error(err); }...
View Article
More Pages to Explore .....