Android Question release ram

Discussion in 'Android Questions' started by omidaghakhani1368, May 27, 2015.

  1. omidaghakhani1368

    omidaghakhani1368 Well-Known Member Licensed User

    Hi.
    I try to close all running app for free ram and speed up android.
    But i have think close running app is not right.
    Is there any way to release ram?
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    Normally you should let the OS handle the background processes. It will kill the process when it needs to (assuming that it is in the background and you haven't call Service.StartForeground).
     
  3. omidaghakhani1368

    omidaghakhani1368 Well-Known Member Licensed User

    Thank you Erel.you are very quick
    I close app with ActivityManager but not working.
    How can i close app in all version android?
     
  4. Erel

    Erel Administrator Staff Member Licensed User

    You should close your app by calling Activity.Finish (or let the user close it with the back key).

    If you like to kill the process:
    1. It is most probably a mistake to do.
    2. Call ExitApplication.
     
    DonManfred likes this.
  5. omidaghakhani1368

    omidaghakhani1368 Well-Known Member Licensed User

    I know.
    I like to kill other app process.
    Actually i like to create app for release ram
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice