找回密码
 立即注册
指示:
1.在项目中建一个包:com.zgy.catchuninstallself
2.在这个包中加入这个类:UninstallObserver.java
3.将文件夹armeabi及其子文件添加到libs目录


如果有ndk编译环境,可以自己编译,把jni放到项目根目录下,ndk-build可以自动生成so文件

(instructions:
1. Build a package in the project: com zgy. catchuninstallself
2. Add this class to this package: uninstallobserver java
3. Add the folder armeabi and its sub files to the LIBS directory
If there is a NDK compilation environment, you can compile it yourself, put JNI in the project root directory, and NDK build can automatically generate so files)

[下载]10545983394.rar




上一篇:Android中禁止某软件的安装相关例子
下一篇:app卸载后,用libcurl三方库进行请求,或启动网页的实例工程。