GithubHelp home page GithubHelp logo

ryan-shz / hdiffpatch-for-android Goto Github PK

View Code? Open in Web Editor NEW
9.0 2.0 1.0 15.05 MB

基于HDiffPatch的增量更新算法库,相比Bsdiff,更小的内存占用,更快的合成效率,更适合移植到移动端中

Java 0.13% Makefile 0.06% C 98.64% Objective-C 0.89% C++ 0.28%
hdiffpatch hdiffpatch-android-ndk bsdiff bsdiff-bspatch xdelta3 bspatch android

hdiffpatch-for-android's Introduction

hdiffpatch-for-android

基于开源差分算法库HDiffPatch的android ndk使用示例,开源库地址:

https://github.com/sisong/HDiffPatch

本示例中只提供了合成功能,也就是客户端所需要的合成算法。而差分算法一般在服务器中执行。

如果需要测试,可以通过编译该作者的源码,在linux中通过命令行生成差分包。

示例中提供了两个apk测试,自行把old apk和差分包导入/sdcard/patch_test目录中,在输入框输入测试apk名称,然后点击apply patch按钮即可合成。

本示例主要为c库编译困难的同学提供示例。若要直接应用到项目中,请自行进行完整测试。

hdiffpatch-for-android's People

Contributors

ryan-shz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

rnithin133

hdiffpatch-for-android's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.