SCP
By Dodec
After four days of blood, sweat, and tears, I have finally wrestled Android into running code in a straight line. (For those of you out there who are Android developers, you know how hard this can be.) The fruits of my labor are Dumload, which is a silly scp photo uploader for Android. It is so named because of the techniques that were required to get Android to relinquish control flow to me, but still allow me to prompt the user on occasion.
Dumload registers for notifications from the 'Share' intent in Android, and uploads the sent file to a (currently hardcoded) ssh server. Once the upload is complete, it runs a script on the remote end called 'pscale', which resizes the image to 1024x768.
The source is available from my web site -- http://git.joshuawise.com/dumload.git/ -- although 1) it is disgusting, and 2) it is disgusting. You might want to look at it for ideas if you're stuck on how to get Android to give you your own main loop for long-running processing, or if you just want to do what I wanted to do.
Dumload registers for notifications from the 'Share' intent in Android, and uploads the sent file to a (currently hardcoded) ssh server. Once the upload is complete, it runs a script on the remote end called 'pscale', which resizes the image to 1024x768.
The source is available from my web site -- http://git.joshuawise.com/dumload.git/ -- although 1) it is disgusting, and 2) it is disgusting. You might want to look at it for ideas if you're stuck on how to get Android to give you your own main loop for long-running processing, or if you just want to do what I wanted to do.
A conference specific app allowing delegates to access programme details, exhibitor and sponsor biographies as well as preview of posters and short
More
13 years ago
Program was removed from android market