65

First Things First You may have some misconceptions about how Android works and what's really happening when a service is running or an app is in the background. See also: Do I really need to install a task manager? Most apps (e.g., ones you launch manually) have their current Activity put into the background when you switch to another app or the ...


27

Android applications have three kinds of components. In general, users don't need to know about them: they're a way for app authors to program particular behaviours into their apps. But if you're watching your apps' behaviour closely such as with a task manager, or if you are automating things with an app like Tasker, it's helpful to understand how they fit ...


14

Unfortunately, you really need root for this. From ClockSync, Google themselves have mentioned this: Hi, it is by design that applications can not change the time. There are many subtle aspects of security that can rely on the current time, such as certificate expiration, license management, etc. We do not want to allow third party applications to ...


11

Although some people may think that clearing an app from Recent Apps menu will fully close it, they are unfortunately mistaken. There is a difference between clearing an app from Recent Apps menu and clicking Force Stop on it. Clearing an app from Recent Apps menu may not fully close the app specifically the apps that use services such as Music Player, ...


6

The real problem with service call is that transaction codes are not only undocumented, but also not guaranteed to be stable — they can be silently changed between Android versions. Because of this, service call commands should never be used except for private debugging, when you know what Android version is used. Example: ITelephony transaction codes for ...


6

It means that the process has been running longer than 99 hours, 99 minutes, and 99 seconds. It's a formatting bug. The second hour digit, after reaching '9', will simply continue with the next characted from the ascii alphabet: 0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ Where in this case ':' means 10, ';' ...


5

In Short Code related to service call command are just the arguments of the function and order at which the function occur in the aidl file of that service.Here is a syntax service call <your_service_name> <number at which the function appears in your_service_name.aidl> <type of the argument like i32 or i64> <argument> In ...


5

tl;dr It's ok if the app in background is just an activity. Activities just consume some memory are usually not able to run computations in the background. Therefore no CPU or battery is used for them. But if the app in background is running a service: Ping the developer Ping the developer! One of the greatest daemons that come with Android are Services ...


4

No need to root or anything. You can just simply stop it being running by going to Settings>application>viber>force close this will close all the services related to viber. But remind you, you have to force close it every time after you use viber. Oh there is another way to do that. Start viber, then close it. Then open your multitasking window/history ...


4

This is an official rep. of Viber. Due to the C2DM feature, you are always available on Viber, there is not way to "log out" and "log in". Please note that if you "exit" Viber, it will open again only if you get a msg or call. Let us know if you have any additional questions. Thanks! Viber Team


4

How much is the possibility that Android will kill my executable? Privileged native processes usually don't get killed by Android except if they can't handle an error occurred inside, such as some system resource not available or permission denied because of SELinux etc. To free up memory, Android only kills processes within its framework i.e. running under ...


3

There is an app for this if you have root: Greenify


3

The component name is specified as the package name, then a slash, then the name of the class. So in this case, the command you want is:- am startservice --es toggle toggle com.urbandroid.lux/.TwilightService For future reference, and to help avoid confusion: the intent is the name of the message you're sending to start the service. The thing that you want ...


3

First try clearing the app data of the stock email app in settings->apps, if that doesn't work: If you go to settings->apps again and click on the stock email app (not gmail) then click disable, that should do the trick. However: If you still have a non-gmail email you could try lowering the sync frequency from push to every 30 mins.


3

The apps you see when long-pressing the "Home" button (or with newer devices, the "MultiTask" button with the two rectangles) are not the "currently active", but the "recently used" apps. With Android 4.0 and higher, you can simply swipe them out of that list -- which will not only remove them from the list, but also "kindly ask them" to close themselves. ...


3

As I've read in different places: Freezing apps does not necessarily mean their services won't be running anymore. It seems even frozen apps are able to react on broadcasts, so freezing alone won't solve the issue. Reference: If the app you freeze is sending the intent, then no the intent will no longer happen. But if the app is receiving intents, then yes ...


3

There is an app called Greenify in Play Store. What it does is stopping the selected apps when the screen is locked. Will be very helpful in your case. Note: Rooting is not required.


3

From arstechnica: GoogleExtServices has an app name of "Android Services Library" and does actually contain something: an "Android Notification Ranking Service." A "Notification Ranking Service" was added in Lollipop, and it sorts notifications by "importance" based on things like freshness, app type (IM apps come first), and by contact. This ...


2

I have been using the free SSHelper (without rooting) since it recently added zeroConf broadcasting. It provides an SSH and RSYNC (file transfer) server, while also broadcasting a ZeroConf name. Another avahi/bonjour client can connect without needing to know the android hostname. Explained in more detail in this other answer: Set hostname for SSHelper


2

Can I prevent such an app from running in the background? You're refusing to accept the answers you're getting because you don't think they fit, but they do. Your question is how to stop apps automatically instead of letting them run in the background. The answer you're getting is that in most cases this is unnecessary and completely bypasses the way ...


2

First off, by "clear", what exactly do you mean? Many manufacturers' UI overlays provide ways to remove running apps from quick-access lists, like the one you get with a long press on the home key, but doing that usually doesn't actually close the app. Android, by default, keeps apps running in "background" mode after you back out of them, because they're ...


2

Cases 1+3 show the app is currently running; basically, both are "task manager" views. Number 2 is rather related to "preferred apps" for a given action: if you e.g. have two web browsers installed, this decides which one is launched if you tap an URL. Number 4 is the "application manager". Usually, an "active force-stop button" should indicate a running ...


2

You need to root your phone to permanently uninstall it. After you have rooted your device, you can use a application "Titanium Backup" to uninstall those useless application that come along with the phone. Advice: make a copy of backup first. In case you find that you need the application after you uninstall it. Click image for larger version


2

AFAIK with LineageOS 14.1 (I have a rooted FairPhone 2), sshd is enabled by default and ready to use. Its config file is /system/etc/ssh/sshd_config which points to /data/ssh/ for keys storage. I guess you can reconfigure it to use /sdcard/. In theory, /data should be preserved across system updates, though I have not much experience to confirm it. The ...


2

It seems like it is the daemon for multicast DNS. I have the same issue as OP and Trevor. My solution is the following (assuming you have a rooted device). If you have adb, then do step 2 over that, it is more comfortable to type on a keyboard ;) Install a Terminal Emulator Create a shellscript with the content su -c "kill $(pgrep mdnsd)" Run it everytime ...


2

WHAT IS MDNSD: mdnsd (Multicast Domain Name System Daemon) is Android's implementation of mDNSResponder, a part of upcoming Zero Configuration Networking. It allows you to automatically discover services and appliances attached to your network: Name-to-address translation and other DNS-like operations (mDNS) in the absence of a conventional unicast DNS ...


1

You can try the following: 1.Try Calibrating your battery ( few says it is necessary to calibrate your phone after rom installation) Charge phone to 100% Boot in to recovery Wipe battery stats Reboot and drain the battery completely ( by playing or media or normal usage) After complete drain recharge the phone again to 100% 2.Try freezing or renaming or ...


1

It seems like you're making this problem for yourself. As designed, apps can ask Android to notify them when a network connection appears or disappears. Some apps might want to be notified when they're running in the foreground, but some apps might need to be notified whether they were already running or not. This is necessary for the correct functioning of ...


Only top voted, non community-wiki answers of a minimum length are eligible