All Projects → AnyLifeZLB → Downloadinstaller

AnyLifeZLB / Downloadinstaller

Android App应用内更新的下载,储存,安装 ,未知来源等问题处理

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Downloadinstaller

Installomator
Installation script to deploy standard software on Macs
Stars: ✭ 159 (-12.64%)
Mutual labels:  installer, install
zarch
The Ultimate Script For Arch Linux
Stars: ✭ 49 (-73.08%)
Mutual labels:  install, installer
Installomator
Installation script to deploy standard software on Macs
Stars: ✭ 472 (+159.34%)
Mutual labels:  install, installer
gitpack
Git-based package manager written in POSIX shell
Stars: ✭ 72 (-60.44%)
Mutual labels:  install, installer
Displaylink Debian
DisplayLink driver installer for Debian and Ubuntu based Linux distributions.
Stars: ✭ 768 (+321.98%)
Mutual labels:  installer, install
GoInstaller
GoInstaller is installer for CodeIgniter with user interface (UI).
Stars: ✭ 31 (-82.97%)
Mutual labels:  install, installer
Fedora-KDE-Minimal-Install-Guide
Guide to install KDE Plasma desktop environment on a minimal Fedora installation
Stars: ✭ 125 (-31.32%)
Mutual labels:  install, installer
install
basic script for project installation
Stars: ✭ 17 (-90.66%)
Mutual labels:  install, installer
Githubupdates
Cocoa framework to install application updates from GitHub releases.
Stars: ✭ 393 (+115.93%)
Mutual labels:  install, download
Pi Apps
Raspberry Pi App Store for Open Source Projects
Stars: ✭ 277 (+52.2%)
Mutual labels:  installer, install
UWP-Package-Installer
An UWP installer for appx/appxbundle packages
Stars: ✭ 85 (-53.3%)
Mutual labels:  install, installer
Githubextins
Install Browser Extensions straight from GitHub Repositories.
Stars: ✭ 100 (-45.05%)
Mutual labels:  installer, install
archdi-pkg
Arch Linux Desktop Installer Packages
Stars: ✭ 46 (-74.73%)
Mutual labels:  install, installer
ProgramUpdater
PUF - Program Updater Framework. A library to easier the task of program updating
Stars: ✭ 14 (-92.31%)
Mutual labels:  install, installer
spotify-deb-install
MOVED: https://gitlab.com/q3aql/spotify-deb-install
Stars: ✭ 15 (-91.76%)
Mutual labels:  install, installer
iQuail
Easy to use cross-platform installer & updater for desktop applications
Stars: ✭ 20 (-89.01%)
Mutual labels:  install, installer
Unified Hosts Autoupdate
Quickly and easily install, uninstall, and set up automatic updates for any of Steven Black's unified hosts files.
Stars: ✭ 185 (+1.65%)
Mutual labels:  installer, install
Netboot.xyz
Your favorite operating systems in one place. A network-based bootable operating system installer based on iPXE.
Stars: ✭ 2,753 (+1412.64%)
Mutual labels:  installer, install
Archdi
Arch Linux Desktop Installer : tutorial installer
Stars: ✭ 283 (+55.49%)
Mutual labels:  installer, install
Have It
The fastest NPM install does nothing because you already have it
Stars: ✭ 75 (-58.79%)
Mutual labels:  installer, install

DownloadInstaller

App 应用内下载更新,希望小而美。更多需求请提Issues

Github :https://github.com/AnyLifeZLB/DownloadInstaller

Android 应用内下载,储存,安装 ,未知来源等问题处理

  • 处理好了全局FileProvider,未知来源授权确认,通知栏等问题处理。
  • 已经下载的文件不会重复下载
  • 特别是Android 8 首次安装时候的未知来源问题处理,这里的处理方式很强硬,不授权安装未知来源就会一直跳转到授权页面,企业级别的App应用内更新很实用
  • 当然这是可以配置是否需要强制授权安装未知来源 参考:new DownloadInstaller(mContext, downloadUrl, isForceGrantUnKnowSource

使用 (1.1.2 版本后支持AndroidX 了)

首先 Gradle 引入(1.1.1 版本是最后一个support 版本,后面是AndroidX了)

implementation 'anylife.downloadinstaller:downloadInstaller:1.1.3'

然后 targetSDK>= 26

  //一般的弹出对话框提示升级
  //如果是企业内部应用升级,肯定是要这个权限; 其他情况不要太流氓,TOAST 提示
   new DownloadInstaller(mContext, downloadUrl, isForceGrantUnKnowSource,new DownloadProgressCallBack() {
       @Override
       public void downloadProgress(int progress) {
             Log.e("PROGRESS","Progress"+progress);
       }
  
       @Override
       public void downloadException(Exception e) {
             e.printStackTrace();
       }
  

       @Override
       public void onInstallStart() {
  
       }
   }).start();
   

. More,Contact me : [email protected]

image.png

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].