Xamarin

Interesting. Have you used this? We've used PhoneGap/Cordova for a couple of things. Performance always annoys me when it doesn't feel native.

Nope, I write in native language for android.
 
If you don't mind C++ you can also use Qt on android and IOS.
 
It depends on the needs of the application, you cannot paint it with a single brush.

In this case I can. We've used both and spent an inordinate amount of time testing and researching this topic. If you want a good user experience you build native, and you always want a good user experience.

I wouldn't build even the simplest application in HTML. The responsiveness and fluidity is not on the level of native apps, and you're building a brick wall which you will very likely run into later.

Regardless of the above, a big chunk of code is for the UI which can't (well it can but it shouldn't be) ported. So HTML really doesn't offer that much of an advantage. Considering the time spent optimising, it doesn't offer any advantage.

With Xamarin I can't port most of the code either, but it runs native and I don't have train a bunch of devs on the absolute abortion that is objective-c.
 
Native > html

That is all.

Not necessarily. I have to agree with semaphore here that it depends on the application. AFAIK LinkedIn has a hybrid app that leverages the best of native and web.

Seems like the hybrid naysayers are just afraid of good old JavaScript, CSS3 and HTML5. :p
 
Not necessarily. I have to agree with semaphore here that it depends on the application. AFAIK LinkedIn has a hybrid app that leverages the best of native and web.

Seems like the hybrid naysayers are just afraid of good old JavaScript, CSS3 and HTML5. :p

There is nothing you can do in HTML that you can't do natively, and it will be faster and more efficient natively so there is no "best of both".

Facebook also had a hybrid app, they changed to native end of 2012, same with twitter, same with most of the widely used apps.

From techcrunch: "Facebook for Android 2.0, replaces the hybrid native/webview code with an all-native infrastructure to answer years of complaints by making the app much faster. "

http://techcrunch.com/2012/12/13/facebook-android-faster/

EDIT: I'm not saying it won't be great if we could use HTML, but at this stage it doesn't give the same user experience and that is not worth the sacrifice.
 
Last edited:
We use Xamarin, originally it was because we wanted cross platform code.
About a year down the line, we are only going to support Android (It's a corporate app).

I think Xamarin is awesome, and would suggest it above cordova, however not sure its worth the ~9mb it adds to your app though. If it's a corporate app it doesn't matter as much, however if it's for the outside world then it's way to big.
 
We use Xamarin, originally it was because we wanted cross platform code.
About a year down the line, we are only going to support Android (It's a corporate app).

I think Xamarin is awesome, not sure its worth the ~9mb it adds to your app though.

Check that your linking isn't set up incorrectly if it adds 9MB to your app. That or you are using every single bit of .net.
 
Top
Sign up to the MyBroadband newsletter
X