如何防止应用程序在启动时运行? [复制] -- applications 领域 和 auto-start 领域 android 相关 的问题

How can I prevent applications from running on startup? [duplicate]


简体版||繁體版
45
vote

问题

中文
这个问题已经在这里有一个答案
关闭 8年前

可能的重复:
如何停止运行的应用程序和服务?

我已经安装了一些我最喜欢的应用程序,除了他们所有人都决定他们太重要了而不是自动启动。他们都不是在中禁用自动启动"功能" 中的任何选项

我可以从自动启动中停止这些应用程序吗?如果是这样,怎么样?

注意:我的手机没有植根,所以我对DO NOT 的解决方案特别感兴趣,但欢迎所有答案,即使他们需要扎根于设备以来最终可能会这样做。

还注意:我更喜欢 not 在任务杀手程序中与笨拙的自动杀死功能小说,因为我发现他们在手机上令人难以可靠(摩托罗拉里程碑/ Droid)。

english

Possible Duplicate:
How can I stop applications and services from running?

I've installed some applications that I mostly like, except for the fact that they all decided they were too important not to auto-start. None of them give me any option within the application to disable the auto-start "feature."

Can I stop these applications from auto-starting? And if so, how?

Note: My phone is not rooted, so I'm especially interested in solutions that do not require a rooted device, but all answers are welcome, even if they require rooting the device, since I may do this eventually.

Also note: I'd prefer not to fiddle around with clumsy auto-kill features in task-killer programs, as I've found them to be incredibly unreliable on my phone (Motorola Milestone/Droid).

     
         
         

回答列表

15
 
vote

请,请,请放下任务杀手。

不需要。操作系统知道如何处理和结束应用程序。否则你会浪费性能/电池,因为当你杀死一项任务时,它将重新产卵。如果您杀死了写入磁盘(或数据库)的任务,那么您可能会潜在地创建损坏

你唯一的时间,永远应该杀死一项任务是显然狂野或挂起的话(通常是这样,当发生这种情况时,你会得到强制关闭屏幕。如果没有,请转到设置 - >应用程序 - >找到您的应用并杀死那里的任务)。

 

Please, please, please, please put down the task killer.

It isn't needed. The operating system knows how to handle and end applications just fine. Otherwise you are going to waste performance/battery because when you kill a task it is going to re-spawn back up. And if you killed a task that was writing to disk (or a database), then you could potentially create corruption.

The only time you ever, ever, ever should kill a task is if it is obviously running wild or hung up (and usually when this happens you get the Force Close screen. If not, go to Settings --> Applications --> find your app and kill the task there).

 
 
 
 
15
 
vote

有一些应用程序将声称提供此功能。但是,它们基本上是引擎盖下的任务杀手。这意味着它们将允许应用程序加载,然后杀死它。这意味着额外的电池电量用于杀死应用程序,然后它可能会在稍后重新加载某些事件触发器,只能再次被杀死。

诚实地,如果你使用这些应用程序,并且不想卸载它们,最好的事情就是让他们加载。只要有一些未被使用的,它们就会使用一点内存。一旦某些东西需要内存,那么系统就会杀死应用程序 - 并相信我的Android系统更好地了解哪些任务比任何愚蠢的任务杀手杀死。

有一个很好的描述,有关为什么任务杀手是一个坏主意: http:// forum.xda-developers.com/showthread.php?p=6426198#post6426198

否则,除非应用程序专门提供禁用自动启动的选项,否则无法在大型手机上执行此操作。然而,在扎根的手机上,有一系列应用程序能够实际改变广播意图的传送到应用程序,这意味着他们可以预先储存开始。

是诚实的,我努力想到应用程序可能希望在启动时加载服务的原因,只需注册广播侦听器就无法实现。服务通常用于具有有限终身的后台任务。有些应用程序可能会在启动时加载服务,以执行一些处理,但是通常会在该处理完成后将其关闭。

但是,如此,这说,并非所有开发人员都了解规则。我宁愿卸载一份糟糕的书面应用程序,消耗这样的资源。
 

There are some apps around that will claim to offer this functionality. However, they are basically task killers under the hood. This means they will allow the app to load, and then kill it. This means that extra battery power is used to kill the app, and then it will probably be reloaded on some event trigger later, only to be killed again.

Honestly, if you use these apps, and don't want to uninstall them, the best thing is to just let them load. They will use a bit of memory, as long as there is some that isn't being used. As soon as something needs the memory, then the system will kill the app - and believe me the Android system has a better idea of which tasks to kill than any dumb task killer.

There is a good description about why task killers are a bad idea here: http://forum.xda-developers.com/showthread.php?p=6426198#post6426198

Otherwise, there is no way to do this on an unrooted phone, unless the app specifically gives an option to disable auto-startup. On a rooted phone, however, there are a range of apps that are able to actually change the way broadcast intents are delivered to apps, meaning they can pre-emptively be prevented from starting.

To be honest I struggle to think of a reason that an app might want to load a service at startup, that it couldn't achieve by just registering a broadcast listener. Services should typically be used for background tasks that have a limited lifetime. Some apps may load a service at startup to do some processing, but will then typically close it once that processing is complete.

However, that said, not all developers understand the rules. I would rather uninstall a badly written app that consumes resources like this.

 
 
         
         
8
 
vote

Android是专门为资源受限环境设计的操作系统。 Android智能地管理资源,并将在其他应用程序使用内存时杀死应用程序,并在以后重新修复它们以恢复服务。与其他一些手机不同,它牺牲了基本智能手机功能,如多任务处理,仅允许一次运行一个运行的应用程序)。

以及Android如何确定如何复活应用,它主要由意图决定。应用程序可以在某些事件发生时注册为OS通知,例如,手机启动,您正在进入特定位置,WiFi导通等。处理通知(意图)时,应用程序(或其部分)可能会复苏。从概念上在Android中,所有已安装的应用程序都始终一直运行,并且您有概念性无限内存。操作系统将根据需要杀死和复活应用以维持这种幻觉。

 

Android is an OS specifically designed for resource constrained environment. Android manages resources intelligently, and will kill applications when other applications need to use memory, and resurrect them later to restore service. Unlike some other phones, which sacrifices basic smartphone functionality, like multitasking, by only allowing one running application at a time).

As for how Android determine how to resurrect apps, it's mainly determined by Intents. Applications can register to be notified by the OS when certain events occur, e.g. the phone starting up, you're entering a particular location, the wifi gets turned on, etc. When handling notifications (Intents), the application (or parts of it) may get resurrected. In a sense, conceptually in Android, all installed applications are always running all the time and you have conceptually infinite memory. The OS will kill and resurrect applications as needed to maintain this illusion.

 
 
 
 
7
 
vote

你真的不想要或需要运行任务杀手。请参阅:我真的需要安装任务管理器吗?

Android上的应用程序非常良好。如果应用程序自动启动它是因为它需要。精心设计的应用程序可能会或可能无法自动运行,在其设置中有一个选项,以打开或关闭。

请注意,与您的PC不同,具有额外的RAM不会提高性能。当您启动它们时,您经常使用的应用程序在RAM中更好,以便他们不需要加载。没有免费的RAM跑步是Android的好处,操作系统做得很好地杀死它不需要的事情。

 

You don't really want or need to run a task killer. See: Do I really need to install a task manager?

Apps on the Android are pretty well-behaved. If an app is starting automatically it's because it needs to. Well-designed apps that may or may not really need to run automatically will have an option in their settings to turn that on or off.

Note that unlike your PC, having extra RAM doesn't improve performance so much. It's better for your often used apps to already be in RAM when you launch them, so that they don't need to be loaded. Running with little to no free RAM is a good thing on Android, and the OS does a good job of killing things it doesn't need any more.

 
 
     
     
3
 
vote

我推荐应用程序 autoStarts 。

它的作用(从市场描述中引用):

保持对手机的控制:查看您背后的应用程序 回来。

向您展示手机启动时运行的应用程序以及其他事件 触发器在背景中。 root用户可以禁用不需要的自动启动 并加快他们的手机启动。

 

I'd recommend the application Autostarts.

What it does (citing from the Market description):

Keep control over your phone: See what applications do behind your back.

Shows you what apps run on phone startup, and what other events trigger in the background. Root users can disable unwanted autostarts and speed up their phone boot.

 
 
1
 
vote

虽然不是专用应用程序,但是系统调谐器免费应用程序具有禁用"启动应用程序" 的功能。

您可以通过滚动下面的按钮列表,然后选择"apps" ,然后选择"启动" 选项卡。

这似乎以更好的方式表现出比其他启动管理人员更好的方式。

我不确定它是否与自动任务杀手完全相同,或者如果它明确需要root(系统调谐器的其他功能可能是实际要求的根本))

 

Though not a dedicated app for this purpose, the System Tuner free app has the feature of disabling "startup apps".

You can find that option by scrolling the list of buttons below in the app and select "Apps" then choose the "startups" tab.

This seems to perform things in a much better fashion than other startup managers.

I am not sure if it works exactly like a auto task killer or if it explicitly requires root (other features of system tuner may be the ones demanding root actually)

 
 
1
 
vote

我怀疑你可以在没有扎根手机的情况下解决这个问题。但是,如果您已准备好root,则可以尝试 autorun manager 。

 

I doubt you can fix this without rooting the phone. But, if you are ready to root, you can try Autorun manager.

 
 
 
 
-1
 
vote

您可以使用"启动Cleaner " 或其他类似的应用程序

 

You can use applications like "Startup Cleaner" or other similar applications

 
 
     
     

相关问题

24  有没有办法永久关闭Google地图,直到需要?  ( Is there a way to permanently turn off google maps until needed ) 
谷歌地图似乎对它注册了疯狂的意图,以及其他开始的方式。 因为这是一个漂亮的资源饥饿的应用程序(尤其是记忆力),我非常希望它永久性未运行/直到我实际需要它。但是,Android一直在一直开始 - 例如,当连接状态发生变化时(对于我频繁地发生在室内),或GPS /网络位置发生变化。 是否有一些方法可以确保Google地图...

8  有没有办法让Facebook仅在我想要的时候运行?  ( Is there any way to let facebook run only when i want ) 
有没有办法让Facebook应用程序仅在我想使用它时运行,并且当我不需要它时真的关闭它? 我已经用autoStarts禁用了它,移动到SD,但它仍在运行24/7。 我不想出现在Facebook聊天中,也不想浪费30MB的RAM,当然,主屏幕上没有FB小部件 ...

5  启动Services [重复]  ( Start services at boot ) 
这个问题已经在这里有一个答案: 打开启动/启动后的应用程序 (1答) 关闭...

2  启动应用程序(即使是SD卡应用程序)  ( Launch app on start even sd card apps ) 
我很确定(尽管没有见过它们),当你打开手机时,有关运行一些应用程序的问题。但我想要一个更复杂的东西。我有一些应用程序在开始时运行。其中一些没有遇到麻烦,因为它们安装在手机中,但其余的安装在我的SD卡中。众所周知(我认为,启动Android后,我认为正常)需要几秒钟即可加载SD卡中保存的所有信息。在Android完成从...

0  应用程序未启动设备启动  ( App not starting on device boot ) 
我正在使用应该在设备上自动启动的自动化应用程序(重新)启动。但它没有发生。我检查了所有权限,并授予一切。我的设备是沃达丰智能E9。同一应用程序在Optus手机中完美地工作。 我使用检查了沃达丰智能E9的日志 adb logcat -e com.demo.example 并找到以下行: 06-11 11:...

2  Android 2.2 - 如何查看在启动时运行的应用程序[复制]  ( Android 2 2 how to see applications that run at start up ) 
这个问题已经在这里有答案: 关闭 10年前。 可能的重复: 如何阻止应用程序在启动时运行? 你好! 是否有可能看到在启动时运行的应用程序? 例如,雅虎的白痴制作了Android Messen...

8  为什么某些应用程序即使在我不使用它们时也会运行?  ( Why do certain apps run even when i dont use them ) 
我发现某些应用程序(例如,亚马逊MP3和股票)偶尔会在后台运行,即使我从未打开过他们也是如此。为什么是这样?这是不可取的 - 那些CPU周期是我的,而不是他们的! ...

1  如何在初创版中运行一个应用程序  ( How to run an app on startup in background ) 
如何在背景中运行一个应用程序?例如GlassWire,卡巴斯基在启动中运行,以及在通知栏托盘中的顶部显示。我想在启动时在背景中运行GOM音频;自动出现在托盘中。 ...

0  最好阻止AutoStart应用程序,或让他们在启动时运行?  ( Best to block autostart apps or let them run at boot time ) 
当Android仍然是一个婴儿绿色机器人时,我会通过所有用户安装的应用程序(不是系统应用程序),并在大多数大部分中关闭自动启动权限。这将使Android设备启动得更快并以更具可用内存开头。 然后我开始奇怪:如果其中一些应用程序实际上在手机开始时做出什么重要的事情怎么办?也许他们正在清理他们的临时文件,压缩数据库,排序...

45  如何防止应用程序在启动时运行? [复制]  ( How can i prevent applications from running on startup ) 
这个问题已经在这里有一个答案: 关闭 8年前。 可能的重复: 如何停止运行的应用程序和服务? 我已经安装了一些我最喜欢的应用程序,除了他们所有人都决定他们太重要了而不是自动启动。他们都不是在...




© 2022 it.wenda123.org All Rights Reserved. 问答之家 版权所有