duanqiongniu1469 2013-05-29 20:20 采纳率: 100%
浏览 53
已采纳

如何从服务器接收图像到应用程序

I know how to send an image from my app to server. (PHP) Now I would like to know how to send an image to my app from the server.

I know I could made available a URL an upload the image from an URL, but is it possible to send it to the app without providing an image URL as a form of variable or something like that (and not base64 given the 33% size increase)? If it is possible could anyone point me in the right direction?

  • 写回答

3条回答 默认 最新

  • duangan4070 2013-05-29 20:27
    关注

    I would suggest you to use JSON reply with the image URL from the server. Only you received the image URL you can store the image to your app. I am a PHP developer once I work for a Android and IPhone project, I given then image URL to the App team and they followed the above method and they got success. hope this might give you some more solutions.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(2条)

报告相同问题?

悬赏问题

  • ¥40 如果update 一个列名为参数的value
  • ¥15 基于51单片机的水位检测系统设计中LCD1602一直不显示
  • ¥15 OCS2安装出现问题,请大家给点意见
  • ¥15 ros小车启动launch文件报错
  • ¥15 vs2015到期想登陆但是登陆不上
  • ¥15 IPQ5018制作烧录固件,boot运行失败(操作系统-linux)(相关搜索:操作系统)(相关搜索:操作系统)
  • ¥20 icefall在librispeech基础上加入个人数据集
  • ¥30 keepalive高可用故障运维配置询问
  • ¥15 求帮助!国家电网内网u盘突然识别不出来了。
  • ¥15 matlab语音变速变调同时实现