Development Update
The past week I've been working on (when I can) the server side components. I have managed to get a PHP script that will accept HTML POST requests containing an image and upload these images to a directory on the web server box. It checks that the items being upload are only images and that they each have a maximum file size of 8MB. I previously made a small C# application to publish a generic http service (with the help of some libraries). This application will need to be configured with the IP and port number that this PHP script is accessible via. The next step with the PHP script is sending back a meaningful message about the status of their upload attempt. In the case of success a messages saying "Success" will be presented to the user along with some info about the total size of the files uploaded, their location on the kiosk and a unique ID for that particular transaction. This unique ID could potentially be used as a password as well. From what Nick has said this response to the iPhone should simply be some echo commands in the script that print out this information. If this works as planned than the server side is well on its way to being complete for the basic implementation we are planning on for the final demo.
I am foreseeing that I will be called on for helping with the bonjour service discovery parts on the iPhone. Apparently there are some libraries available to work with bonjour so hopefully we can use them. If all else fails we can just make the IP and Port static so the app always expects the server to be at one particular address.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment