Phone Image Uploader (Java MIDlet)
Constantly taking pictures with my phone and often being away from my computer (either in another country, down at the snow, or up in Port Stephens to name a few places) prompted me to create a program which would enable me to upload the pictures on my phone to my site at any time in any place (that has network coverage). I've since used it to take pictures from the top of Olympic run at Perisher, and both at the beach and on the boat in Port Stephens - uploading the pictures to my site straight away to show friends and family in Sydney.
On the phone side of things, there is a form with two fields: the path to the image you wish to upload, and the text you wish to use to label the image. If your phone supports the FileConnection classes and/or JSR 75 you will be able to browse for the image yourself, otherwise you will have to type the path in manually. When browsing for an image you are able to preview each image before choosing it.
On the server side, the script first saves the image, then adds the location of the image, the time of upload, and the text for the image into an XML file. A JSP then reads the XML file, displaying each image from newest to oldest, along with the text beneath the image, and the date and time of upload.
Like the games I made (Solitaire and Space Invaders) this is a MIDlet written using the J2ME Wireless Toolkit (WTK) using CLDC 1.1 and MIDP 2.0, and should run on any phone which supports Java and has those extra packages (at this stage pretty much all). Unlike those games however, this program also uses the PDA Profile for J2ME (JSR 75) (for the FileConnection classes) so that you can browse to find the picture you would like to upload. If your phone does not support these classes you will have to manually type in the path of the image.
Tested on:
- Nokia N70
- Ericsson
- Motorola RazR
Use either the .jar or .jad files to install the game onto your phone.
Download:
- Phone Image Uploader MIDlet v1.0
- Server-side resources
