Native mobile application using google dart language

6,564

Solution 1

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.

Solution 2

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

Solution 3

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.

Solution 4

Dart team is working on their own stack of dev tools from runtime to UI sdk for dart lang on mobile devices. Check this, https://www.dartlang.org/mobile/

Solution 5

I don't think that is possible: as you can see in this link, "the current focus for Dart is web applications". Or perhaps it seems a little complicated, see also this thread for further info.

Share:
6,564
rejo
Author by

rejo

Javascript , AngularJs Developer

Updated on November 25, 2022

Comments

  • rejo
    rejo over 1 year

    How to develop a native mobile applications for android using dart language ? Is it possible?