android - 安卓app实时更新欢迎界面
PHP中文网
PHP中文网 2017-04-18 09:14:21
0
3
685

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

PHP中文网
PHP中文网

认证高级PHP讲师

reply all(3)
阿神

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.

巴扎黑

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.

小葫芦
  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)

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!