Thursday, May 17, 2018

WSO2 API Management

https://docs.wso2.com/display/AM220/Overview

https://github.com/wso2/docker-apim

Microservice Framework

http://sparkjava.com/
https://github.com/perwendel/spark
https://search.maven.org/#search%7Cga%7C1%7Ccom.sparkjava

Friday, May 4, 2018

Distributed Architecture: P2P


Java
https://github.com/minskybelieve/TomP2P
https://github.com/Hive2Hive/Hive2Hive

https://en.wikipedia.org/wiki/Peer-to-peer

Wednesday, May 2, 2018

Updating a mobile app...



Via Code!
http://www.mysamplecode.com/2013/05/android-update-application.html
https://juristr.com/blog/2011/02/coding-update-functionality-for-your/
https://www.telerik.com/forums/android-app-auto-update-programmatically
https://github.com/cordova-misc/cordova-webintent
https://stackoverflow.com/questions/15880866/phonegap-android-app-trigger-update-programmatically
http://cacompadda.com/update-and-install-your-android-app-from-your-own-server-programmatically/


Looks like a good one...
https://stackoverflow.com/questions/15880866/phonegap-android-app-trigger-update-programmatically
Using
https://ionicframework.com/docs/native/file-transfer/
https://ionicframework.com/docs/native/file/
https://ionicframework.com/docs/native/web-intent/
https://github.com/darryncampbell/darryncampbell-cordova-plugin-intent

https://stackoverflow.com/questions/15880866/phonegap-android-app-trigger-update-programmatically
Took from source above... too good not to repost here..
constructor(public navCtrl: NavController, private transfer: FileTransfer, private file: File, private webIntent: WebIntent) {
    const fileTransfer: FileTransferObject = this.transfer.create();
    const url = 'urlApkFile';//Modified this
    fileTransfer.download(url, this.file.externalDataDirectory + 'file.apk').then((entry) => 
    {
        webIntent.startActivity({
            action: (window).plugins.intentShim.ACTION_INSTALL_PACKAGE,
            url: entry.toURL(),
            type: 'application/vnd.android.package-archive'
        }).then(function () {
            //OK
        }, function (e) {
            alert('Error launching app update' + JSON.stringify(e));
        });
    }, (error) => {
        alert("downdload finish" + JSON.stringify(error));
    });
}

Cordova-based
https://github.com/benallfree/cordova-live-update
https://github.com/Panopath/cordova-app-updater
https://github.com/nordnet/cordova-hot-code-push
https://github.com/vaenow/cordova-plugin-app-update


Via Firebase
https://medium.com/@sembozdemir/force-your-users-to-update-your-app-with-using-firebase-33f1e0bcec5a
https://firebase.google.com/docs/android/setup


Tools
https://rollout.io/


DIY
http://simpledeveloper.com/how-to-update-android-apk-outside-the-playstore/
https://stackoverflow.com/questions/22527685/update-android-application-using-ota?utm_medium=organic&utm_source=google_rich_qa&utm_campaign=google_rich_qa
https://github.com/lazydroid/auto-update-apk-client
https://blog.vivekpanyam.com/evolve-seamlessly-deploy-android-apps-to-users/
https://github.com/VivekPanyam/EvolveWrapper

Extras:
Testing
http://appium.io/