downloading multiple files using downloadmanager class in android?

放肆的年华 提交于 2019-12-02 13:39:13
letroll

Can you show us the code com.example.newpicker.AnotherActivity class, because it seems that the error comes from this class.

then the error is a IndexOutOfBoundsException, so have you tried with less image eg 10 or 20? and run later when the first 10 are recovered?

try adding this permission to your AndroidManifest:

<uses-permission android:name="android.permission.DOWNLOAD_WITHOUT_NOTIFICATION" />
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!