钛的android:关闭应用程序完全(无缓存) [英] titanium android: close application completely (no caching)

查看:184
本文介绍了钛的android:关闭应用程序完全(无缓存)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当用户presses后退按钮,钛的应用程序被关闭。但是,应用程序可以在缓存的进程列表中查看(在设置 - >应用程序 - >运行服务 - >菜单pressed - >显示缓存进程)。我想,当它被关闭我的申请得到完全杀死。 (仅供参考,我使用钛机器人模块。)任何帮助吗?

When user presses the back button, titanium application gets closed. But the application can be viewed in cached processes list (under settings-->applications-->running services-->menu pressed-->show cached processes). I want my application to get killed completely when it gets closed. (Just FYI, I am using titanium android module.) Any help?

推荐答案

有是窗口只在Android的布尔属性。在打开的窗口前,设置 win.exitOnClose = TRUE;

There is a boolean property on the window for Android only. Before opening the window, set win.exitOnClose = true;

这篇关于钛的android:关闭应用程序完全(无缓存)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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