• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[APP][2.1+] KeepRunning

Search This thread

defim

Senior Member
Feb 18, 2012
2,744
1,488
With KeepRunning you could monitor apps and restart them. You need this if
- Android kills an app to free RAM
- An app crashes
This app has no background service and does not need RAM if it is not checking apps. It restarts only apps which was already running since last system startup, by the user or Android system. System apps are marked with an exclamation mark.

Available options:
  • Minimize all apps after an app was restarted
  • Duration of the monitoring intervall

Donation:
  • No self-promotion in the app.
  • More than 3 apps could be selected
  • Bring back last visible app after starting an app
  • Start apps, even not ever running since system startup
  • You support this app and further development!

Play Store: http://tinyurl.com/m94esbw
Changelog : In-app or http://tinyurl.com/kyzfjmp (Google Tranlator bar on the top)
Sideload: http://tinyurl.com/nhde3ux

My personal intension to create this app:
I'm using the messenger Trillian which has random FCs. Now Cerulean Studios has"pimped" the UI in a way I don't like. So I have to use the old version with known bugs.
To not miss messages anymore, i restart Trillian after crashes with this app
Now i'm using it also for daily crashes of WhatsApp

Translation:
You could find here a interface to translate the english strings: http://tinyurl.com/okycacj
A free account of www.oneskyapp.com is required to edit. Additional, please attach your email address or send it via PM ;)
 

Attachments

  • keeprunning0.jpg
    keeprunning0.jpg
    30.1 KB · Views: 1,691
Last edited:

d1dd1

Senior Member
Oct 15, 2010
80
13
Wow, sounds amazing, I could use this for my CarPC.

Would it be possible to add an per-app option to only recover the app when the screen is on ?

Thanks !
 

defim

Senior Member
Feb 18, 2012
2,744
1,488
Useful application! I've highlighted it on the XDA Portal.

Thank you! It's just curious that no one other created such an app before and i had to do it by myself :cowboy:

Is this an Xposed module or standalone? (Other great apps work with Xposed.)

Standalone, no root. Should work down to API3 (Android 1.5)...

Would it be possible to add an per-app option to only recover the app when the screen is on ?

Per-app? A global option "restart apps only of screen is on" would be much easier
 
Last edited:

zerosys

Senior Member
Apr 9, 2012
180
46
So if the time interval is set to 20 minutes, the app check every 20minutes if the selected apps are still running and if they dont, keep running start them again?
Do i get this right?
 

defim

Senior Member
Feb 18, 2012
2,744
1,488
So if the time interval is set to 20 minutes, the app check every 20minutes if the selected apps are still running and if they dont, keep running start them again?
Do i get this right?

Yes.

I think "20" is a good value
* you do not miss messages etc to long
* not many checks of the apps, no impact to battery (20 min -> 72 cheks/day)
But you could set whatever you need
 

defim

Senior Member
Feb 18, 2012
2,744
1,488
Also fine for me :good:

Just pushed to Play Store. The logfile shows "sleeping" if
* the setting is enabled
* the screen is off
* an app is detected as not running

Bad side: needs api7. For Android <=2.0 i would have to watch screen-on/-off events :-\
 

defim

Senior Member
Feb 18, 2012
2,744
1,488
May i ask which apps do YOU let your own app control?

As i wrote in 1st post, i did this app for Trillian and WhatsApp because both crashes sometimes on my device. Then i get calls why i don't answer for so long...
Now i've additionally set Llame and My Data Manager, because i've hidden their notification icons with NotifyClean, and i wan't to know if they closes without it - until now it was not the case
 

sytauro

Senior Member
Jun 9, 2011
53
7
Glasgow
Restart minimized

I would like the option to restart apps minimized without reverting to the homescreen. Please separate these choices.
 

Kocane

Senior Member
Apr 29, 2012
1,671
307
Cool app

I, too, wish they would've kept Trillian looking like that old school Gingerbread style, but it's hard to expect them not to upgrade the UI, I guess...
 
  • Like
Reactions: defim

Top Liked Posts

  • There are no posts matching your filters.
  • 22
    With KeepRunning you could monitor apps and restart them. You need this if
    - Android kills an app to free RAM
    - An app crashes
    This app has no background service and does not need RAM if it is not checking apps. It restarts only apps which was already running since last system startup, by the user or Android system. System apps are marked with an exclamation mark.

    Available options:
    • Minimize all apps after an app was restarted
    • Duration of the monitoring intervall

    Donation:
    • No self-promotion in the app.
    • More than 3 apps could be selected
    • Bring back last visible app after starting an app
    • Start apps, even not ever running since system startup
    • You support this app and further development!

    Play Store: http://tinyurl.com/m94esbw
    Changelog : In-app or http://tinyurl.com/kyzfjmp (Google Tranlator bar on the top)
    Sideload: http://tinyurl.com/nhde3ux

    My personal intension to create this app:
    I'm using the messenger Trillian which has random FCs. Now Cerulean Studios has"pimped" the UI in a way I don't like. So I have to use the old version with known bugs.
    To not miss messages anymore, i restart Trillian after crashes with this app
    Now i'm using it also for daily crashes of WhatsApp

    Translation:
    You could find here a interface to translate the english strings: http://tinyurl.com/okycacj
    A free account of www.oneskyapp.com is required to edit. Additional, please attach your email address or send it via PM ;)
    3
    Useful application! I've highlighted it on the XDA Portal.
    2
    I'm already liking your BootManager and ReceiverStop.

    Way to go!

    Thanks!
    1
    Useful application! I've highlighted it on the XDA Portal.

    I just read it in portal news, looks nice. Good work OP!