hello i am new in android devlopment
i want to know how to upload an image in android
i dont found any usefull tutorial for this
can u give me some instruction,pls,help me out.
hello i am new in android devlopment i want to know how to upload
Share
I built this lil methods for you:
Should work so far. On your webserver you need some PHP Script which returns a “1” for a successful upload and something else for an error. I also suggest to do this in a ASyncTask, to prevent blocking the user during the uploading.
On the webserver side you’ve got a file in the name “uploadedfile”. Hope that helps!