Is it possible to pass variable value from activity to python. I am having file duration,i want to pass it to python script and set Monkeyrunner.sleep(fileduration) in my script.
how can i be able to do that.
Regards Mayank
Is it possible to pass variable value from activity to python. I am having file duration,i want to pass it to python script and set Monkeyrunner.sleep(fileduration) in my script.
how can i be able to do that.
Regards Mayank
You should use some method to communicate from your Activity
to your python script. It would be possible to create a SocketServer and then invoke it from inside your Activity
passing the desired value.
Files could also be used as a rudimentary form of communication.