All Projects → openproject → AndroidUpdate

openproject / AndroidUpdate

Licence: other
update library for android

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to AndroidUpdate

crud-app
❄️ A simple and beautiful CRUD application built with React.
Stars: ✭ 61 (+154.17%)
Mutual labels:  update
taps
TUF Augmentation Proposals (TAPs)
Stars: ✭ 23 (-4.17%)
Mutual labels:  update
gitpack
Git-based package manager written in POSIX shell
Stars: ✭ 72 (+200%)
Mutual labels:  update
openshift-update-graph
Visualize the OpenShift Update Graph
Stars: ✭ 20 (-16.67%)
Mutual labels:  update
python-crawler
爬虫学习仓库,适合零基础的人学习,对新手比较友好
Stars: ✭ 37 (+54.17%)
Mutual labels:  update
rauc-hawkbit-updater
The RAUC hawkBit updater is a simple commandline tool/daemon that runs on your target and interfaces between RAUC and hawkBit's DDI API.
Stars: ✭ 40 (+66.67%)
Mutual labels:  update
anytone-flash-tools
Independend flash tools for Anytone D878UV radio (and maybe others)
Stars: ✭ 31 (+29.17%)
Mutual labels:  update
SimplePHP
A small query builder project designed to assist daily routines and speed up the process of communicating with the database.
Stars: ✭ 14 (-41.67%)
Mutual labels:  update
updatarium
Updatarium : Update everything
Stars: ✭ 14 (-41.67%)
Mutual labels:  update
bump
A generic version tracking and update tool
Stars: ✭ 33 (+37.5%)
Mutual labels:  update
mern-stack-crud
MERN stack (MongoDB, Express, React and Node.js) create read update and delete (CRUD) web application example
Stars: ✭ 142 (+491.67%)
Mutual labels:  update
assetUpdater-core
AssetUpdater is a Unity plugin which helps developers build assetbundles and download it easily
Stars: ✭ 38 (+58.33%)
Mutual labels:  update
BeatSaber UpdateSkipper
Simple tool to prevent Steam from Updating Beat Saber whenever there happens to be an update so you dont need to copy around files and end up possibly wrecking your setup.
Stars: ✭ 117 (+387.5%)
Mutual labels:  update
bsupdate
A drop in bash script that can be added to any bash application/CLI to automate updating
Stars: ✭ 47 (+95.83%)
Mutual labels:  update
ProgramUpdater
PUF - Program Updater Framework. A library to easier the task of program updating
Stars: ✭ 14 (-41.67%)
Mutual labels:  update
action-homebrew-bump-formula
⚙️ A GitHub Action to easily bump Homebrew formula on new release
Stars: ✭ 68 (+183.33%)
Mutual labels:  update
vscode-updater
A simple script to automate downloading, installing and restarting Visual Studio Code.
Stars: ✭ 59 (+145.83%)
Mutual labels:  update
Port-Able-Suite
🌐 Manager for portable applications
Stars: ✭ 35 (+45.83%)
Mutual labels:  update
game-executor
采用Reactor模式,注册readycreate, readyfinish事件到更新服务UpdateService,通过处理后进行模型缓存,然后将消息转化为 dispatchThread消息分配模型需要的create, update, finish的事件进行单线程循环调度 。调度过程使用了系统预置锁模型,来进行多线程唤醒机制,将所有的update循环检测进行多 线程调度,多线程更新服务使用future-listener机制,在完成调度后,根据模型状态,如果模型存活重新将消息转化为update 事件注册到dispatchThread消息分配模型进行循环处理。如果模型死亡将消息转化为readyfinish事件注册到更新服务UpdateServic进行销毁 。这个系统实现了模型自动缓存,多…
Stars: ✭ 28 (+16.67%)
Mutual labels:  update
python-tuf
Python reference implementation of The Update Framework (TUF)
Stars: ✭ 1,425 (+5837.5%)
Mutual labels:  update

Jcenter Status

AU - Android Update

the best android check update library!

Screenshot

Gradle

compile('com.jayfeng:android-update:3.0.1');

Overview

  • simple and reliable
  • support Android 7.0+
  • no more need permission problem
  • customize dialog ui

Usage

/**
 * AU init - MUST
 * Notice: downloadWhenCacel means slient download when cancel
 * if the network is WIFI and the app has the WRITE_EXTERNAL_STORAGE permission
 */
private void initAUConfig() {
    AUConfig auConfig = new AUConfig();
    // must
    auConfig.setContext(getApplicationContext()); // Context
    auConfig.setUpdateIcon(R.mipmap.ic_launcher); // Notification icon
    // optional
    auConfig.setDownloadWhenCacel(true);
    AU.init(auConfig);
}

SHOW UI:

// default AlertDialog style
AU.show(MainActivity.this,
        mVersion.getVercode(), mVersion.getVername(), mVersion.getDownload(), mVersion.getLog(), mVersion.isForce());
// or, you can customize the update dialog yourself
if (AU.hasUpdate(version.getVersion_code())) {
    final UpdateDialog updateDialog = new UpdateDialog(this);
    updateDialog.setTitle("发现新版本");
    updateDialog.setContent(version.getChange_log());
    updateDialog.setOnOkListener(new View.OnClickListener() {
        @Override
        public void onClick(View view) {
            // click confirm
            AU.auConfirm(MainActivity.this, updateDialog, version.getDownload(), version.getForce());
        }
    });
    updateDialog.setOnCancelListener(new DialogInterface.OnCancelListener() {
        @Override
        public void onCancel(DialogInterface dialogInterface) {
            // click cancel
            AU.auCancel(MainActivity.this, updateDialog, version.getDownload());
        }
    });
    updateDialog.show();
}

为了兼容Android 7.0+的FileProvider,而Provider是不能冲突的,所以必须自定义这个Provider的author:

android {
    defaultConfig {
        resValue "string", "au_provider_file_authorities", "<packageName>.fileprovider"
    }
}

切记!切记!一定要加!不支持Android7.0+的也要加!

Author

Author weibo:冯建V    mail:[email protected]    QQ:673592063

License

Copyright (C)  LessCode Open Source Project

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
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].