Android 1.5 includes Apache HttpClient 4 for the purposes of making HTTP requests. Unfortunately HttpClient 4 (or the version included with Android anyway) doesn’t appear to support multipart form uploads. As it happens writing a solution from scratch (at the HTTP layer that is) is pretty straight forward. The main challenge is understanding how the [...]
Tag Archive for 'java'
Multipart form upload on Android
18Feb10Creating a remote paging listview isn’t particularly difficult but getting to the point of knowing how all the pieces fit together can be tricky first time round. This post describes how I created a very simple remote paging listview that retrieves each page of data from an Oracle database table. As well as describing the [...]
Meteor WebSMS
10Oct07As a Java5/JUnit4/Maven2 learning exercise I’ve written a simple little SMS command line utility called Meteor WebSMS. It allows you to bypass Meteor’s website and send the free web SMS messages they offer from your command line (you have to be a Meteor customer of course). The API is completely separate from the the command [...]
UPM 1.5 Released
31Dec06Just thought I’d slip another release of UPM out before the end of the year. Here’s what’s new in this release… – Added Czech and German translations (courtesy of Petr Ustohal) – Added username and password fields to the HTTP proxy options – The HTTP Proxy can be enabled/disabled using a checkbox while still retaining [...]
JPasswordField is a Java SWING control used to manage password fields. Rather than use a normal JTextField it masks the characters typed by the user with some other character (default is an ‘*’). Very often it’s useful to see the actual text in this field. One way to do this is to give the user [...]


