我正在尝试编写一个应用程序,它会在经过一段时间后返回到前台时执行某些特定操作.有没有办法检测应用程序何时发送到后台或带到前台?
android background foreground
是什么区别START_STICKY,并START_NOT_STICKY同时在android系统实现服务?有谁可以指出一些标准的例子..?
START_STICKY
START_NOT_STICKY
android android-service
android ×2
android-service ×1
background ×1
foreground ×1