search

Home  >  Q&A  >  body text

android - 安卓app实时更新欢迎界面

类似QQ等app欢迎界面不定时更新,求好方法

PHP中文网PHP中文网2772 days ago720

reply all(3)I'll reply

  • 阿神

    阿神2017-04-18 09:16:21

    It’s simple, start the service in the background to check for updates regularly, download new image resources when there are updates, and load and enable new images the next time you open the app. It just seems to be irregular for users.

    reply
    0
  • 巴扎黑

    巴扎黑2017-04-18 09:16:21

    The one above is the commonly used method. If you feel that regular updates are too troublesome, it is easier to check for updates when the app is opened. If you want to open the app and detect new pictures, download them and display them, you will definitely end up waiting for too much time in the welcome interface.

    reply
    0
  • 高洛峰

    高洛峰2017-04-18 09:16:21

    1. Start checking for updates on the welcome page, but when the network is not good, it will take a little more time.

    2. Set a reasonable time to detect updates (for example, when exiting the program, request the network, then save it (exit the app at this time), and then when you start the next time, read whether there are updates, directly Enter)

    reply
    0
  • Cancelreply