ECMAScript Engine for Android

Last Updated:

  1. homesky

    homesky New Member This Topic's Starter

    Jan 19, 2009
    Likes Received:

    This is my first post in this forum...Sorry for my english...

    I'm developing an android applications and now I'm trying to interpret some ECMAScript expressions that I've found like XML's attribute.

    At the moment I'm trying to use Mozilla Rhino but I've a problem.

    First question: Rhino can be executed on Android Platform?

    I've created a class that implements some methods that evaluate the expresions and set/modifiy, if necessary, a variable in the created environment.

    So when I execute my application an error comes when a method in a class of the library(Rhino) tries to create a new object of another type present in the library.

    The generated exception is launched by the ClassLoader in java.lang of Android's platform and say: "can't load this type of class" or something like that

    Second question: Where can be the problem? Is a programming error or maybe is an incompatibility between library and platform? What can I try to do?

    Third Question: Are there other libraries that can I use on Android to do the same things?

    Thanks to all of you.



Share This Page