how to send image file on php server using http post method in android application
i want to send image file on my php server not upload on php server....i want to only sen开发者_运维百科d to php server by using post method...so pls tell me about dat..and help me..
You can do something like this
try {
Bitmap bitmap = BitmapFactory.decodeStream((InputStream)new URL(imageUrl).getContent());
} catch (MalformedURLException e) {
e.printStackTrace();
} catch (IOException e) {
e.printStackTrace();
}
精彩评论