为什么不Android应用程序提供了一个"退出"选择? [英] Why dont Android applications provide an "Exit" option?

查看:124
本文介绍了为什么不Android应用程序提供了一个"退出"选择?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有什么在disuades开发人员提供了退出从应用程序本身的范围内(停止运行)的应用程序的选项的Andr​​oid开发者指南?

我喜欢多任务处理和所有,但目前还不清楚我为什么:

  • 应用程序绝大多数没有自己的退出功能,因此只是不停地运行下去
  • 当你打开手机不给你运行一个选择 - 他们只是在默认情况下做到

这两个东西导致内存使用量不断增加,你的设备上运行有此表现负担的所有时间的,尽管事实上,你可能只希望某些应用程序运行的部分时间的。

我缺少的东西?

解决方案
  

有什么在Android   这disuadea开发者指南   从提供的选项,开发人员   退出(停止运行)的   从内应用   应用程序本身?

是的。它通常不需要,就如同它通常不需要重新启动Web服务器,因为与一个浏览器某些用户决定他(她),是用Web应用

  

应用程序绝大多数没有   自己的退出功能,因此   自顾自地运行下去

他们不继续运行下去。根据需要Android将关闭的事情了。

  

不给你运行一个选择   当你打开手机上 - 他们只是   做默认

这些开发商都没有注意到我

  

这两个东西导致内存   使用不断增加

一般来说,事实并非如此。如果您发现这样做的具体的应用程序,将其卸载。

  

和本设备运行   性能负担所有的时间

一般来说,事实并非如此。如果您发现这样做的具体的应用程序,将其卸载。

此外,这个问题的<一个副本href="http://stackoverflow.com/questions/2033914/quitting-an-application-is-that-frowned-upon/2034238#2034238">this 之一。

Is there something in the Android developer guidelines that disuades developers from providing the option to "exit" (stop running) an application from within the application itself?

I love multitasking and all but it's not clear to me why:

  • the vast majority of apps don't have their own Exit functions and hence just keep running forever
  • don't give you a choice about running when you turn on the phone - they just do by default

Both of these things lead to memory usage constantly increasing and your device running with this performance burden all of the time despite the fact that you may only want certain apps to run some of the time.

Am I missing something?

解决方案

Is there something in the Android developer guidelines that disuadea developers from providing the option to "exit" (stop running) an application from within the application itself?

Yes. It is generally not needed, just as it is generally not needed to restart a Web server because some user with a browser decided (s)he is done with a Web app.

the vast majority of apps don't have their own Exit functions and hence just keep running forever

They don't keep running forever. Android will close things up as needed.

don't give you a choice about running when you turn on the phone - they just do by default

Those developers aren't paying attention to me.

Both of these things lead to memory usage constantly increasing

Generally, it doesn't. If you find specific apps that do this, uninstall them.

and your device running with this performance burden all of the time

Generally, it doesn't. If you find specific apps that do this, uninstall them.

Also, this question is a duplicate of this one.

这篇关于为什么不Android应用程序提供了一个&QUOT;退出&QUOT;选择?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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