[Q] customize the home double tap - Droid 2 General

as a user of power strip, i was extremely frustrated when i realized that the native double-tap function overrides whatever you set power strip to. coming from a droid 1 and cyanogenmod, i knew that there must be a way to take this function over.
after doing a lot of searching i came across this:
http://forum.androidcentral.com/motorola-droid-x/33482-disabling-customizing-double-tap-home.html#post349645
in that post zlandau mentions to edit a line in a database table in /data/data/com.motorola.android.providers.settings/databases/settings.db
line 352 has a value of 'double_tap'.
zlandau mentions to change that value to "<program>/<activity>"
assuming that this method will work for what i want to do [restore double tap to power strip], i'm not sure how to call the app properly.
if someone's able to help me out with this i'm pretty sure it will benefit everyone, as it will finally provide a means to disable/customize the function.
[btw i posted this over at droidforums, but figured i'd throw it up here for a quicker response]

also, once this is figured out, maybe someone could make an app to modify this and throw it on the market. i'm sure it would help a lot of people out. droid 2 and X users alike

after messing around i figured it out, with the help of launcher pro activities.
i didn't realize that the table extended to the right and when i saw the action that was set through the system i realized what i was missing.
i was looking for this
'mobi.intuitit.android.p.powerstrip/mobi.intuitit.android.p.powerstrip.PowerStrip'
however, if i set launcher pro as my default launcher and change the doubletap action to power strip, when i double tap it goes home then launches power strip.
i'm going to try just removing the value all together.

I like where this is headed!
Sent from my DROID2 using XDA App

ecnahc said:
after messing around i figured it out, with the help of launcher pro activities.
i didn't realize that the table extended to the right and when i saw the action that was set through the system i realized what i was missing.
i was looking for this
'mobi.intuitit.android.p.powerstrip/mobi.intuitit.android.p.powerstrip.PowerStrip'
however, if i set launcher pro as my default launcher and change the doubletap action to power strip, when i double tap it goes home then launches power strip.
i'm going to try just removing the value all together.
Click to expand...
Click to collapse
Just set the home key settings to do nothing in launcherpro

MotoBoy said:
Just set the home key settings to do nothing in launcherpro
Click to expand...
Click to collapse
yea that's what i already had it set to.
i guess getting power strip to work properly is another story..
but the instructions i posted above do accomplish setting the double home tap to whateve you want

ecnahc said:
yea that's what i already had it set to.
i guess getting power strip to work properly is another story..
but the instructions i posted above do accomplish setting the double home tap to whateve you want
Click to expand...
Click to collapse
That was a good find. I am thinking of what I want my home double tap to be

The problem is that it still takes you home before launching power strip, when it would be best to have it just launch power strip in the current program you are in... I ran into the same problem with quick desk. I settled on using smart taskbar instead because it can be launched by a swipe action, floating icon, or the notification area. And it launches over your current app window. The developer is very responsive to suggestions as well.
Sent from my DROID2 using Tapatalk

activity name?
I would like the double tap to launch google voice
how do I figure out what the name of the startup activity is?
I know the app is com.google.android.apps.googlevoice and I've guessed some generic activity names like com.google.android.apps.googlevoice.GoogleVoice but no luck so far

you can change the double tap home key by going into settings then applications then it will be the last option. not sure on the camera button

Related

[Q] Removing Google Now from the home button

I don't have any use for Google Now nor do I use the built-in Google search function and I'm trying to find a way to remove the shortcut thing that pops up when I long-press the home button on the navigation bar. It's actually infuriating the amount of times I pull it up by mistake.
I am running Paranoid Android 2.5 ROM and the navigation bar options specifically states that the home button shortcut can not be changed in those options like the back/recent/menu buttons can.
I have deleted the googlequicksearchbar.apk from the system apps folder and that at least causes it to just bork up and stops it trying to load everything up when I end up selecting Google Now by mistake but it's still a pain in the ass to have that shortcut there.
I've searched around and the only things I found covering this were disabling it on the lockscreen which is different from what I am trying to achieve.
Has anyone had any success on the PA ROM in regards to removing the Google Now shortcut from the Home button?
Uninstall the google app.
Sent from my Nexus 7 using Tapatalk 2
leelaa said:
Uninstall the google app.
Sent from my Nexus 7 using Tapatalk 2
Click to expand...
Click to collapse
Which google app is that? There is no Velvet.apk to be found and there's nothing in Titanium Backup's list that I can see that looks like it would be that either. I see google voice search and google search. The latter which is no longer present as I deleted the searchbox apk already.
bump
Juan_Largearm said:
bump
Click to expand...
Click to collapse
Lol the Google search app. But I guess u don't wanna do that. Other than that u got no option. Except maybe get an older Google search apk n install,u know from stock ICS gapps? Then u would have Google search n no popup.
THIS. IS. NEXUS.
Have you tried to disable Google Search app in Settings->Apps?
Worked on my Galaxy Nexus with stock rom.
You'll probably have to kill and restart Launcher process to get rid of the grey bar at the top of the screen.
Sent from my Galaxy Nexus using xda premium
Juan_Largearm said:
I don't have any use for Google Now nor do I use the built-in Google search function and I'm trying to find a way to remove the shortcut thing that pops up when I long-press the home button on the navigation bar. It's actually infuriating the amount of times I pull it up by mistake.
I am running Paranoid Android 2.5 ROM and the navigation bar options specifically states that the home button shortcut can not be changed in those options like the back/recent/menu buttons can.
I have deleted the googlequicksearchbar.apk from the system apps folder and that at least causes it to just bork up and stops it trying to load everything up when I end up selecting Google Now by mistake but it's still a pain in the ass to have that shortcut there.
I've searched around and the only things I found covering this were disabling it on the lockscreen which is different from what I am trying to achieve.
Has anyone had any success on the PA ROM in regards to removing the Google Now shortcut from the Home button?
Click to expand...
Click to collapse
I don't think you have to do any of that. Go to settings and go to system settings, hardware keys, or navigation. Go to the home button and change it to none.
Sent from my SAMSUNG-SGH-I747 using xda premium
I just froze Google search in romtoolbox pro.
Sent from my Nexus 7 using Tapatalk 2
I've manged to get Google now off the Nexus 7
After hours fiddling I found the answerr
You go into settings, click on app, and then scroll to the reach 'all'
You will see Google Search open it and hit all buttons which cut the cache and another 2 buttons which I d'ont remeber. Anyway click all the buttons there.
Then you will find that where the google search box was there is now a grey block in its place.
Close down the phone, and when you turn it on again the grey box is gone your sexy home page is back!
I really don't undertand the minds of Google Now. The annoying pop notes never told me nothing I needed to know. Google should at least give an easy option to turn the thing off. I fed with things being installed in phones which you can't deleat.
To those wanting to disable search, that's ok, it is your tablet and you can do with it as you like. But, is it really so hard to not hold down the home button? I use search every day multiple times and find it extremely useful. You can turn off any or all cards and even turn off Now and you get the search screen without any cards. If you gave it a fair try you might fine it useful. Others have posted how to disable it, so the OP has his question answered, but I encourage people to learn and use search.
I disable it because I use my nexus for gaming. So I like it keep my background processes to a minimum. I can only assume others do it for much the same reason. If you don't use it why have it running?
Sent from my Nexus 7 using Tapatalk 2
luminoth said:
I disable it because I use my nexus for gaming. So I like it keep my background processes to a minimum. I can only assume others do it for much the same reason. If you don't use it why have it running?
Sent from my Nexus 7 using Tapatalk 2
Click to expand...
Click to collapse
You can kinds of disable it using SwipeLaunch Disabler.
https:/play.google.com/store/apps/details?id=hk.sld.SwipeLaunchDisabler
Go to settings,apps, all, scroll down to Google+ and disable it.
That will just show the "old google search" when you use the home button.
If you want it back go to playstore search Google+ and enable it.
My question is, is there a way to add shortcuts to that menu?
Maybe replace it with this: Home Button Launcher
You can add shortcuts and it's Open Source.
Juan_Largearm said:
I don't have any use for Google Now nor do I use the built-in Google search function and I'm trying to find a way to remove the shortcut thing that pops up when I long-press the home button on the navigation bar. It's actually infuriating the amount of times I pull it up by mistake.
I am running Paranoid Android 2.5 ROM and the navigation bar options specifically states that the home button shortcut can not be changed in those options like the back/recent/menu buttons can.
I have deleted the googlequicksearchbar.apk from the system apps folder and that at least causes it to just bork up and stops it trying to load everything up when I end up selecting Google Now by mistake but it's still a pain in the ass to have that shortcut there.
I've searched around and the only things I found covering this were disabling it on the lockscreen which is different from what I am trying to achieve.
Has anyone had any success on the PA ROM in regards to removing the Google Now shortcut from the Home button?
Click to expand...
Click to collapse
I'm using Paranoid Android v2.50 on my Samsung GS3... I found it irritating that sometimes I would hit the "menu" button too long on my phone by accident (normally when it was in landscape view) and that would bring up the Google Search page every time... here is what to do:
1) Head to "Settings" > "Interface" > "System" > "Hardware keys"
2) Tick "Enable custom actions", the options below will light up for you to edit.
3a) In my case, I had to edit "Menu key (long press)" and set it to "No action"
3b) In your case it would be "Home key (long press)" and then set that to "No action".
That will stop the Google Search feature popping up when you accidentally hold the button down too long
Groid said:
To those wanting to disable search, that's ok, it is your tablet and you can do with it as you like. But, is it really so hard to not hold down the home button? I use search every day multiple times and find it extremely useful. You can turn off any or all cards and even turn off Now and you get the search screen without any cards. If you gave it a fair try you might fine it useful. Others have posted how to disable it, so the OP has his question answered, but I encourage people to learn and use search.
Click to expand...
Click to collapse
I think that is okay to learn how to use it, but for me it is a bit annoying everytime I play MinecraftPE. The proximity of down button and home button is so close that I always end up presing home button then search pops out. I am on stock rom 4.1.1 device with soft keys and notification all bundled up.

Share A Really Good Tip with Note 3 Users

Hi guys,
Now that you've spent some time with your Note 3, how about sharing your top recommended tip with the community.
This tip should be more like your personal experience with the device. I'll go first...
Switching to Nova Launcher Prime with system animations set to fast took my user experience to an all new level...be sure to use "zoom fade" effect on nova settings...
Great thread, I used to use card stack, but changed to zoom fade, thanks for the tip, the tip I would share would be invisible lock screen widget, place it on your home screen, and turn your phone on stand by without any icons showing.
Sent from my SM-N9005 using XDA Premium 4 mobile app
Will try this out soon thanks!
Here's another tip: After trying a lot of hd wallpaper apps, I found "ZEDGE" to be the best in terms of wallpaper clarity and variety. I now use this app and filter out newest wallpapers with stunning picture quality.
Quick Torch access
There is a setting to allow the flash to be used a s a torch quickly while the screen is off. You long-press the Volume-Up key to start it, and press the Volume-Down key to stop it. It also has an optional timeout setting.
To get this setting, called 'Torch Light' I use the 'Activity' shortcut in SSLaucher, as it is not in the normal settings. You can also use the 'Activity Launcher' app. Once set, you do not have to set anything again.
Here's a good one....want Developer options? This is bizarre, but go to 'About device' in settings, then to your build number which appears greyed out. Click it about three, four times, it'll say 'you're almost a developer' and then bam it'll say you are, go back to settings and wala, you'll see a new 'Developer Options' tab! Kinda strange way to get it to show, but it works.
Sporttster said:
Here's a good one....want Developer options? This is bizarre, but go to 'About device' in settings, then to your build number which appears greyed out. Click it about three, four times, it'll say 'you're almost a developer' and then bam it'll say you are, go back to settings and wala, you'll see a new 'Developer Options' tab! Kinda strange way to get it to show, but it works.
Click to expand...
Click to collapse
Man this has to be the best tip that I've seen so far hands down...I literally installed spare parts plus to get the dev options and make animations faster!
Off to unistall spare parts and see the shiny developer options in settings! Thanks a ton mate!
TIP to Reduce Number of Button Press on Note 3:
So this is a tip to substantially reduce the number of times one has to press the power on and home button.
Install "lock screen widget" from the play store (free) and place on ure home screen...it automatically switches off screen on touch...
For those of you who long press the home button to get the multi tasker up...configure the swipe up action in your non touchwiz launcher to open the "recent apps" list...
*Bump*
- Under Settings--> controls --> SPen you can set S pen Keeper, to alert you if you ever walk away without attaching the Spen. In case you forget it. Which has happened to me twice so far. :silly:
In settings/device/accessibility and under the section of mobility you can select the assistant menu and a little pop-up menu will give you some nifty shortcuts if you are using the s pen and don't want to press the home button of s shame with the pen hahaha it's just terrible to do it.
Sent from my SM-N900 using xda app-developers app
Thanks for the s pen tips guys...though I've really not come around to using it often on a daily basis.

Low Vision: Toggle "Magnification Gestures" With Widget

Hi I just got a Nexus 6p and its been great but I have low vision and if I keep the option turned on the phone, it becomes very laggy so I would like to only use it when I need to.
Help would be greatly appreciated!
Thank you .
This isn't exactly what you wanted, but it's kind of close...
I use ADW as my launcher, which allows me to set custom shortcuts on my home screen. Other launchers might offer the same functionality.
I long pressed on my home screen and selected the Add tab on the popup. I then tapped Custom Shortcut, and tapped "Pick your activity." Next, I tapped Activities, scrolled down to Settings and expanded the list. It's rather long, but in that list there is one called "Accessibility(.Settings$AccessibilitySettingsActivity)". I selected that one, gave it a name (what it displays under the icon), and pressed OK. This created a settings gear icon on my home screen that when tapped goes straight to the accessibility options in the settings menu, and then you can tap the toggle for Magnification.
Alternatively, you should be able to do the same thing with Tasker if you have it installed and it's a bit easier. Make a new Task, give it a title (anything) and press the plus to add a step. Select Settings, then Accessibility settings (first option). There is some "if" options, but you can just tap your back button to go back to the step list. Create a widget for Tasker (1x1 task) and select the name of the task you just created. You then need to select an icon for the "widget" by tapping the icon in the lower right that looks like 9 squares in a grid. There are a bunch of built in icons you can choose from, or use your own. The result will be an icon on your desktop that goes to the accessibility options screen, allowing you to quickly toggle the magnification gesture.
Again, sorry this isn't exactly what you asked for, but it would save some taps. Luckily the mag gesture toggle is high enough in the list of options that it should always be on the screen when you open the accessibility settings, so you won't need to scroll.
Lastly, if you are rooted, you could use Tasker to also hit the toggle for you. If you want instructions for that, please do let me know and I'd be happy to share how to do that. It would allow you to tap the "widget" and it would then launch the accessibility settings, wait a second and then tap the toggle, and go back to the home screen. That way you wouldn't need to toggle it yourself.
fury683 said:
This isn't exactly what you wanted, but it's kind of close...
I use ADW as my launcher, which allows me to set custom shortcuts on my home screen. Other launchers might offer the same functionality.
I long pressed on my home screen and selected the Add tab on the popup. I then tapped Custom Shortcut, and tapped "Pick your activity." Next, I tapped Activities, scrolled down to Settings and expanded the list. It's rather long, but in that list there is one called "Accessibility(.Settings$AccessibilitySettingsActivity)". I selected that one, gave it a name (what it displays under the icon), and pressed OK. This created a settings gear icon on my home screen that when tapped goes straight to the accessibility options in the settings menu, and then you can tap the toggle for Magnification.
Alternatively, you should be able to do the same thing with Tasker if you have it installed and it's a bit easier. Make a new Task, give it a title (anything) and press the plus to add a step. Select Settings, then Accessibility settings (first option). There is some "if" options, but you can just tap your back button to go back to the step list. Create a widget for Tasker (1x1 task) and select the name of the task you just created. You then need to select an icon for the "widget" by tapping the icon in the lower right that looks like 9 squares in a grid. There are a bunch of built in icons you can choose from, or use your own. The result will be an icon on your desktop that goes to the accessibility options screen, allowing you to quickly toggle the magnification gesture.
Again, sorry this isn't exactly what you asked for, but it would save some taps. Luckily the mag gesture toggle is high enough in the list of options that it should always be on the screen when you open the accessibility settings, so you won't need to scroll.
Lastly, if you are rooted, you could use Tasker to also hit the toggle for you. If you want instructions for that, please do let me know and I'd be happy to share how to do that. It would allow you to tap the "widget" and it would then launch the accessibility settings, wait a second and then tap the toggle, and go back to the home screen. That way you wouldn't need to toggle it yourself.
Click to expand...
Click to collapse
Thanks a lot!
So it sounds like theres no way to make a widget the will toggle it specifically, without rooting my device.
And if I do root it and use Tasker it will take almost the same time as if I didn't.
If thats no other way then I guess I should root it even though Id prefer not too.
Unless theres another way, Instructions would be great! Thanks again!
Are you familiar with Tasker? It's a paid app, but it's absolutely worth it and you'll find lots of uses for it. I use it to auto reply to text messages while I'm driving, mute my phone when I'm at work (calendar based) turn on wifi when I'm at home (location based), etc.
First thing you need to do is find the location of the toggle on the screen. Go to Developer Settings and turn on "Show Pointer Location". This will make a gray bar at the top of your screen that lists your X and Y coordinates at the top when you are touching the screen. Go to the accessibility settings and touch the toggle, taking note of what the X and Y coordinates are for that touch input.
To simulate touch input, can make a task that opens the accessibility settings as I described above, then add a "wait" command (Task > Wait), enter a value of 1 second. Next enter a command for Code and select Run Shell. Under the command, type "input tap x y" where x and y are the x and y coordinates that you found for the toggle. Make sure the "use root" box is checked. Lastly, add a Tasker command to go to the home screen (back to where you started with the "widget").
Back all the way out of Tasker to save that task, then go back in and press the play button at the bottom left side to test your setup. You should see it launch the accessibility settings, wait a second, toggle, and go home. The first time you run it you will need to grant Tasker root permissions, so be ready for that. If you're not quick to approve it, the task may proceed and go to your home screen before you press approve, so you might need to run it again a second time after you approve it.
If you need more help with, or have any questions, please do let me know. Happy to help.
fury683 said:
Are you familiar with Tasker? It's a paid app, but it's absolutely worth it and you'll find lots of uses for it. I use it to auto reply to text messages while I'm driving, mute my phone when I'm at work (calendar based) turn on wifi when I'm at home (location based), etc.
First thing you need to do is find the location of the toggle on the screen. Go to Developer Settings and turn on "Show Pointer Location". This will make a gray bar at the top of your screen that lists your X and Y coordinates at the top when you are touching the screen. Go to the accessibility settings and touch the toggle, taking note of what the X and Y coordinates are for that touch input.
To simulate touch input, can make a task that opens the accessibility settings as I described above, then add a "wait" command (Task > Wait), enter a value of 1 second. Next enter a command for Code and select Run Shell. Under the command, type "input tap x y" where x and y are the x and y coordinates that you found for the toggle. Make sure the "use root" box is checked. Lastly, add a Tasker command to go to the home screen (back to where you started with the "widget").
Back all the way out of Tasker to save that task, then go back in and press the play button at the bottom left side to test your setup. You should see it launch the accessibility settings, wait a second, toggle, and go home. The first time you run it you will need to grant Tasker root permissions, so be ready for that. If you're not quick to approve it, the task may proceed and go to your home screen before you press approve, so you might need to run it again a second time after you approve it.
If you need more help with, or have any questions, please do let me know. Happy to help.
Click to expand...
Click to collapse
I just realized I need to buy an adapter for that USB C lol.
Before I go ahead with all of this work, your completely sure there is no other way to toggle magnification without rooting?
Thanks!
drewtass said:
I just realized I need to buy an adapter for that USB C lol.
Before I go ahead with all of this work, your completely sure there is no other way to toggle magnification without rooting?
Thanks!
Click to expand...
Click to collapse
Sorry for the delay. I am not aware of any widgets. I couldn't find a widget on the Play Store or light Google searching.
Regarding the adapter, the 6p should have come with a short USB A to USB C cable specifically for connecting to a PC.
drewtass said:
Hi I just got a Nexus 6p and its been great but I have low vision and if I keep the option turned on the phone, it becomes very laggy so I would like to only use it when I need to.
Help would be greatly appreciated!
Thank you .
Click to expand...
Click to collapse
Have you used the built in magnification gesture? You turn it on in accessibility settings, then when you need something to be bigger, just tap the screen 3 times rapidly. You can use pinch to zoom to adjust the text size. When you're finished with it, tap the screen 3 times again. I use it when an app's text is just too small.
EMcTx said:
Have you used the built in magnification gesture? You turn it on in accessibility settings, then when you need something to be bigger, just tap the screen 3 times rapidly. You can use pinch to zoom to adjust the text size. When you're finished with it, tap the screen 3 times again. I use it when an app's text is just too small.
Click to expand...
Click to collapse
Haha Yes I have tried it you have to tap your finger 3 times to magnify which means every time you tap something once it waits to see if you will tap more times and cause slight lag.
Niceeee idea bro, i will try it
moqueet said:
Niceeee idea bro, i will try it
Click to expand...
Click to collapse
Are you saying you will try to make a widget like this?
fury683 said:
Sorry for the delay. I am not aware of any widgets. I couldn't find a widget on the Play Store or light Google searching.
Regarding the adapter, the 6p should have come with a short USB A to USB C cable specifically for connecting to a PC.
Click to expand...
Click to collapse
No problem!
Lol I was so excited for my new phone I never checked but I found it !
Thanks I will root it when I get the chance.
i have the same exact problem,i absolutely love the feature as i wouldn't be able to use any phone with out it but it also gets frustrating sometimes (the touch delay) for example in the dialer app or Instagram.
a toggle in the notification panel would be great or an app through which you specifically enable/disable the gestures for each individual app.
any other alternative would be appreciated, somebody posted the same issue here with a possible fix (which i am not exactly sure how to implement) https://code.google.com/p/android/issues/detail?id=39685
hassanabid94 said:
i have the same exact problem,i absolutely love the feature as i wouldn't be able to use any phone with out it but it also gets frustrating sometimes (the touch delay) for example in the dialer app or Instagram.
a toggle in the notification panel would be great or an app through which you specifically enable/disable the gestures for each individual app.
any other alternative would be appreciated, somebody posted the same issue here with a possible fix (which i am not exactly sure how to implement) https://code.google.com/p/android/issues/detail?id=39685
Click to expand...
Click to collapse
Nice to know I'm not the only one.
Sorry for the late reply been busy with school. It would be nice to have this option maybe like a button shortcut .
Hey guys so that way of using tasker is very slow and not feasible.
Is there any other way of making a quick toggle magnification gestures. It would be nice if I could hold the menu button to enable it. (IPhone tripple tap home button to toggle)
Thanks again.
I have low vision as well and have also found that leaving the magnification gesture turned on causes the phone to be laggy even when I don't actually have the magnification turned on. Instead of using that, I rooted my phone, changed the global DPI and I use App Settings (an Xposed module) to increase the font size in some apps or force the standard DPI in apps that have issues with the custom one.
There's a gestural workaround I've employed: if instead of just putting down my finger I drag my finger slightly (in any direction) then the lag almost disappears. Doing this helps a lot but obviously its a bit of an awkward gesture.
Al--g said:
There's a gestural workaround I've employed: if instead of just putting down my finger I drag my finger slightly (in any direction) then the lag almost disappears. Doing this helps a lot but obviously its a bit of an awkward gesture.
Click to expand...
Click to collapse
How did you set it up?
There's no set up. I just do that gesture to get the scrolling to stop when I have magnification enabled.
GuinnessX said:
How did you set it up?
Click to expand...
Click to collapse

How To: Use Tasker to assign flashlight toggle to Active Key on S7 Active

Quick how to for any other S7 Active owners who like me were disappointed that the Active Key could not be used as a dedicated flashlight button.
I used the Tasker app with the free App Factory plugin to create an app that toggles the flashlight state.
1. Open Tasker and create a new task (I called mine Flashlight Toggle)
2. Click the Add action button (the + at the bottom) and the Select Action Category window will pop up
3. Type Torch into the filter at the bottom of the Select Action Category window
4. In the Action Edit screen select Toggle from the dropdown in Set
5. Press back to return to the Task Edit screen
6. In the lower right press and hold the icon button and assign the task an icon
7. Press back to return to main Tasker screen - press and hold on the Flashlight Toggle task (or whatever you called it) task to highlight it
8. Select Export from the menu button in the upper right and export as an app.
8a. You may need to install the apk you just created manually depending on permssion settings with tasker (thanks for heads up 78c10)
9. Now open Settings and Navigate to the Active Key settings
10. You should have an app named Flashlight Toggle that you can now assign to the Active Key
Congratulations, you now have a dedicated flashlight button on your S7 Active.
I don't mean to sound critical, so please forgive me, but wouldn't it have been easier to download a flashlight app, and set it to the button?
I personally can't believe you didn't get more feedback on this. What a beautiful, elegant solution.
I was shocked to find that there was no option available to bind a long press of the action key to flashlight, how stupid. You fixed it, and you fixed it in a beautiful way! Thanks.
@Chr0nos77 I had done this previously, but was plagued with either apps that would then open and not turn off the torch by holding it, or having ads emblazoned across my device.
Smooth solution. The only thing that differed from the instructions is that after I exported the app, I had to install it before I could use it. So, I guess don't miss out on that step.
For some reason, I had to factory reset my phone to get the app factory to install. Oh well.
Only problem I'm having with this is that even though I have the app in my whitelist, if the phone is in deep doze the button does not reliably launch the flashlight. Have to press unlock button first then the active key. Still good but would be good if I could somehow force it to work with aggressive doze.
Is there a way to set the flashlight to full brightness? When you turn on the flashlight in the notification panel, it's only set to 30% of it's brightness, but when you open the Activity Zone, you can turn it all the way up to 100%, is there some way to make the 100% setting standard?
Hello. Tasker cannot support Torch in Android 5.0.1. Is there some other way to do it?
akran said:
Hello. Tasker cannot support Torch in Android 5.0.1. Is there some other way to do it?
Click to expand...
Click to collapse
I'm not sure in 5.0.1 - I used this with my S7A which was Android 6 out of the box.
gotta say.. works VERY well
Thank you for this, I've been looking for a way to be able to skip tracks with the active key and found a way to do it using the same logic you described here (made an app for next track and on for previous). If anyone is interested let me know and I'll put instructions for how I did it.
miniminus said:
gotta say.. works VERY well
Click to expand...
Click to collapse
kuaka said:
Quick how to for any other S7 Active owners who like me were disappointed that the Active Key could not be used as a dedicated flashlight button.
I used the Tasker app with the free App Factory plugin to create an app that toggles the flashlight state.
1. Open Tasker and create a new task (I called mine Flashlight Toggle)
2. Click the Add action button (the + at the bottom) and the Select Action Category window will pop up
3. Type Torch into the filter at the bottom of the Select Action Category window
4. In the Action Edit screen select Toggle from the dropdown in Set
5. Press back to return to the Task Edit screen
6. In the lower right press and hold the icon button and assign the task an icon
7. Press back to return to main Tasker screen - press and hold on the Flashlight Toggle task (or whatever you called it) task to highlight it
8. Select Export from the menu button in the upper right and export as an app.
8a. You may need to install the apk you just created manually depending on permssion settings with tasker (thanks for heads up 78c10)
9. Now open Settings and Navigate to the Active Key settings
10. You should have an app named Flashlight Toggle that you can now assign to the Active Key
Congratulations, you now have a dedicated flashlight button on your S7 Active.
Click to expand...
Click to collapse
bandario said:
I personally can't believe you didn't get more feedback on this. What a beautiful, elegant solution.
I was shocked to find that there was no option available to bind a long press of the action key to flashlight, how stupid. You fixed it, and you fixed it in a beautiful way! Thanks.
Click to expand...
Click to collapse
78c10 said:
@Chr0nos77 I had done this previously, but was plagued with either apps that would then open and not turn off the torch by holding it, or having ads emblazoned across my device.
Smooth solution. The only thing that differed from the instructions is that after I exported the app, I had to install it before I could use it. So, I guess don't miss out on that step.
For some reason, I had to factory reset my phone to get the app factory to install. Oh well.
Click to expand...
Click to collapse
can anyone give me the apk that the app creator made?
muneebrocks said:
can anyone give me the apk that the app creator made?
Click to expand...
Click to collapse
Yes!
Here is a link: https://drive.google.com/open?id=0Bw15QUNVlpHoMjdqdWVJbXh2YjA
All credits to Kuaka! Thanks for this nice tweak!
Arteush said:
Yes!
Here is a link: https://drive.google.com/open?id=0Bw15QUNVlpHoMjdqdWVJbXh2YjA
All credits to Kuaka! Thanks for this nice tweak!
Click to expand...
Click to collapse
thank you so much
i made a bixbybutton app using this method,
to enable our activity button, to be a bixby button
(i included it into the Ufrim modder
Is it possible to use this Tasker and create mobile data button/apk to toggle on/off data for Oreo?
dedicha said:
Is it possible to use this Tasker and create mobile data button/apk to toggle on/off data for Oreo?
Click to expand...
Click to collapse
https://www.xda-developers.com/how-...ttings-tile-toggle-on-samsung-galaxy-devices/
patzyalex said:
https://www.xda-developers.com/how-...ttings-tile-toggle-on-samsung-galaxy-devices/
Click to expand...
Click to collapse
Unfortunately, not working on my phone, maybe because of oreo update.
dedicha said:
Unfortunately, not working on my phone, maybe because of oreo update.
Click to expand...
Click to collapse
It does work on Oreo and not only for me, other users report it as well.
patzyalex said:
It does work on Oreo and not only for me, other users report it as well.
Click to expand...
Click to collapse
I have tried it, it just reordered the position of the icons, no mobile data toggle
Finally, success!
I read another command in the posts, that did the job!
Just put that command in the adb shell:
settings put secure sysui_qs_tiles "$(settings get secure sysui_qs_tiles),MobileData,Hotspot"
I have no idea why the first one did not do it and what exactly is the difference, but this command did it !
I DLed this
https://apkpure.com/flashlight-toggle-simple-and-minimalist/com.nomadicratio.flashlighttoggle
its quick... a bit of a screen white for a split second but then it turns on and off just fine

Navigation Buttons Mod?

Call me a bit old fashioned, but I have a specific set of "keybinds" that I always work to achieve one way or another on my android devices.
The "Menu" button of old is more important to me than a "Recents" button - really just hoping to achieve inverted behavior of the square button: short press for menu, long press for recents.
Long pressing the "Back" button should kill the foreground app.
Any other bind to quickly toggle the torch light.
Using the menus in OxygenOS, I can't seem to achieve this. Any suggestions or secrets I've yet to find out about?
In Oxygen os you can set LONG PRESS RECENT BUTTON to perform MENU Action. I use it all the time.
About long press back button to kill app, I think this feature was removed in PIE.
Me too was looking for it but didn't find a solution.
Anyway I quickly realized that I don't need it. Op6t can keep a lot of app in memory so there's no need to kill.
When i want to kill one or all i use Recents.
Not a big deal for me.
Yep that's how I'm using everything now. It gets the job done, though I find myself reverting to old habits absent-mindedly. I'm sure I'll be perfectly adapted in a matter of days.
bigcc32 said:
Call me a bit old fashioned, but I have a specific set of "keybinds" that I always work to achieve one way or another on my android devices.
The "Menu" button of old is more important to me than a "Recents" button - really just hoping to achieve inverted behavior of the square button: short press for menu, long press for recents.
Long pressing the "Back" button should kill the foreground app.
Any other bind to quickly toggle the torch light.
Using the menus in OxygenOS, I can't seem to achieve this. Any suggestions or secrets I've yet to find out about?
Click to expand...
Click to collapse
Try this app: https://play.google.com/store/apps/details?id=xyz.paphonb.systemuituner
dannejanne said:
Try this app: https://play.google.com/store/apps/details?id=xyz.paphonb.systemuituner
Click to expand...
Click to collapse
Permissions granted using root. It won't get past the compatibility check (The screen says "If you don't see anything your device is incompatible," and I certainly dont see anything). Thanks for the suggestion, though.
bigcc32 said:
Permissions granted using root. It won't get past the compatibility check (The screen says "If you don't see anything your device is incompatible," and I certainly dont see anything). Thanks for the suggestion, though.
Click to expand...
Click to collapse
It can be granted access with ADB (PC). It should work I've had it work even on LG phones and such.
dannejanne said:
It can be granted access with ADB (PC). It should work I've had it work even on LG phones and such.
Click to expand...
Click to collapse
I don't think the permissions are the problem. The app doesn't complain about that, it just doesn't do anything to the nav bar during setup, and according to the app that's indicative of incompatibility.

Categories

Resources