I'm looking for a library that will let me evaluate expressions at
runtime. Required:

- basic logical expressions (AND, OR, NOT operators)
- custom functions
- some mechanism to resolve variables (I want to link some variables
to some entities in a ContentProvider)

I have tried a number of libraries including MVEL and Juel, which
would be perfect but they do not seem to work under Dalvik. I couldn't
really figure out why, but it looks like they rely on some class
loading mechanism which seems to be problematic in Dalvik. There was
also some problem with libraries checking the java runtime version
(System.getProperty("java.version")) which is 0 in Dalvik for some
unknown reason.

I have also looked at BeanShell, but I think this is not really
suitable because it is a full blown scripting engine (which leads to
some security issues in this case) and all I need is evaluation of
simple expressions.

Any suggestions?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to