Comments (2)
@lihuanming 例子会有日志输出的,没有安装,点击再次下载,应该是去获取本地的apk,本地的apk路径获取成功了吗?
from androiddownloader.
1)关于下载后没有安装还会下载,因为demo的包名和下载下来的apk包名不一样;如果android7.0或以上由于uri不是真实的下载地址,apkInfo为空,也会重新下载
2)关于apkInfo为空的问题
这个问题还是android7.0或以上版本的查询出来的 uri不同:
android7.0以下 apk uri 是这样的:file:///storage/emulated/0/Android/data/com.chiclaim.android.updater.app/files/Download/update.apk
android7.0以上 是这样的: content://downloads/all_downloads/298
所以获取的apkInfo为null,关于android7.0的问题已修复!
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
- 为什么只有在wifi的情况下才能下载? HOT 2
- android 7.0以上 会报错 HOT 6
- 如何更改下载通知栏左边的图标? HOT 1
- 为什么下载时说明文字显示的是迅雷加速中 HOT 1
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.