tyaslab / android-scripting

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

sl4a python apk wont exit #667

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What device(s) are you experiencing the problem on?
All Devices

What firmware version are you running on the device?
All Firmwares

What steps will reproduce the problem?
1. compile python script into eclipse apk
2. install and run on phone
3. exit applicaion

What is the expected output? What do you see instead?
Expected: program quits, so one can then re-run application.
Actual: program quits... when restarted, last page viewed comes up, application 
does not restart until user goes to "settings:applications:<yourapp>:forceQuit

What version of the product are you using? On what operating system?
All versions, on windows, linux, and android.

Please provide any additional information below.
I am trying now to have the script CRASH close [ie: python:
import glob
end=glob.glob('abcdefg.kakaka')
print(end[1])
]

this should crash script, yet not until invoked within script... [another eg:
import urllib2
request=urllib2.Request('http://nonexistantsite.com/doesntExist',None)
end=urllib2.urlopen(request)
]

This had worked for a day.... but then stopped.  it really sucks having your 
users goto SETTINGS:APPS:FORCEQUIT

Original issue reported on code.google.com by MichaelD...@gmail.com on 6 Oct 2012 at 10:08