Can anybody help?
I've been fiddling with my framework-res.apk a lot recently and I keep getting mysterious bugs. Whenever I push the new version, my app's FC if I try to get into the settings menu. Also the Market FC's and the phone reboots if I long-press on the home button (or whatever it's called) to see what app's I'm running.
Re-pushing a previous, working framework doesn't fix the issue, even if I use the original stock one. The only thing that works is restoring a Nandroid backup or reflashing.
I've been able to narrow it down and this only happens whenever I edit an XML file in the Layout folder, although I have absolutely no idea why.
Anybody know what's going on?
...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 .....
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 everybody,
I have been trying to create a small mod for the navigation bar that enables you to swipe left and right over it to adjust the volume. I think this would make it easier to adjust the volume when you're using your phone with just one hand. While swiping the buttons would disappear and a volume icon would show up, like this:
Initially I tried to accomplish this with an app, however this turned out to be impossible because of the limited permissions apps have. Then I tried to do it by modifying the AOSP source code but that was too difficult for me as I don't know a lot about coding.
Now, I am wondering if there's anyone with a bit more coding knowledge that likes this idea and would like to make the mod together with me? Maybe it could also be done by making it into a module for the Xposed framework instead of modifying the source code.
Hi there,
I'm using AOKP Nougat with my Samsung GS III LTE (i9305). I discovered this ROM looking for an alternative ROM available for my device. And I'm pretty satisfied of it, it's efficient, simple, light and in the same time very open to personal setup.
But I've lost a function that was very helpful: In my scrolling menu, I had a little processor (or RAM?) knob just beside the settings icon. Clicking on it allowed me to manage all the running and back task running apps.
But since a few time, this knob disappeared from the scrolling menu and I look after it different places like ROM control and many other settings menu but I didn't found it...
So if someone see what I'm talking about and knows how to get it back, I would be so glad!
Thanks.