I do not know what you mean by Dart on Android.
But I would like to have something like phonegap as Dart library and a comfortable Android emulation in Dart and the Dart Editor.
Well that is not exactly the case, they already run the dartvm with opengl es bindings on android fpr x86
Never expected Dart VM's OpenGL, Android, etc, bindings to be officially supported and I'm all for moving these to community projects as suggested in my openglui related post (https://groups.google.com/a/dartlang.org/forum/?fromgroups=#!topic/misc/KdslI0AaliU)
Well, i believe Google will soon make Chrome packaged apps available on Android and make these "first class citizens"... i just hope that by then Dart is part of Chrome...
.crx
files (including packaged apps) are not supported on Android. Users cannot install their apps onto the Android browser, but they can most likely use those apps by directly accessing the app's URL.--
# Get the source
gclient config http://dart.googlecode.com/svn/branches/bleeding_edge/deps/all.deps
echo "target_os = ['android']" >> .gclient
gclient sync
# Make some changes:
# tools/build.py
104: if not arch in ['ia32', 'arm']:
107: if target_arch not in ['ia32', 'arm']:
161: toolchain_arch = 'arm-linux-androideabi-4.4.3'
188: target_arch=arm
421: toolchainprefix = ('%s/arm-linux-androideabi' % os.environ['ANDROID_TOOLCHAIN'])
# tools/gyp/all.gypi
12: 'target_arch': 'arm'
+13: 'armv7': 0
# tools/gyp/configurations_android.gypi
21: 'android_ndk_sysroot': '<(android_ndk_root)/platforms/android-14/arch-<(android_target_arch)',
36: 'android_target_arch' : 'arm',
# runtime/vm/assembler_arm.cc
14: //#if !defined(USING_SIMULATOR) && !defined(__linux__)
15: //#error ARM cross-compile only supported on Linux
16: //#endif
# Build
tools/build.py -m release -a arm --os=android -v dart
# Push dart to android
adb push out/android/ReleaseARM/dart /data/local/tmp/dart
# Push some benchmarks and/or examples
adb push hello.dart /data/local/tmp/dart
# Run it
adb shell /data/local/tmp/dart /data/local/tmp/hello.dart
--
For other discussions, see https://groups.google.com/a/dartlang.org/
For HOWTO questions, visit http://stackoverflow.com/tags/dart
To file a bug report or feature request, go to http://www.dartbug.com/new