Want to do an Android picture app, get the picture on the server the best way to do that?

Source: Internet
Author: User
Keywords Php android mysql json
APP request database server → database return JSON data →app parse JSON data → show picture
Is this the principle? Or does the APP directly query the image URL in the database? I heard that JSON was fast ... What the hell is the relationship ... The mind is a bit chaotic, also invites the big God to instruct twos. (What's the way to get a picture URL if you do this picture app?) )

Reply content:

APP request database server → database return JSON data →app parse JSON data → show picture
Is this the principle? Or does the APP directly query the image URL in the database? I heard that JSON was fast ... What the hell is the relationship ... The mind is a bit chaotic, also invites the big God to instruct twos. (What's the way to get a picture URL if you do this picture app?) )

1.JSON is a data format, no quick and unpleasant concept
2. Recommended Steps

安卓客户端需要请求服务端服务端可以读取数据库,然后把数据包装成 json 格式响应给安卓客户端客户端解析 json, 显示里面的图片 url
  • Related Article

    Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.