我已经使用这个最小化了我的应用程序..
Intent startMain = new Intent(Intent.ACTION_MAIN);
startMain.addCategory(Intent.CATEGORY_HOME);
startMain.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
startActivity(startMain);
应用程序处于最小化状态时正在等待某个事件。发生某些广播事件时如何返回应用程序活动?
我可以从广播接收器类访问最小化的活动(使用之前传递给它的对象),但它在主屏幕的背景下运行。
android最终会杀死最小化的应用程序吗?