feicien / android-auto-update Goto Github PK
View Code? Open in Web Editor NEWAndroid 应用自动更新。Android update checker,download and install apk file
License: Apache License 2.0
Android 应用自动更新。Android update checker,download and install apk file
License: Apache License 2.0
在 Android 8.0 API 26上面不能下载,可以更新一下吗? 谢谢
Why I am getting this
library\src\main\java\com\loveplusplus\update\CheckUpdateTask.java:
uses or overrides a deprecated API.
Recompile with -Xlint:deprecation for details.
compileSdkVersion 27
buildToolsVersion '27.0.3'
distributionUrl=https://services.gradle.org/distributions/gradle-4.6-all.zip
有7.0和华为,三星适配吗
Hi,
Is it possible to use this to update any installed app without user interaction?
Attribute service#com.loveplusplus.update.DownloadService@exported value=(true) from AndroidManifest.xml:32:71-94
is also present at [MobileDemo:AutoUpdate:unspecified] AndroidManifest.xml:16:13-37 value=(false).
Suggestion: add 'tools:replace="android:exported"' to element at AndroidManifest.xml:32:7-97 to override.
在模拟器2.3.3里面,显示成功下载,但是安装apk失败,提示:there is a problem parsing the package,在4.0跟4.4.2测试没什么问题。
Соси член
手机系统是5.1.1
安卓小白,求使用方法,不知道怎么用,求大神告知
服务器端应该返回怎样的内容,例如json之类
CheckUpdateTask.java HttpUtils.get(url)还未出结果,就执行onPostExecute
导致没有获取到json内容
meizu android 5.1
Can your component be used on android7.0 and 7.0+
Sample code working good else installing APK after downloading, I'm using Samsung Galaxy S6 having Nougat (7.0). Here is screenshot
Please help me @feicien
I have received update notification but not download apk file...
使用android-auto-update-v1.2.apk安装后,点击对话框更新报错,本质上你没有处理
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
//先获取是否有安装未知来源应用的权限
boolean haveInstallPermission = getPackageManager().canRequestPackageInstalls();
if (!haveInstallPermission) {
//跳转设置开启允许安装
Uri packageURI = Uri.parse("package:"+context.getPackageName());
Intent intent =new Intent(Settings.ACTION_MANAGE_UNKNOWN_APP_SOURCES,packageURI);
startActivityForResult(intent,1000);
return;
}
}
处理canRequestPackageInstalls
download apk file error:Conversion = 'End of String'
https://raw.githubusercontent.com/feicien/android-auto-update/develop/extras/update.json
这个是不是GitHub提供的一个接口服务?
can i use this tool to auto update application in silent mode with no user interaction ?
i can not read your mother language. Can u convert it in English?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.