So far this board has been a great help for me in starting pys60 even without having to post any questions myself!
I hope you might also have an idea for a solution of the problem I'm having now.
I'm simple trying to take Screenshots on my S60 (3rd Ed.) phone and then sending them to my PC over USB.
Here is what I do now:
1. Send a command from the PC to the phone to take a Screenshot
2. Create a Screenshot with the help of the graphics module and save it to the phone
3. Open that file and send it's content to the PC over USB (with pys60usb) splitted in several packages of equal (small) size.
That's working fine so far. I'm getting good quality Screenshots in a reasonable amount of time.
Here is my problem:
When I start trying to take Screenshots from outside the Python shell (meaning: putting the shell to the background and then triggering the phone to take the screen) the script constantly crashes giving an error message quoting a line where I send my data and an KErrCancel.
Here is what I tried so far:
1. Delaying/Slowing down the whole transfer - not working
2. Reducing/Increasing the size of the packages I send - not working
3. Tried putting the whole thing in a Daemon process like in the example on the wiki here - not working
It's for several reasons not possible for me to simply switch to Bluetooth transfer.
So I'm actually stuck with pys60usb.
Is there any difference in the connection handling depending on the current status of the app (foreground or background)?
Is there any other point I might be missing?
Does anyone have any idea how to solve this?
If any more information is needed please let me know!
Thanks in advance!