Status of Jython, JRuby, Scala, etc Android development?

by remi » Thu, 23 Oct 2008 11:32:55 GMT


Sponsored Links
 I'm not to Android development - got my G1 today, like many other
developers.  I'm a professional Ruby developer (with previous Java
experience) and I'm working ... what is the status of writing Android
applications in other Java languages that compile to typical Java
bytecode (like JRuby, Jython, etc)?

( there's nothing wrong with plain vanilla Java, but I would be *very*
interested in developing open-source Ruby libraries to lower the bar
to entry for Android, for Ruby developers ... I'm sure the same goes
for Python developers, etc )

Thanks!

--~--~---------~--~----~------------~-------~--~----~



Status of Jython, JRuby, Scala, etc Android development?

by remi » Mon, 27 Oct 2008 16:58:16 GMT


 Interest in this seems pretty high.  I wonder ... does the official
Android team have any interest in getting dynamic languages running on
Dalvik?  The ability to code in Python, Ruby, Groovy, Scala, etc seems
like it could do *amazing* things for Android and multiple the number
of Android developers.

Also, some of these languages (Ruby, in particular) are *great* for
writing DSLs - a DSL for making Android apps could be spectacular.

Anyway, I'm replying with some resource that relate to this topic
incase someone else is interested, etc.

This Sun blog post mentions why dynamic languages currently won't run
on Dalvik,  http://blogs.sun.com/jrose/entry/with_android_and_dalvik_at ,
saying "Something like the dx tool can be forced into the phone, so
that Java code could in principle continue to generate bytecodes, yet
have them be translated into a VM-runnable form. But, at present, Java
code cannot be generated on the fly. This means Dalvik cannot run
dynamic languages (JRuby, Jython, Groovy). Yet. (Perhaps the dex
format needs a detuned variant which can be easily generated from
bytecodes.)"

This guy posted what happened when he tried getting JRuby running on
Android:  http://amazing-development.com/archives/2007/12/14/jruby-on-android/ 

Here are other Google Group posts on other google groups that are also
curious about the status of running dynamic languages on Android /
Dalvik - watch them for updates or, if someone posts updates here, you
might want to let these other threads know as well:

"Java/Ruby Support" 


Sponsored Links


Status of Jython, JRuby, Scala, etc Android development?

by remi » Mon, 10 Nov 2008 22:26:19 GMT


 ote: I posted a new thread, asking about this, on android-developers
@
http://groups.google.com/group/android-developers/browse_thread/thread/ba48bb0d90c9f8e1

I don't think I'm cross-posting! I'm asking a fresh new question -
I'd like to find out if there's an official status of running dynamic
languages on Dalvik, somewhere out there. Even if no one is working
on getting dynamic JVM languages running on Dalvik, I'd like to know
that, Obviously, I hope someone out there is working on this, or
considering working on it :P

On Oct 27, 9:57am, remi <[EMAIL PROTECTED]> wrote:
--~--~---------~--~----~------------~-------~--~----~



Status of Jython, JRuby, Scala, etc Android development?

by remi » Mon, 10 Nov 2008 22:35:50 GMT


 ust stumbled upon this ... looks like someone implemented Jython on
Dalvik???? http://code.google.com/p/jythonroid/ no idea how stable it
may or may not be ... could be hot, though!

On Nov 10, 3:26pm, remi <[EMAIL PROTECTED]> wrote:
--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. Eclipse ADT Feature Request: Desktop Display & Control

Not sure if this is the right group/forum....

We use dot pocket (http://www.dotpocket.com) extensively for
development and tech support of our PocketPC apps.  It allows us
troubleshoot our app directly on the customer's USB-tethered PPC
device via VNC session.  Its fantastic.

I just discovered that the ADT plugin has a Screen Capture function.
It would be awesome to have remote control of a USB-tethered Android
device.  It looks like most of the important parts are already in
place: framebuffer scraping, file management/navigation, & apk
install.  The last bit would be injecting key events and mouse click
events from the PC through the ADB to the Android handheld.

Any possibility that this is on the radar?

-James

--~--~---------~--~----~------------~-------~--~----~

2. Queries?

I want to know some details regarding Android  OS which was used in T-
Mobile OS?
Does Android support the following features right now?
1.Bluetooth Protocol Architecture (Stack)
2.Bluetooth Stack Extension Layer
3.Bluetooth Profiles
4. Host Controller Interface
5.Bluetooth HCI Transport Driver
6.BSP-Wi- Fi Communication interface Driver (E.g. SPI Driver or Third
party SDIO card client driver)
7.BSP-Wi- Fi Driver
8.BSP- Bootlader/OAL
9.The IEEE 802.11 standard currently has four specifications: 802.11,
802.11a, 802.11b, and 802.11g.
10.Wi-Fi Multimedia (WMM)
11.Wired Equivalent Privacy (WEP)
12.Wi-Fi Protected Access (WPA)
13.Wi-Fi Protected Access - 2 (WPA2)
14.USB host
15.USB OTG 2.0

--~--~---------~--~----~------------~-------~--~----~

3. How do I transfer my .adk to the \system\app directory?

4. How to force portrait mode?

5. Setting "Use by default for this action" option crashes when attempting to replace a standard application

6. can not create Surface and ISurface successfully

7. posibility of self-acting sms/ mms an phone calls