wood burning stoves 2.0*
The moose likes Android and the fly likes groovy on android? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Mobile » Android
Bookmark "groovy on android?" Watch "groovy on android?" New topic
Author

groovy on android?

rob tirserio
Greenhorn

Joined: May 13, 2008
Posts: 6
is it possible/coming down the road, do use groovy while developing on android?
Mark L. Murphy
Author
Ranch Hand

Joined: Feb 11, 2009
Posts: 131
NOTE: I am not a Groovy expert.

There appears to be two ways to use Groovy: pre-compiled ("compiles straight to Java bytecode so you can use it anywhere you can use Java") and dynamically-compiled (generating bytecodes on the fly while interpreting Groovy source).

Pre-compiled Groovy might work on Android, but the Groovy-generated .class files would need to be integrated into the Android build process so they can be converted to Dalvik VM bytecode.

Runtime-compiled Groovy would work only if Groovy were taught how to generate Dalvik VM bytecode.

If there is pure interpreted mode for Groovy, where it does not attempt to generate bytecode at runtime, that might work as an embedded scripting language.

Mark Murphy (a Commons Guy)
Author of The Busy Coder's Guide to Android Development http://commonsware.com/Android/
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: groovy on android?