Reputation: 169
We made a simple Android app (game) with HTML5/CSS/Jquery and used jquery mobile. Everything latest version. There's also some javascript used. Latest version of Phonegap (Cordova) is used to deploy it to Android via Eclipse.
We almost finished our app, everything works fine, we just need to do some final tweaking.
The problem that we are still facing is performance. From pressing a button to showing a pop-up to screen transitions. It just doesn't feel like running naturally smooth. I also installed an example basic jquery mobile app. Same problem, in everything you do there is a small delay and I think HTML5 and Jquery mobile are just not ready yet.
We used multiple phones so that shouldn't be the problem.
I'm not capable of programming in Java, but when installing a similar example Java app on my phone, everything ran really really smooth.
My question is, is there any alternative for our app, to make it run smooth? Should we program in Java instead or are there other options?
Upvotes: 1
Views: 3002
Reputation: 1132
If your key factor is performance then by all means develop your app as a native app. HTML5 and java script can come really handy only when you want to target multiple platforms with more concern towards the look and feel of the app while you want to maintain everything from on location.
Upvotes: 0
Reputation: 16914
I think that you'll have to implement that game in "native" code (Java) if you want acceptable performance. I've yet to see HTML5 based applications, let alone games that provide statisfactory user experience compared to native apps. Especially on Android.
It may happen in the coming years, it keeps getting better, but we're not quite there yet IMHO.
Upvotes: 2