News for hackers. Stuff that matters.
Re:Phonegap 2.0 released by isnie on Friday July 20, 2012 @03:17PM (#4272452)
Used Phonegap on 2 projects and I have to say, never again. If you want to have the job done right and you want a quality product, go native. We lost days(weeks even) of time chasing an obscure bug in the location tracking of Phonegap. Also, the end result wasn't very good to be honest. It lacked the fluidity and responsiveness you have with native apps.

sure, you can develop things 2 as fast but then you spend all the rest of the time just messing around to get that "native feel".

Re:Phonegap 2.0 released by nobleach on Friday July 20, 2012 @08:18PM (#4273480)
When you have a team that has no Obj-C/iOS development experience, you'll lose more than a couple of weeks. We have one Java guy on staff, and he's never touched Dalvik. Our usage of Sencha Touch has produced relatively good results. The sheer force required to write a native app for multiple platforms is too costly. If I hit a case that I can't handle in JS, I won't take the job.
Re:Phonegap 2.0 released by marknutter on Friday July 20, 2012 @06:37PM (#4273197)
I've used it on a couple myself, paired with Sencha Touch, and I have to say it has been overall a very good experience. We were able to put out an Android and iOS version of our app in 2 months. Performance on older Android devices wasn't great, but on newer phones like the iPhone 4+ and Androids shipped within the last year, performance was damn close to native.
Re:Phonegap 2.0 released by ch0wn on Friday July 20, 2012 @06:56PM (#4273252)
Couldn't agree more. At the company I work for, we tried both Phonegap and Appcelerator Titanium and it both was a total disaster. We're back developing native apps and both the development and user experience is just so much better.
Re:Phonegap 2.0 released by willtheperson on Saturday July 21, 2012 @01:03AM (#4274010)
Not all apps use native controls. Not all apps should be built on PhoneGap.

At my company, we need to build apps rapidly. By rapid, I mean 1 week for a testable product. I have a app skeleton that implements backbone.js and some "native" css controls ready to go. I can easily turn around an app in that time.

Is it as fast as native? No. Do most people notice that? No. Does it prove the app concept we were trying to test? Yes.

So we basically use it as a prototyping platform and if the app has a lot of users, we'll go native. From my experience, it's much faster to prototype in html5 than it is in obj-c.

Re:Phonegap 2.0 released by isnie on Saturday July 21, 2012 @03:05PM (#4275491)
you're describing a totally different scenario, as a rapid prototyping tool I can totally see why you would choose Phonegap over native code. but as something to give to the end user? not so much.

Although with Interface Builder and some wiring you can quickly mock something up as well. But it probably would go faster in Phonegap to go from PSD to app.

I don't agree 100% with most people not noticing though. I do feel a smooth app adds to the overal experience.

I tested the first app they showed in the Phonegap gallery and it has that typical Phonegap feel to it: laggy response and glitchy transitions. It gives the app a sloppy feel. Maybe people won't notice, but it's not a fun app to use.

Re:Phonegap 2.0 released by matwood on Saturday July 21, 2012 @09:10AM (#4274709)
This has also been my experience. Phonegap should work for the subset of apps that could have just been done as a mobile app to start with. If you need to do anything that might push the device native is the only way to go.
Re:Phonegap 2.0 released by vellum on Friday July 20, 2012 @07:39PM (#4273385)
I agree. I spent about a few weeks cobbling together a prototype, but most of it was spent trying to get it look and feel native. That plus debugging is a nightmare.
Re:Phonegap 2.0 released by tb303 on Friday July 20, 2012 @04:04PM (#4272647)
seconded
Re:Phonegap 2.0 released by papsosouid on Friday July 20, 2012 @04:23PM (#4272729)
>It lacked the fluidity and responsiveness you have with native apps.

Having only messed around with phonegap a little recently, I wasn't sure if this was a real issue or something I was doing wrong. Is the lack of responsiveness you describe a noticeable delay any time you try to interact with the app in any way? I made a trivial app that just has two pages, and switches between them when you click a button, and it was obviously, noticeably slow to react. Is that "normal" phonegap performance? I guess I am just hoping I did something wrong, because I don't see how anyone could possibly use phonegap if it really is that slow all the time.

Re:Phonegap 2.0 released by ryanwatkins on Friday July 20, 2012 @04:44PM (#4272814)
While there are performance issues in Webkit vs Native, for the trivial example the issue is usually the default delay in generating a 'click' event. Browsers wait 300ms to see if you're attempting a doubletap. You want to use a framework, or write some code to detect 'touchstart' for clicks to register with a minimum of delay.

See https://developers.google.com/mobile/articles/fast_buttons