AsyncTask and getInstalledPackages() fail

前端 未结 3 880
抹茶落季
抹茶落季 2020-12-20 06:37

I don\'t really understand what is happening and maybe you can give me an idea. I use getInstalledPackages() in order to get a list of all user installed applications and th

3条回答
  •  情话喂你
    2020-12-20 07:11

    Check out a similar SO question here, CommonsWare argues that this method need to be involved in UI thread, As far as I can see, this is the only reasonable explanation.

提交回复
热议问题