How can i upload image and any doc file( for e.g. *.doc or *.pdf) from app to PHP server in very convenient way(it does not take much time to upload and should compress image or doc while uploading and decompress it on other side).
Please refer to me some good example to do both in android app or any library for eclipse.