# To enable ProGuard in your project, edit project.properties
# to define the proguard.config property as described in that file.
#
# Add project specific ProGuard rules here.
# By default, the flags in this file are appended to flags specified
# in ${sdk.dir}/tools/proguard/proguard-android.txt
# You can edit the include path and order by changing the ProGuard
# include property in project.properties.
#
# For more details, see
# http://developer.android.com/guide/developing/tools/proguard.html
# Add any project specific keep options here:
# If your project uses WebView with JS, uncomment the following
# and specify the fully qualified class name to the JavaScript interface
# class:
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
# public *;
#}
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
Android实现双进程守护,如何保证Service不被Kill,onStartCommand方法,返回START_STICKY,手动返回START_STICKY,亲测当service因内存不足被kill,当内存又有的时候,service又被重新创建,比较不错,但是不能保证任何情况下都被重建,比如进程被干掉了。
资源推荐
资源详情
资源评论
收起资源包目录
Android实现双进程守护.rar (65个子文件)
anquanzu.json 412B
DoubleProcess
jni
process.cpp 6KB
com_hx_doubleprocess_Watcher.cpp 1KB
com_hx_doubleprocess_Watcher.h 976B
Android.mk 841B
process.h 3KB
AndroidManifest.xml 957B
res
layout
fragment_main.xml 706B
activity_main.xml 336B
values-w820dp
dimens.xml 381B
drawable-ldpi
menu
main.xml 370B
drawable-mdpi
ic_launcher.png 4KB
values-v11
styles.xml 334B
drawable-hdpi
ic_launcher.png 7KB
drawable-xhdpi
ic_launcher.png 12KB
values-v14
styles.xml 391B
drawable-xxhdpi
ic_launcher.png 24KB
values
strings.xml 230B
dimens.xml 220B
styles.xml 697B
src
com
hx
doubleprocess
MainActivity.java 2KB
Watcher.java 2KB
MyService.java 1KB
proguard-project.txt 781B
obj
local
armeabi
libmonitor.so 129KB
objs
monitor
process.o 89KB
com_hx_doubleprocess_Watcher.o.d 11KB
com_example_dameonservice_Watcher.o 52KB
com_example_dameonservice_Watcher.o.d 11KB
com_hx_doubleprocess_Watcher.o 52KB
process.o.d 11KB
libstdc++.a 8B
bin
classes
com
hx
doubleprocess
MyService$1.class 875B
BuildConfig.class 349B
R.class 693B
MainActivity.class 3KB
R$layout.class 446B
R$attr.class 346B
R$style.class 437B
R$id.class 432B
R$string.class 478B
Watcher.class 2KB
MyService.class 2KB
R$menu.class 394B
R$dimen.class 467B
R$drawable.class 413B
dexedLibs
android-support-v4-1bafccda43edb08f62b9ce68f7dd588a.jar 229KB
AndroidManifest.xml 957B
res
crunch
drawable-mdpi
ic_launcher.png 3KB
drawable-hdpi
ic_launcher.png 6KB
drawable-xhdpi
ic_launcher.png 9KB
drawable-xxhdpi
ic_launcher.png 17KB
classes.dex 681KB
resources.ap_ 40KB
DoubleProcess.apk 283KB
.classpath 475B
assets
project.properties 563B
ic_launcher-web.png 50KB
.settings
org.eclipse.core.resources.prefs 57B
org.eclipse.jdt.core.prefs 177B
libs
android-support-v4.jar 613KB
armeabi
libmonitor.so 17KB
.project 849B
gen
com
hx
doubleprocess
R.java 3KB
BuildConfig.java 162B
共 65 条
- 1
资源评论
技术老鸟
- 粉丝: 773
- 资源: 80
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功