开发者

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();
    }
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜