机器人,完成所有活动机器人

2023-09-13 23:48:57 作者:孤独症

我需要完成所有的Andr​​oid应用程序在运行活动被点击退出按钮时。我该怎么办呢?

我想:

在与退出选项,屏幕上的选项菜单。 当我点击退出菜单,应用程序应该关闭。 解决方案

您不应该在Android应用程序中实现的退出按钮。

读http://groups.google.com/group/android-developers/browse_thread/thread/1bf0f7a4a9c62edd/a0a4aedf21ae5f76?pli=1

干杯

I need to finish all the activities running in an Android application when an exit button is clicked. How can I do that?

机器人当大厨 日本机器人王国7月开业扫地机器人 娱乐机器人 原来科幻大片中的机器人都已经开始走进 新闻100

What I want:

An option menu on screen with an EXIT option. When I click the Exit menu, the application should close.

解决方案

You should not implement an Exit button in an Android application.

Read http://groups.google.com/group/android-developers/browse_thread/thread/1bf0f7a4a9c62edd/a0a4aedf21ae5f76?pli=1

Cheers