News for hackers. Stuff that matters.
Re:Why Trigger.io doesn’t use PhoneGap – 5x faster native br... by untog on Friday February 24, 2012 @01:04PM (#3630152)
This is an awesome read. I've made an HTML5-based app (overview at http://taxono.my for the curious), but have been stuck using Appcelerator, because I need to use the hooks to run code in the background- AFAIK PhoneGap and the like do not have the ability to do this unless you make an Objective-C plugin.

But the bridge between the webview and the Appcelerator code is painfully slow. I had it pinging over current location coordinates more than once per second- it worked fine in the simulator but utterly crippled the app when run on a device. For now all I can do minimize the number of calls I make, but that's hardly a great solution.

Re:Why Trigger.io doesn’t use PhoneGap – 5x faster native br... by amirnathoo on Friday February 24, 2012 @01:07PM (#3630163)
Thanks, we'll do comparisons against other native bridges in the future also.

Cool app by the way thanks for sharing... though I wish I could try it on my Android ;-)

Re:Why Trigger.io doesn’t use PhoneGap – 5x faster native br... by untog on Friday February 24, 2012 @01:11PM (#3630181)
Thanks! The app was developed for an NYC app making competition (http://2011.nycbigapps.com) and so, with a deadline- so the Android version ended up not being finished in time.

Rest assured, the Android version is on the way. In fact, this app-crippling native <-> webview communication is what has taken up all my time and stopped me from developing the Android version.

Looking forward to the day you guys have a solution for background processing- the Appcelerator JS/native hybrid is a mess I'd love to see the back of.