lihuazhang / android-scripting

Automatically exported from code.google.com/p/android-scripting
0 stars 0 forks source link

can't run in remote mode (from pc by wifi) scripts on my andorid #679

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
i have samsung galaxy s2.
but get message that it' not writeable'
>>> droid = android.Android(("192.168.1.11",39768)) //public server
>>> droid.makeToast("dsadas")
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File ".\android.py", line 58, in rpc_call
    return self._rpc(name, *args)
  File ".\android.py", line 45, in _rpc
    self.client.write(request+'\n')
io.UnsupportedOperation: not writable

thx you

Original issue reported on code.google.com by sagisofe...@gmail.com on 5 Apr 2013 at 11:08