Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
-1 votes
1 answer
134 views

Runtime java code (string) injection and execution

I'm trying to inject in my existing code and execute a string of additional java code that uses classes defined in my project and manipulates data provided in my "compiled" code. I have ...
simonetassi's user avatar
0 votes
2 answers
99 views

Is it possible to create (NOT import) a new class in java using BeanShell?

I use BeanShell to dynamically manage interface and content in my android application. Today I faced the following problem: I need to process a class with an unknown structure for the application, ...
Dima Chibuk's user avatar
1 vote
2 answers
439 views

BeanShell Android Issue. Unable to start activity remotely

Good day. The main amazing thing about the BeanShell is the idea that i can control what i want to be done dynamically from the server and i thought it would be amazing. Although i never succeded in ...
Volo Apps's user avatar
  • 235
-3 votes
1 answer
145 views

Debug and Finding error in Bean Shell in Android

I'm using paw server and bean shell scripting in HTML which return the data in JSON form somehow I can't get any data from the script and I am not able to debug the script . Here is the code <...
ahmad faraz's user avatar
2 votes
1 answer
714 views

BeanShell error message in android studio

I am a beginner in java , I was making a simple calculator app in Android Studio using Beanshell . When I run the project , It works fine only on my emulator . For real devices , this app can be ...
000's user avatar
  • 405
-3 votes
1 answer
215 views

Bean Shell eval function implementation

I want to evaluate regular expression in my project and want to use something similar to eval function of bean shell. Can anyone tell me implementation of eval function of Bean Shell?
iamdeowanshi's user avatar
  • 1,079
1 vote
0 answers
69 views

Closing a thread that is currently running but has no loop

While creating an app I have run into the issue of closing a thread that runs user inputted code using Beanshell. thread.stop(); failed to kill the thread any ideas? Running the code a line at a time ...
user3437646's user avatar
0 votes
1 answer
86 views

Parsing Mathematical Expressions with Strings

I have been trying to find a solution for this for days now and I cannot figure this out. I am writing a program that (at one point) takes in mathematical expressions and displays the answer. I am ...
Joshua Clark's user avatar
1 vote
1 answer
908 views

Divide two integer and got wrong ouput using BEANSHELL Library

I am using to "Beanshell" library (http://www.beanshell.org/manual/bshmanual.html) for mathematical expression. it works good. but if i divide two integer like 4/2 = 2 //it ok 5/2=2 // it should be ...
Rahul Rawat's user avatar
2 votes
3 answers
1k views

How do I obtain the Android context in BeanShell for SL4A?

I started exploring BeanShell for SL4A because I read that it could access the entire Android API. This would facilitate experimenting with API features and programming ideas without the need for a ...
James Haigh's user avatar
  • 1,272
-1 votes
1 answer
788 views

PAW Server/BeanShell on Android and ADB

I have a need to install APK's remotely and want to use PAW Server. I know PAW Server in itself can't install APK's directly, but I could enable ADB on the devices and use PAW Server's BeanShell ...
MaKR's user avatar
  • 1,912
0 votes
1 answer
343 views

Android tests using robotium launched with BeanShell

I have a problem with beanshell.I want to create a BeanShell script that allows me to automate a Robotium test. I have a shell script that works and lets me do whatever I want, but I'm looking ...
Marie K.'s user avatar
5 votes
1 answer
5k views

how to make methods in beanshell?

I made a simple beanshell ide in android using an edittext and a button. When the button is clicked, Interpreter.eval() is called and edittext.getText().toString() is passed in as the parameter. I ...
awareeye's user avatar
  • 3,061