Uploading High res images in android
问题 Hi I wanted to upload high res images to my php server.Right now i am sending images to my server using encoded string.Problem here is i can not upload high res image it leads me to Out of memory. My image is around 1-2 Mb large in size. Here is a snippet how i upload image to server. String encodedPagerpath=""; if(!FILE_PAGER_PATH.equals("") && FILE_PAGER_PATH.length()!=0) { byte [] b=imageTobyteArray(FILE_PAGER_PATH,150,150); if(b!=null) { encodedPagerpath=Base64.encodeToString(b, Base64