Kill app back button - Sprint Galaxy Note 4 Themes and Apps

Not sure if anyone has seen this yet but heres a weblink to an app that enables the back button to kill apps on stock TW. Obviously i take no credit for this just thought id share it. And yes, this works for our device!!
http://gs5.wonderhowto.com/how-to/use-your-back-button-force-close-any-android-app-spot-0160683/

this is the original post
http://forum.xda-developers.com/android/apps-games/app-hold-to-kill-t3039412

cletusarrarr said:
this is the original post
http://forum.xda-developers.com/android/apps-games/app-hold-to-kill-t3039412
Click to expand...
Click to collapse
It works great, I have been using it a few weeks now to kill those pesky apps with no exit button.

thanks. i needed it.

Related

[REQ] Lock Screen App

The power button on my N1 has been giving me fits, and given the number of people I've read about with "dead" power buttons, I think mine is going out so I'm trying to preserve it as long as possible.
I enabled trackball wake (using CM6) which takes care of 1/2 the equation, but I need a good lockscreen app (just something to make the phone go to sleep). I found one in the market called Lock Screen Enabler, but it's not a "true" lockscreen app and it's very buggy, causing all sorts of problems for me.
I've been a web developer for 8 years and recently got into Android development (which I hope to be doing full-time soon), so I thought I'd just code a quick app for personal use in 5 minutes.
The problem, however, is that the DEVICE_POWER permission is needed in order to call goToSleep() and from what I've read so far from other online posts, this permission is only granted to native system applications.
Since my phone is rooted, I even tried granting my application SU privileges, but that doesnt seem to work either.
So, my question boils down to how do I grant my application DEVICE_POWER permission? I figure if anyone out there knows the answer, it's going to be someone on XDA as this place is full of geniuses. Thanks in advance!!
UPDATE: I've attached the finished app. Made this for personal use but if anyone wants to use it they are welcome to. My only gripe about it right now is the "screen flicker" that happens when you launch it because it's trying to launch an app that immediately locks the screen and finishes itself. If I can figure out how to get the app to launch in a smaller window maybe I can minimize the size to reduce the screen flicker. But for now, this works and I can set it to launch when I click the clock on Fancy Widget, so I'm happy. Thanks again to everyone who offered answers to my questions. Just another reason why I love the Android development community!!
-teleknEsis
Search for Lock screen widget. I have the same problem and I use it. It immediately locks your phone once pressed
nDrg said:
Search for Lock screen widget. I have the same problem and I use it. It immediately locks your phone once pressed
Click to expand...
Click to collapse
Awesome, thx! Still would like to know how they got that prompt to show that basically made the application an Administrator app. Seems like the missing piece I need to complete my own
teleknEsis said:
Awesome, thx! Still would like to know how they got that prompt to show that basically made the application an Administrator app. Seems like the missing piece I need to complete my own
Click to expand...
Click to collapse
It seems that you'll need to add the application as a device administrator. There seems to be some decent information half way down this page under Device policy manager: Link.
I'd be interested in using this application as I can't change the icon of my previously mentioned widget.
Edit: More information here as well: Link.
nDrg said:
It seems that you'll need to add the application as a device administrator. There seems to be some decent information half way down this page under Device policy manager: Link.
I'd be interested in using this application as I can't change the icon of my previously mentioned widget.
Edit: More information here as well: Link.
Click to expand...
Click to collapse
I will probably still go ahead and create one. I like how with FancyWidget you can set it so clicking the clock will launch an app. Unfortunately it doesn't work with widgets, so I need an extra icon on my home screen just to lock it. If you have an icon you'd like me to use, feel free to share and I'll put it in
And thx for the info!!
I would be happy with any icon to be honest, I just don't like the lock screen widget one Good luck bud
teleknEsis said:
..If you have an icon you'd like me to use, feel free to share and I'll put it in
And thx for the info!!
Click to expand...
Click to collapse
Yeah, put my themed one in from LockScreenWidget (smoked)
http://forum.xda-developers.com/showthread.php?t=731625
rori~ said:
Yeah, put my themed one in from LockScreenWidget (smoked)
http://forum.xda-developers.com/showthread.php?t=731625
Click to expand...
Click to collapse
Alright, I got it working, but there's one problem. It can't be uninstalled because it's currently a device admin. Same goes for that Lock Screen Widget I installed earlier.
Looking into a way to be able to uninstall, if one even exists....
You disabled: device administrator ?
Looking into a way to be able to uninstall, if one even exists....
Click to expand...
Click to collapse
Try using "root explorer" to find the files and just delete them.
teleknEsis said:
Alright, I got it working, but there's one problem. It can't be uninstalled because it's currently a device admin. Same goes for that Lock Screen Widget I installed earlier.
Looking into a way to be able to uninstall, if one even exists....
Click to expand...
Click to collapse
You need to go to Security & Location - Device Administrators and disable both there.
Hollow.Droid said:
You need to go to Security & Location - Device Administrators and disable both there.
Click to expand...
Click to collapse
Good call. Thx. However, I also came up with a work-around for ppl who are just as lazy as myself. There are 2 icons in the launcher. The first will lock the screen (once you enable the app as a device admin). The second will disable the app as a device admin, allowing you to uninstall at your will.
I really intended for this app to be for personal use, but if anyone wants it I'll put it up here for you to download. If you'd rather I remove the second launcher icon and just let you to disable it through Security settings, I will also do this (as really, I don't plan on uninstalling any time soon so this is fine for myself).
Thanks to everyone who helped out!!!
teleknEsis said:
Good call. Thx. However, I also came up with a work-around for ppl who are just as lazy as myself. There are 2 icons in the launcher. The first will lock the screen (once you enable the app as a device admin). The second will disable the app as a device admin, allowing you to uninstall at your will.
I really intended for this app to be for personal use, but if anyone wants it I'll put it up here for you to download. If you'd rather I remove the second launcher icon and just let you to disable it through Security settings, I will also do this (as really, I don't plan on uninstalling any time soon so this is fine for myself).
Thanks to everyone who helped out!!!
Click to expand...
Click to collapse
Yeah I'd appreciate the single launcher version please if possible
Hollow.Droid said:
Yeah I'd appreciate the single launcher version please if possible
Click to expand...
Click to collapse
OK - I'll update and upload when I get into work
Application is in the OP. Have at it
Great, works perfect on MIUI 0.9.30
Does the job perfectly! I especially like how it runs as an app so I can change the icon
You're a lifesaver, or should I say power button saver
Thanks so much.
I tried to develop something similar before but got stuck. Saved me some time!
Thanks for creating such useful app for my N1. My power bt is fine, but I would like to preserve it to powering up/down the phone.
BTW, I also downloaded Lock Screen Widget to test it out. Is it possible that you can make your app to shut off the screen smoother, like LSW? I like it you set it up as an app, which is super useful for me set up as a gesture swipe on my LauncherPro dock icons.
Thanks again and keep up your good work!
Thanks again, your app is really great. But could you add a option to map it to the search button (long press) please?
Thank you!

[MOD] Remap Search Soft Key To Camera

I TAKE NO CREDIT FOR THIS LITTLE HACK, THIS WAS DONE FOLLOWING THE INSTRUCTIONS FROM THIS POST.
ALL CREDIT GOES TO Decad3nce
This Hack Should Work With Any 2.2 Rom
Just Flash This .Zip In Recovery.
*Do Nandroid Backup Just In Case*
What This Does Is That When You Go Into The Camera App, You Can Take Pictures By Just Pushing The Search Button.
wrong section to boot
CheesyNutz said:
wrong section to boot
Click to expand...
Click to collapse
Forum police...everyone hide...
Thanks for this BTW
is there a way to undo this?
kindakrazy said:
is there a way to undo this?
Click to expand...
Click to collapse
Sent from my PC36100 using XDA App
I would like to know this as well. Also, u said it should work with any 2.2 rom, so I'm assuming it should work on a 2.2 aosp rom as well like cm6.1?
Tiffany84 said:
Sent from my PC36100 using XDA App
I would like to know this as well. Also, u said it should work with any 2.2 rom, so I'm assuming it should work on a 2.2 aosp rom as well like cm6.1?
Click to expand...
Click to collapse
I'm Not sure. I didn't test it on AOSP. It just changes the action of what the search button does.
Useful for anyone also misled by the naming of the thread, LaunchKey is an app on the market which lets you bind the long-press of the search key to any app, including camera. It is useful because it lets you keep the search key for searching, although not voice searching, and the camera app as well.
In Market: $0.96
On XDA: Free
Using the search key instead of the screen to take the pic sounds REALLY useful though, must try.
Maybe a better thread name? or does this also remap to launch the camera app?
Orrr.......
Or get FX Camera Zoom... which allows you to remap to any button also does voice activation for the camera... plus more features... HD etc the list goes on
kindakrazy said:
is there a way to undo this?
Click to expand...
Click to collapse
Yes, just search for the EViO rom and download the "Calkulin's_EVO_Default_Buttons.zip", it should work

[Q] Question about Supreme Sense V6 A2SD

Hey Guys, this is my first post so I couldn't do it on the dev forum but help would be appreciated. I flashed this just fine after a full wipe with no problems and it is running great with no problems except on the sense bar Apps and Phone work just fine but the Personalize button does nothing when it's pressed except light up. I can hit the menu button and get to personalize just fine. If this is a bug I just wanted to report it. Awesome ROM by the way! Thanks
Poppawu696 said:
Hey Guys, this is my first post so I couldn't do it on the dev forum but help would be appreciated. I flashed this just fine after a full wipe with no problems and it is running great with no problems except on the sense bar Apps and Phone work just fine but the Personalize button does nothing when it's pressed except light up. I can hit the menu button and get to personalize just fine. If this is a bug I just wanted to report it. Awesome ROM by the way! Thanks
Click to expand...
Click to collapse
Its actually no bug, open the app drawer, open an app called launchkey, and set it as an app thats a rosie reamp so it turns your personalize button into something else, mine i set to see my built in task manager
Supremely Shifted
Thanks man, worked like a charm!
Not a problem, glad you got it setup…when i get off work tonight ill add this to the op or second post so everyone gets it setup
Supremely Shifted
strapped365 said:
Its actually no bug, open the app drawer, open an app called launchkey, and set it as an app thats a rosie reamp so it turns your personalize button into something else, mine i set to see my built in task manager
Supremely Shifted
Click to expand...
Click to collapse
Okay but how do you set it back to "personalize" ?
Stuke00 said:
Okay but how do you set it back to "personalize" ?
Click to expand...
Click to collapse
Ill get the zip posted in a few when i get home from work and pm you the link so you dont have to search for it
Sent from my PG06100 using Tapatalk

App for double-tap-Home-button-to launch app for ICS LPY roms?

this is the one function I really miss with LPY. In fact its such a big deal for me I'm not switching to ICS just so I can have the double-tap-home-button functionality!
Is there a corresponding mod or app I can use for this, in the LPY roms?
There's Advanced Home Button that I used to use on my SGS1
You can give it a shot
https://play.google.com/store/apps/...DEsImNvbS5jcmF6eXJpY2t5LmFkdmhvbWVidXR0b24iXQ..
slient said:
There's Advanced Home Button that I used to use on my SGS1
You can give it a shot
https://play.google.com/store/apps/...DEsImNvbS5jcmF6eXJpY2t5LmFkdmhvbWVidXR0b24iXQ..
Click to expand...
Click to collapse
More than likely will not work
yeah reading the reviews looks like a lot of people have problems with it. anybody tried with any of the LPY roms yet? Could you let us know if it worked if you've tried it on the ICS LPY roms? thanks in advance!
the other one to try is this app: http://forum.xda-developers.com/showthread.php?t=1299923
can somebody try and lemme know if this works on LPY?
what do you mean double tap home? Im on LPY ics and when I double tap my home button the Voice talk starts up. I swear when I was GB it did the same thing with the Tap & Speak or say "Hi Galaxy".
yeah actually thats what I was wondering exactly. with double-tap home button I tried Criskelo's ICS and nothing happens. COuld you try that homemyhome app I posted above and see if it is able to replace the Vilingo/Voice Talk app, to start up a different app?
ps. please do necessary backups first
blaaez said:
yeah actually thats what I was wondering exactly. with double-tap home button I tried Criskelo's ICS and nothing happens. COuld you try that homemyhome app I posted above and see if it is able to replace the Vilingo/Voice Talk app, to start up a different app?
ps. please do necessary backups first
Click to expand...
Click to collapse
I would love to help with that but unfortunately I did not go with the rooted method for LPY, at the time it seemed a little too risky. I did try to install anyway but of course without success as it shows there is an apk with the same signature
think you've to uninstall the Vilingo/Voice Talk app for that to work. thanks for trying anyway.

[REQ] Long press back button to close foreground app?

Can someone make me a flashable zip for this or know where I can get one? Ever since I updated to Clean Rom 6R2 I really miss it since kindacrapmods doesnt work.
I have searched the forums and the net with no luck....
Thanks everyone!
Re: [REQ] Back button to close foreground app?
Andybones makes a menu to kill http://forum.xda-developers.com/showthread.php?p=39293176
Sent from my SCH-I535
Re: [REQ] Back button to close foreground app?
Ya, I seen that but I use long press menu to use Google/Google now
viskey said:
Ya, I seen that but I use long press menu to use Google/Google now
Click to expand...
Click to collapse
You'll still have Google now. It just says it closes touch wiz launcher, but launcher stays locked in memory...
Sent from my SCH-I535 using xda app-developers app
The one in kindacrapmods closed whatever foreground app you were in, not the launcher
viskey said:
The one in kindacrapmods closed whatever foreground app you were in, not the launcher
Click to expand...
Click to collapse
Yeah. I've been wanting hold back too kill as well. The menu one just feels weird.. And i also don't like Multi window... So I just try to get rid of it with that.
Hopefully we can get this working
Hey guys the menu to kill , kills the seclauncher??? I can block that I must not have updated it sorry guys, but yea I can only get menu hopefully someone with more smali skills can get back to kill
andybones said:
Hey guys the menu to kill , kills the seclauncher??? I can block that I must not have updated it sorry guys, but yea I can only get menu hopefully someone with more smali skills can get back to kill
Click to expand...
Click to collapse
Is there a way you can decompile the kindacrapmods to see what it was and go from there?
andybones said:
Hey guys the menu to kill , kills the seclauncher??? I can block that I must not have updated it sorry guys, but yea I can only get menu hopefully someone with more smali skills can get back to kill
Click to expand...
Click to collapse
It says it does, but launcher stays locked in memory, so it doesn't effect anything, but you get the toast message.
The code changed in 4.1.2 so the kindacrap way doesn't work on the newer ROMs. I don't know of anyone working on this, as menu works the same (you just lose the half @ss 'search' function) and multi window should be coming...
Sent from my SCH-I535 using xda app-developers app
I know coding has changed in the new update since kinda crap. What I was trying to say was just to see if he can decompile it and look at it to compare the differences. Who knows, what needs to be changed might just stick out to him and may be any easy fix. Just an idea...
viskey said:
Is there a way you can decompile the kindacrapmods to see what it was and go from there?
Click to expand...
Click to collapse
trust me man, like I said I want this MORE than anyone, this is my favorite MOD and is drives me NUTS I can't get it...
I don't like using Menu any more than you but it's better than nothing, right?
Yes, I have tried diffing the code MANY times, can't get it bro. My smali skills are limited, I am going to try and get some outside help though.
andybones said:
trust me man, like I said I want this MORE than anyone, this is my favorite MOD and is drives me NUTS I can't get it...
I don't like using Menu any more than you but it's better than nothing, right?
Yes, I have tried diffing the code MANY times, can't get it bro. My smali skills are limited, I am going to try and get some outside help though.
Click to expand...
Click to collapse
Thanks for trying though Good luck! Let us know!

Categories

Resources