News for hackers. Stuff that matters.
Re:I made an iPhone game with PhoneGap and won't do it again by ryandrake on Sunday November 27, 2016 @02:10AM (#13048130)
I'd suggest:

Cross platform traditional apps when you have at least one poor soul who is willing to work with the Android NDK/JNI: shared C++ business logic + minimal platform-specific language for UI.

My view is that unless your app is trivial (say, less than 10K lines of code), it's never worthwhile to re-write the entire app for each platform. Share as much logic as you can with the "common" tongue, C++.

Re:I made an iPhone game with PhoneGap and won't do it again by jventura on Sunday November 27, 2016 @01:06PM (#13050406)
I would go a little bit further and say that, depending on which language you have your code, you can even use C/C++ to make a bridge between Java and some language interpreter. I've done something like that for integrating a lot of existing python code on a Android app I've done. There's a working sample in my github: https://github.com/joaoventura/pybridge

Performance is pretty good, and the UI is entirely native Android.

Re:I made an iPhone game with PhoneGap and won't do it again by bschwindHN on Sunday November 27, 2016 @02:46AM (#13048225)
I've worked with the NDK/JNI and totally agree on the "poor soul" comment. If you're someone like Spotify who has enough money, supported platforms, and a complex enough app, then that method is likely a win.

But if you're only targeting Android and iOS, you'll likely get to market faster with something like React Native while still retaining native UIs. It'll certainly be better than Phonegap/Cordova/Ionic.

Re:I made an iPhone game with PhoneGap and won't do it again by Capt-RogerOver on Sunday November 27, 2016 @08:24AM (#13048999)
What is your opinion on Qt mobile?
Re:I made an iPhone game with PhoneGap and won't do it again by bschwindHN on Sunday November 27, 2016 @10:10AM (#13049504)
I haven't personally used it so I don't have much to say. It looks like it requires a commercial license so that doesn't get me particularly excited about it.

I'm also not sure how hard Qt actually tries to give you UI components that look like what you would find in a typical app. If you have Qt experience then I'm sure you can make it work, I've heard good things from people who have used it.

I'm also guessing it has much more consistent and robust UI behavior compared to running things in a web view.

You'll have to find someone who has actually used it though to get a real opinion, I'm just speculating here.