Now that android is pushing to use “content:” URIs that can only be opened as InputStream I suggest to add new methods to HttpFileUploadManager:
public URL uploadFile(InputStream fis, String fileName, long fileSize)
and
public URL uploadFile(InputStream fis, String fileName, long fileSize, UploadProgressListener listener)
Existing methods can re-use the stream ones.