upload as async task. now the upload works under android 4 as well.