Couple simple questions:
1. Create shortcut/toggle to enable/disable Dont keep Activitiy from dev options
Or for that matter, create any shortcut to anything in dev options...
This is would be very helpful as im using a combo "dont keep activities and Limit background process: no background processes" as sort of game booster (and i have read about Dont keep activities being bad because how android handles memory but i cant unsee diffrence it makes when running something heavy liker max detail Titan Quest)
I guess terminal command or name of activity would be enough ?
Samsung S8 no root on Android 8.0 but this doesn't matter if this will not possible i will get it done asap root and at least up to 8.1...
2. Flashlight launch from hardware button press or anywhere else then Quick Settings which is very unpractical
I suspect it might be impossible on oreo but root should not...
Thank you for any insights
Related
...and I don't mean 'minmize' like what pressing the home or back button does. (which merely puts it in the multitasker menu list, still open.)
I mean closing it like when you swipe it out of the menu list. (which are far as I can tell, seems to close it off enough to stop what it's doing and free up the memory it was using!)
Sometimes I want to just close an app since I know I won't be using it for a while and I want to conserve cpu/memory/battery - or merely manage the list of things in my multitask list. kinda like on Desktop. (you don't want every app on your pc open all at once, do you, do you?!) and I just want a simple way like on the desktop to close that app when I want to close it.
SO: Is there some app that can assign a custom screen gesture (like the lovely letter C for 'close') to perform 'fully exit current app' or some solution like that? I started to research, but couldn't seem to find one very quickly, so thought I'd ask here, at THE place to ask.
also I apologise for using things like Windows terms ('minimize'), i know that's not how it works in android. But you do know what I mean.
Thanks
This is a question that a lot of people ask when moving to Android and the answer simply is, forget about it.
Android handles processes and memory in a completely different way to Windows. When an app is "minimized" it obviously leaves a footprint in the memory, but it uses no CPU (unless it's a polling app or something that keeps alive for a specific purpose).
Just trust Android to handle memory management - it does a very good job of it.
If you really, really MUST do something about it then the best thing you can do is get something like Juice Defender (there's tons of similar apps) and make it kill apps periodically. Most apps that people use for this type of purpose are merely placebo, but if it makes you feel better then I guess it's serving a purpose.
Archer said:
This is a question that a lot of people ask when moving to Android and the answer simply is, forget about it.
Android handles processes and memory in a completely different way to Windows. When an app is "minimized" it obviously leaves a footprint in the memory, but it uses no CPU (unless it's a polling app or something that keeps alive for a specific purpose).
Just trust Android to handle memory management - it does a very good job of it.
If you really, really MUST do something about it then the best thing you can do is get something like Juice Defender (there's tons of similar apps) and make it kill apps periodically.
Click to expand...
Click to collapse
Thanks for your answer. I can sense you have wisdom and experience in your words there, but I want to probe a little further.
surely there can be an almost macro-like (again, windows terminology, sorry) functionality, that can be assigned to a gesture swipe that can emulate pressing home button, then swiping the bottom item away from the multitask menu? (which is always the one you just 'minimized')? Could an app like Tasker even do it?
i agree that good memory management is a beautiful thing, but there really should be manual control of closing apps, my reasons above are stated.
i wouldn't touch automatic time-based closing, i sometimes have saved states in apps and wouldn't want them closed when i don't want them closed.
Most apps that people use for this type of purpose are merely placebo, but if it makes you feel better then I guess it's serving a purpose.
Click to expand...
Click to collapse
you really think it's all placebo, and that say, running 50 apps in android with finite set amount of ram on the device is all fine simply due to memory management?
is me experiencing lag in some android apps (or battery draining faster than I'd like), then closing off several running apps in the multitask list, then noticing the problem go away, all placebo????? what about google maps, say?! I'd love a one-step swipe action to CLOSE google maps when I'm done with it, not having to press home button, then multitask button, then swipe away google maps. (I know when minimized it consumes nothing like it does when open, but I think still it consumes more than if it were fully closed...)
it's not just about memory. edit: and I already stated in addition, I often want to simply manage what I have open. this is a basic function in desktop OSes, I think it's time it came to mobile. if not officially, there surely must be some hack/tool to do it. :S
download a task killer app with a widget.
press home button and press the widget and you're done
If you're using AOKP based ROM then there is hold back to kill in Settings > ROM control > general UI
Sent from my GT-I9100 using 1st ROM
Hold homesçern key
Sent from my ST23i using xda app-developers app
jman2131 said:
download a task killer app with a widget.
press home button and press the widget and you're done
Click to expand...
Click to collapse
that's about 2/3 the way towards the current 3-step solution though :/.
Am I to be amazed that a function to put this simple task into a single gesture hasn't been done? or isn't possible? it HAS to be possible. Otherwise I'd be flabbergasted.
I have googled further and just can't seem to find something :|.
WAIT! I think I have! here. https://play.google.com/store/apps/details?id=com.goodmooddroid.gesturecontroldemo&hl=en it has a "kill task" function that you can set up a custom gesture for. it's a start.
however I'm getting a "ERROR! No ROOT permissions?" error despite being rooted with supersu and successfully using other root apps etc, so I've emailed the dev and hope I can get it working :S.
But still, it seems a little clunky the offering of custom gesture types. I can't set a nice curvy gesture defined by tracing it on the screen. oh well - it's a start.....
jootanen said:
If you're using AOKP based ROM then there is hold back to kill in Settings > ROM control > general UI
Click to expand...
Click to collapse
That seems the holy grail! too bad I'm on stock jb with plans for upgrading to CM .....
I have been lurking on this site for a while. Let me say thank you to all the developers here, its incredible that you would take time out of your life to help other people with our miniscule problems that we bring upon ourselves.
Anyway I recently upgraded from cyanogenmod 9 to cyanogenmod 10 on my Samsung infuse 4g. In the 9th version, there was a section in the system menu for developer tools. In it was a bunch of options but the one i am concerned with is the cursor. Actually i cant recall what it is called but when enabled, it shows a little circle wherever the screen is being touched. I love that feature and i figured it would still be in the 10th version but i cannot find it. I dont know what to search for to find information so i had to create this account and ask.
Okay i was playing with the settings and i found this.
Settings - Lock Screen - Slider shortcuts - drag the dot to a new location - activities - Dev tools - Pointer Location
but when i lock the screen and then unlock it and slide the dot to the icon, it just brings up a kind of app. the one in CM9 was global and it was different, it didnt track the touch, just showed it...
found it (?)
okay i found how to enable it but its hidden like a *****
Had to set Dev tools to the slider icon, then save, lock the screen, unlock it, slide to the dev tools icon, and the developer options is THERE. WHO PUT IT THERE?! How were we supposed to get to it? The dev tools contain many useful features. I use the long press back key kill app feature, and some people might use the max background processes to free up memory. You can change transition animation timing, and lots of other things. IDK why they hid it away on CM10 unlike CM9.
Anyway thats where the dev tools are. Question answered, maybe it will help someone else.
a10fjet said:
okay i found how to enable it but its hidden like a *****
Had to set Dev tools to the slider icon, then save, lock the screen, unlock it, slide to the dev tools icon, and the developer options is THERE. WHO PUT IT THERE?! How were we supposed to get to it? The dev tools contain many useful features. I use the long press back key kill app feature, and some people might use the max background processes to free up memory. You can change transition animation timing, and lots of other things. IDK why they hid it away on CM10 unlike CM9.
Anyway thats where the dev tools are. Question answered, maybe it will help someone else.
Click to expand...
Click to collapse
Found an easier solution... was having the same issue.
http://envyandroid.com/archives/683/developer-options-menus-cm10-1
too cool
Excellent, Worked like a charm and too 30 seconds. :highfive:
Developer Options
a10fjet said:
I have been lurking on this site for a while. Let me say thank you to all the developers here, its incredible that you would take time out of your life to help other people with our miniscule problems that we bring upon ourselves.
Anyway I recently upgraded from cyanogenmod 9 to cyanogenmod 10 on my Samsung infuse 4g. In the 9th version, there was a section in the system menu for developer tools. In it was a bunch of options but the one i am concerned with is the cursor. Actually i cant recall what it is called but when enabled, it shows a little circle wherever the screen is being touched. I love that feature and i figured it would still be in the 10th version but i cannot find it. I dont know what to search for to find information so i had to create this account and ask.
Click to expand...
Click to collapse
Go to settings - About Phone - And press on the "build number" for 7 times.
You will get a message saying "You're now a developer" or something.
And the Developer Options menu should be available in settings.
My father has early onset Alzheimers and I need to create a rom that when the device is powered on all he sees is 3 buttons call, end call, and text which brings up the plain texting option. Call shows square photos of people and services..etc.. tap on one it calls that person. I Would also like to do things like change the power button so it cant fully shut down the phone with out a specific combination of buttons or a pattern. Where do I begin to learn how to do this? I would really like to learn to do this on my own.
Hi there. Sorry to hear about your father. I've had a couple members of my family suffer from this and it's difficult, to say the least. As far as what you are looking for, well, I'm not sure you need to go all in and make a custom rom for this. I think many of the things you are trying to do can be done with existing mods.
As far as the power button, you can look into using the Xposed Framework and the Xposed Additions module which allows you to customize the activity of the hardware buttons.
http://forum.xda-developers.com/xposed/framework-xposed-rom-modding-modifying-t1574401
http://forum.xda-developers.com/xposed/modules/mod-xposed-additions-t2294274
For the buttons on screen for Call / End Call - Well, the Call with a link to favorite contacts with pictures is easily done with most launchers or a favorite contact widget. The End Call option though, I'm not so sure about. Reason being is that any time you're going to make a call, it's going to open the dialer app and the end button will be there. I can't really think of a way around that. I looked into adding a shortcut to that activity with Nova Launcher, but it's not an option available (though there are a dozen other shortcuts).
But with a launcher like Nova, you will have the ability to add / delete anything off the main screen besides what you want. You can lock the home screen so he can't inadvertently make changes to it and enable a gesture he wouldn't be likely to use to allow you to access the app drawer (like 2 fingers swipe up, etc). You can also use one of the variety of locking apps that will prevent access to any unwanted apps by requiring a password or PIN.
Ooh. Custom ROMs. A lot of work for such simple need. Maybe use Tasker instead? You can accomplish this with a scene and some profiles/tasks setup on stock ROM. Only disadvantage I see compared to making your own rom is long boot time. You can bypass everything in regards to Android UI just by making the scene fullscreen and disabling keyguard with a on-boot profile. That way, when he turns the screen back on, it goes right to your scene setup with no "slide-to-unlock" crap. I am very experienced in Tasker, so if you need any help, I can help you. I'd be willing to develop this for you, it would be about a half hour on my part
All the best,
Sent from my SCH-I605 using XDA Free mobile app
Thanks for the suggestions, these are great places to start.
HI,
I use the latest (nightly) PAC-ROM for my i9100. Android Version 4.4.4
After unlocking the developer options I activated the option to kill applications then long-pressing the soft-back-button.
But the timeout is to high. I have to press the back button for approx 2 seconds!
On my last ROM this was like 500ms and the workflow was much better with it, as I make multible fast clicks and have to close apps really fast some times.
Can anyone show me a way how I can change this timeout ?
I know there are apps that can do that, but then possible I just want to change a value to keep my ROM slim. Also I have already an Xposed module, that gives me the torch on long pressing home and I dont know how app doing same stuff interfere together. Dont want to risk unnecessary wake-locks and so on.
Is there a way to simply change a value to manage this? Does anyone know a good Tweaking Tool, where I can costumize this hidden/expert settings ? (the tweak tool should let every settings untouched, unless I change it in that app)
Thx for any help.
revnu
revnu said:
HI,
I use the latest (nightly) PAC-ROM for my i9100. Android Version 4.4.4
After unlocking the developer options I activated the option to kill applications then long-pressing the soft-back-button.
But the timeout is to high. I have to press the back button for approx 2 seconds!
On my last ROM this was like 500ms and the workflow was much better with it, as I make multible fast clicks and have to close apps really fast some times.
Can anyone show me a way how I can change this timeout ?
I know there are apps that can do that, but then possible I just want to change a value to keep my ROM slim. Also I have already an Xposed module, that gives me the torch on long pressing home and I dont know how app doing same stuff interfere together. Dont want to risk unnecessary wake-locks and so on.
Is there a way to simply change a value to manage this? Does anyone know a good Tweaking Tool, where I can costumize this hidden/expert settings ? (the tweak tool should let every settings untouched, unless I change it in that app)
Thx for any help.
revnu
Click to expand...
Click to collapse
I think you should post this on the PAC thread... But just to answer you:
Try going in Settings > Accesibility > Touch and Hold Delay...
I don't know if that feature is in your current ROM, since I'm on Slim... But better check it out...
And next time, post questions on Q&A Section please. Follow the rules and stuff... :good:
souler456 said:
Try going in Settings > Accesibility > Touch and Hold Delay...
Click to expand...
Click to collapse
I tried changing htat, but it has no effect on long-press-time then killing apps.
Isnt there a way to simply change an value like itz possible in regedit/windows ?
I deactivated the boot-animation of the PAC-ROM the same they, just edited a textfile.
If someone knows there this value is, that would be great.
greetz revnu
ps: I already posted a request on PAC-forum, but they are not active there so much
Hello,
Not sure what the actual term for these functions are: when the screen is off and you pick up the phone and swipe in any of 4 directions it will shortcut to homescreen, blinkfeed, last used app, ? and what you turn to landscape and press down volume it will go to camera.
Is there any way to change what these commands shortcut to? For example, swiping up to activate flashlight.
thanks
There is no way to change these sense functions without root - If I recall, even rooting you still can't change these options - just have to use a different launcher/rom
This is about as close as you are going to get to the answer you want..its a common feature among custom ROMs..its called screen off gestures..and yes you have to be rooted,and no you don't have to be s-off in order to root the device...its recommended to s-off if you want to do things to the firmware, but I'm not sure of your experience do I'll stick to your question...
The feature I screenshot is from Bliss ROM...