Comments (2)
req.setAllowedNetworkTypes(DownloadManager.Request.NETWORK_WIFI);//这里改一下就可以了
2016-11-14 9:49 GMT+08:00 JianJianZhang [email protected]:
这个版本更新,我集成到我的项目中,发现只能在wifi下才能下载更新,使用流量不行
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#5, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AIcOC2cylrPII491aByUvuSVeb4kuZoJks5q974tgaJpZM4Kw4fZ
.
from androiddownloader.
req.setAllowedNetworkTypes(DownloadManager.Request.NETWORK_MOBILE
| DownloadManager.Request.NETWORK_WIFI); 改成这样也没用,还是只能在wifi下下载。测试机型乐视2,android 6.0 编译环境 sdk 23
from androiddownloader.
Related Issues (19)
- DownLoadManager服务有可能是被禁用的 HOT 1
- 下载服务被停用了要怎么开启? HOT 1
- 没有适配android 7.0 HOT 4
- COLUMN_LOCAL_FILENAME is deprecated; use ContentResolver.openFileDescriptor() instead HOT 3
- 在华为P20 pro 华为mete 20 华为meta 10 报错 HOT 14
- 下载进度可以监听吗? HOT 1
- 下载完成不会跳出安装界面 HOT 1
- 华为荣耀10青春版 Android9 EMUI9.0.1 点击更新,没有反应 HOT 1
- 下载过程中页面卡住
- url error
- 这种情况是怎么回事 HOT 1
- Support for jetpack Compose ??
- 每次需重新下载 HOT 1
- handle downloadmanager notification click HOT 1
- android 7.0以上 会报错 HOT 6
- 如何更改下载通知栏左边的图标? HOT 1
- 为什么下载时说明文字显示的是迅雷加速中 HOT 1
- 为什么已经下载了,然后没安装,再次更新又会下载?根据打印的downloadID获取apk信息,apkinfo为null?是什么原因? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from androiddownloader.