top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

Apps in background, what is the expire time in android

+1 vote
226 views

If we keep any apps in background, what is the expire time in android. how android behaves if we keep apps in background.

posted Jun 10, 2013 by anonymous

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

+1 vote
 
Best answer

Indefinitely,

The app will be kicked out of memory when the memory is low enough that other apps need the space: the behavior depends on too many factors to give a reliable estimate without knowing of the device's usage pattern, other apps, etc...

Basically, your app can be killed "whenever", if it's got a foregrounded service then it's going to stay around much longer (it will almost never be killed off).

answer Jun 10, 2013 by anonymous
Similar Questions
+3 votes

I want to make my FAB button look like a circle or any particular shape? how to achieve this?

+1 vote

I'm working on an android apk in which the app drawer background is changed. I have searched through the internet. I have found 2 methods to change the app drawer's black background.

First one is using apktool, which decompiles launcher.apk and builds it back to apk format. In between the programmer do the required changes ( res/values/colors , background="..." ). Then sign and move it back to system/app folder.

Second one is using another application like GO Launcher, but I have to use my own application to change the black background color programmatically. Is there a way to achieve this ( in eclipse for example ) ?

+3 votes

I want to know if there is a way to some settings to be used by framework services such as ActivityManagerService of WindowManagerService like apps can do with preferences. They should be able to store some of their variables into some persistent storage and read them at bootup.

Currently, I found only the xml files in res/res folder but this is editable only at compile time.

...