android中的当前应用程序状态 [英] Current Application state in android

查看:53
本文介绍了android中的当前应用程序状态的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我可以让应用程序当前状态为Closed,通过广播接收器运行。在这个方法里面

public class Receiver extends BroadcastReceiver {

@Override

public void onReceive(Context context,Intent intent){





}

Can i get the application current state Closed,running through broadcast receiver. Inside this method
public class Receiver extends BroadcastReceiver {
@Override
public void onReceive(Context context, Intent intent) {


}

推荐答案





请查看这个 [ ^ ]示例。它应该提供必要的线索。



问候,
Hi,

Please have a look at this[^] sample. It should provide the necessary clues.

Regards,


这篇关于android中的当前应用程序状态的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆