Home  >  Q&A  >  body text

handler - android app 启动时进行版本检测, 是怎么实现?如何实现在网络慢的时候不阻塞页面加载。

android app 启动时进行版本检测, 是怎么实现?如何实现在网络慢的时候不阻塞页面加载。
情景: 我做的app 在启动的时候,做一个启动页面, 这个启动页面就一张页面, 主要在启动的过程中从远程拿到app 最新版本。 完成app的更新操作。 但是在网络慢的时候, app 一直停留在启动页, 请问我该怎么处理呢?

天蓬老师天蓬老师2718 days ago263

reply all(1)I'll reply

  • 天蓬老师

    天蓬老师2017-04-17 14:51:40

    Why do you need to update to the latest version during startup?

    After the app is opened, start the service to download the latest version to see if it meets the requirements.
    If you don’t dislike Umeng, Umeng has a library for automatically updating software

    reply
    0
  • Cancelreply