GithubHelp home page GithubHelp logo

03050903 / nativesubprocess Goto Github PK

View Code? Open in Web Editor NEW

This project forked from aspsine/nativesubprocess

0.0 1.0 0.0 539 KB

[DEPRECATED] NativeSubprocess is a linux native process for android bridge 。

License: Other

Java 66.61% Makefile 6.10% C 21.14% C++ 6.14%

nativesubprocess's Introduction

DEPRECATED

NativeSubprocess is a linux native process for android bridge。

Usage

it creates a child process by NDK calling linux fork function. callback your android java code run in the child process inside. Such as Watchdog(sample ProcessWatcher)to monitor your android app service, call up the customer satisfaction survey feedback page(sample UninstallWatcher) when uninstalling your applications.

How to use

  1. import subprocess aar . add repositories maven { url 'https://oss.sonatype.org/content/repositories/snapshots' } add dependencies compile 'com.github.droidwolf:libsubprocess:1.0.1-SNAPSHOT'

  2. implements Subprocess class and override runOnSubprocess function.

  3. Finally, create your child process call by Subprocess.create function.

中文描述

不再更新

安全软件卸载后调出浏览器苦苦哀求"主人,为什么要抛弃我..."页面是怎么做到的?service经常莫名挂了肿么办?用 NativeSubprocess一切都很简单。

NativeSubprocess 是一个可以让你在android 程序中创建linux子进程并执行你的java代码的so库。由于市面上典型的内存清理工具值清理apk 包关联的进程,而不会处理linux原生进程,所以NativeSubprocess 可以做什么您懂滴!

不详细介绍,有兴趣的请看两个典型应用场景

  1. 进程监控 ProcessWatcher
  2. 卸载反馈 UninstallWatcher

Authors

droidwolf [email protected]

License

Apache License, Version 2.0

nativesubprocess's People

Contributors

gold-duo avatar

Watchers

 avatar

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.