PC SOFT

PROFESSIONAL NEWSGROUPS
WINDEVWEBDEV and WINDEV Mobile

Home → WINDEV Mobile 2024 → Evaluate Expression Android
Evaluate Expression Android
Started by HECTOR, Feb., 17 2017 11:29 AM - No answer
Registered member
26 messages
Posted on February, 17 2017 - 11:29 AM
Hello, I'm developing an Android App and I need to Evaluate expressions dynamically, but the functions EvaluateExpression(), Compile(), Execute() and ExecuteCode aren't avaliable in this platform.

Exists any other way to do that? If it didn't exist, It's possible to execute dynamically a external java .class file?


What I want to do is execute simple pieces of code included in a string variable from a webserver.

For Example:

EvaluateExpression(Info( "abc" + "ABC"))

EvaluateExpression(n1 = 25 + n2)


OR
functionToExecuteJava(File.class)

functionToExecuteJava(File.java)