How to develop a native mobile applications for android using dart language ? Is it possible?
Yes this is possible. A Dart application can be compiled to a regular JS/HTML app and packaged as such.
For a real world example see Veterninary Anesthesia in the Play store.This app was written in Dart and an installable phone application version was build with PhoneGap. The developer's blog extensively details how it was done.
Native Dart apps may come eventually. There's some reports of people compiling the Dart VM on Android. Currently, the Dart team are focussing on the Web client.
Necronomicon :)
I know this is an old post, but for those who find it... Now there is an option to create native apps for Android and iOS using Flutter. Flutter Official Website ~> https://flutter.dev/
Update[July-19]: Now you can develop app/apps for all platform(including web) with a single code base using flutter.
Flutter is a new project to help developers build high-performance, high-fidelity, mobile apps for iOS and Android from a single codebase
By now it is in early stage, but looks very promising.
Update[September-2020]: Alfa support for Windows, MacOS and Lunix announced https://medium.com/flutter/announcing-flutter-windows-alpha-33982cd0f433
There would be some tools like PhoneGap, where you could write Dart, compile to JS, then use it to convert this whole thing to a native app. The question is if this is really worth it - I never tried it, but I could imagine that with Dart you'd need to use JS-Interop extensively, if it even works altogether - the tool might not even be able to use Dart's optimized JS output. Anyway, if you really want to do this, this might be worth a try.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With