Support building native Android applications with Dart #19266

Closed
DartBot opened this Issue Jun 6, 2014 · 20 comments

Projects

None yet

4 participants

@DartBot
Member
DartBot commented Jun 6, 2014

This issue was originally filed by seb...@deleuze.fr


In addition to client and server side applications, it would be awesome if a Dart Android SDK was released, in order to allow building native Android applications with Dart.

Dart would be a great alternative to Java for developing Android application efficiently, and Android API could take advantage of the language.

It seems there is already an experimental support for building Android application with dart:core API : https://code.google.com/p/dart/wiki/Android

So the purpose of this issue is about improving this experimental support in order to get the whole Dart API, Android SDK and Dart editor support for Android application.

This is a huge effort, but with potential huge benefits for both Dart and Android developers !

@DartBot
Member
DartBot commented Jun 6, 2014

This comment was originally written by loic.descott...@gmail.com


The best thing would be to have a Dart VM for android!

@DartBot
Member
DartBot commented Jun 6, 2014

This comment was originally written by @zoechi


Dart VM for Android already exists
https://code.google.com/p/dart/wiki/Android
see the Limitations section for more details.

You need access to all C and Java APIs to create useful apps. Currently there are only command line apps possible I suppose.

@DartBot
Member
DartBot commented Jun 6, 2014

This comment was originally written by loic.descott...@gmail.com


Thanks, I was thinking it was currently just a proof of concept VM

@DartBot
Member
DartBot commented Jun 6, 2014

This comment was originally written by seb...@deleuze.fr


Yes Dart VM for Android is quite advanced since Chrome (including Android version) with Dart support has already been announced. What is missing is all Android API and tooling, and perhaps a Dart to Art (the new Android runtime) compiler ...

@DartBot
Member
DartBot commented Jun 6, 2014

This comment was originally written by loic.des...@gmail.com


Ok thanks for the details
Indeed don't know if it would be simpler to have a Dart VM for native apps in addition to Art, or to develop a Dart to Art compiler

@kevmoo
Member
kevmoo commented Jun 6, 2014

Added Triaged label.

@DartBot
Member
DartBot commented Jun 7, 2014

This comment was originally written by yulian...@yuvaks.com


I think this would be a great idea. A seperate Dart VM alongside ART would require dart implementations of everything, while if they use Ahead-of-Time Compiling or some form of bytecode conversion to ART, then it would just be the Dart syntax ontop of the Android/Java libraries and would have interop similar to how Apple's Swift and ObjC, or any other JVM language.

@DartBot
Member
DartBot commented Jun 9, 2014

This comment was originally written by william.quartz...@gmail.com


Currently my entire development outside of the day-job is in Dart. To see Dart come to Android would be a watershed event!

@DartBot
Member
DartBot commented Jun 9, 2014

This comment was originally written by jonapu...@gmail.com


Make it so.

@DartBot
Member
DartBot commented Jun 10, 2014

This comment was originally written by dit...@adelieland.eu


@Commenters: Please, I stared this issue so that I would get notifications of outcomes for this; I would appreciate if you didn't comment just to show your support for this issue (because that's what the star is for). Thank you.

@DartBot
Member
DartBot commented Jun 13, 2014

This comment was originally written by @vicb


getting closer ?
https://code.google.com/p/dart/source/detail?r=37291

@DartBot
Member
DartBot commented Jun 26, 2014

This comment was originally written by mihaiir...@gmail.com


I mostly develop in Android but started learning Dart only because I heared of its resemblance to Java and thought that one day google would do a leap of faith and put the language inside Android. I eman look at Firefox OS. Theyve put their Gecko Engine and it works. I think it would be a verry bold step for Google to push Dart onto Android, and at first to make a smooth transition offer paralell versions so to not break he comaptibility. I am really excited to see Google put Dart in Android. I mean why shouldn't they. There is a Python Script Layer and A Qt Library Layer already running ontop of Android.

@DartBot
Member
DartBot commented Jun 26, 2014

This comment was originally written by poggos...@gmail.com


Put your heart at rest, they were pretty adamant yesterday at the fireside chat. Not going to happen.

@DartBot
Member
DartBot commented Jun 26, 2014

This comment was originally written by luca.mtudo...@gmail.com


Sorry to have your hearts broken too:
http://youtu.be/K3meJyiYWFw?t=1m58s
http://youtu.be/K3meJyiYWFw?t=26m

Also sorry for the spam.

@DartBot
Member
DartBot commented Jun 30, 2014

This comment was originally written by mihaiirimies...@gmail.com


@ 15 pog. Well, if you've seen the recent talk at Google I/O regarding the internals of the new ART runtime, they said that ART is build in such a way that you can plugin more than one compilers. Theoretically one can plugin a Dart VM compiler thus incorporating the DART VM inside ART. ART is thought to be an ecosystem of runtimes. And my guess is that Android will futurely support more than one compilers easily. Think for a moment about this. Through the help of a compiler framework Android could cover not only Java but Dart, maybe eaven iOS as an emulated runtime.

@DartBot
Member
DartBot commented Sep 15, 2014

This comment was originally written by bipin.na...@gmail.com


It is 2-3 months old and no one updated, so I am just iterating. Can anyone from the team tell if this is planned/on their roadmap or this won't happen any time soon. Any official answer to this ?

@DartBot
Member
DartBot commented Sep 15, 2014

This comment was originally written by todokeru.bl...@gmail.com


Probably not happening, as of the IO fireside chat.

@DartBot
Member
DartBot commented Sep 15, 2014

This comment was originally written by mihaiir...@gmail.com


Hi Todokeru,
There is an I/0 talk about Dart in which thy show a shell approach towards porting a Dart app on Android.There is also a recent Dart talk on the Coldfront Conf. http://video.coldfrontconf.com/ in which Casper says that there is work in bringing dart into Android through a similar WebView like wrapping. So basically they will port dartium into Android, or some parts of it.Which is sad, they should port the whole VM and bind it like Cordova does, use a Native Layer.

@DartBot
Member
DartBot commented Sep 15, 2014

This comment was originally written by @pjako


Well there is something going on: https://pub.dartlang.org/packages/android

Some something like intels crosswalk with a dartVM and a native plugin to access all the android apis would be an interesting option.

@kevmoo kevmoo added the Area-NONE label Jun 17, 2015
@floitschG floitschG added Area-SDK and removed Area-NONE labels Jun 24, 2015
@mit-mit
Member
mit-mit commented Sep 1, 2015

Please keep an eye on this: https://www.dartlang.org/mobile/

@mit-mit mit-mit closed this Sep 1, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment