What is the process of uploading pictures on the Android client?

such as the title, similar to the dynamic function of publishing pictures, how is it realized? The common practice for blogs you see on the Internet is to select pictures from Android clients and upload them to the server through http, and then return an url address to save in the database. Is this a common practice? And if so, should the server normally create a folder to store pictures?

May.31,2021

is usually what you call it. Images are usually uploaded to your own CDN, because image loading is more time-consuming than text, and regional storage is necessary to improve the user experience. Of course, I think there are two more points to consider.

  1. weak network, how to deal with picture upload failure?
    learn about job,intentservice, breakpoint resuming.
  2. how to ensure the order of multi-image uploads?
    learn about rxjava's contactMap operation.
  • Ask questions about push, database, Android

    this semester, the teacher gave a project, which is to design a push system. The main function is to realize the function that the server pushes data to the mobile or PC, and the mobile or PC can feedback the data. Because I am a mechanical student, I d...

    Mar.03,2021
Menu