Hands-free auto answer for the Pixel XL using Tasker - Google Pixel XL Guides, News, & Discussion

I have been looking for an auto-answer solution for the Pixel XL and have not been able to find anything that worked. I was playing around with Tasker and found a simple method that works. This will probably work on other devices, but I have not tested beyond the Pixel XL.
Prerequisites:
Phone must be rooted. Directions can be found here.
Tasker app installed. You can download it from the Play store here.
Once you are rooted and have Tasker installed, you need to create a profile. From the profiles tab in Tasker, press the "+" button, then >State >Phone >Call. make sure the Type is "Incoming" and leave everything else alone.
Hit the back arrow in Tasker. Tasker will prompt you for a new task. Press the "+" button next to "New Task." Leave the optional line blank and press the check mark.
From the Task Edit page, press the "+" button. Select Input >Button. In the Action Edit page, change the drop down under Button to "Call."
Press the Tasker back arrow twice to bring you to the Profiles tab. Enable the profile with the toggle next to "Call Incoming."
Press the check mark at the top of Tasker to apply the changes.
Make sure to enable tasker by pressing the 3-dot menu option and select "Enable Tasker."
If everything is working properly, the phone will answer any incoming phone calls.

Related

[Q] {Need some help} Unlocking All Apps in Market

So I successfully rooted my Nook Color now, and installed the Market. However, very few apps appear in it, and I was wondering if there was a way to unlock the entire Android Market.
I'm running 1.2.
Thank you.
Have you done the old standby to stop/restart Framework/Google, etc. and reload?
In case you don't know what I mean:
Start Nook Color Tools.
Select the “All Settings” button.
Unplug your NOOKcolor from computer. (If Plugged in.)
Choose “Manage Applications” from the list.
Select the “All” tab.
Scroll down to “Market” and select it.
Tap “Force stop”.
Tap “Clear cache”.
Tap the Back button if you have SoftKeys running, else swipe right to left on the status bar at the bottom of the screen (from the clock to the book icon).
Scroll up to “Google Services Framework” and select it.
Tap “Clear data”.
Tap “OK”.
Tap “Force stop”.
Press the n button to return to your launcher.
Start Market.
At the “An error has occurred” message, tap “OK”.
Hold your power button to turn off your NOOK Color from the menu.
Turn your NOOK Color back on and give it a moment to find your WiFi connection.
Start Market again, and the problem is resolved.
I tried that but it didnt work. Can anyone help?
What do you mean by "unlock"?
You said "very few apps in it", what exactly do you mean?
Only few apps displayed on the NC?
Did you log in (set up) your google account?
Did you search apps by tap on the little magnifier in the upper right corner?
did you try turning the nook sideways?
It's kinda sad the OP hasn't replied in 5 days.
Yea, if you follow the instructions skeeterpro said EXACTLY, it should work perfect. I had some random issues so I had to return to stock a few times and re-root and go thru the process, and every time it fixed it. So many the OP needs to make sure he did EVERY single step, exactly, without deviation.
Accidentally cleared data instead of cache, sorry guys, thanks.

Enable silent mode when using camera with Tasker

There seems to have been many threads discussing how to disable the shutter sound on the camera. For those who don't want to root or just want a very easy way to automate this, they should dive into the warm and welcoming waters of Tasker, which is a great app for those too lazy to hack for themselves.
I found the instructions below here:
Open Tasker
Make sure the Profiles tab is selected.
Click on the green plus sign to create a new task.
Give it a name such as "Camera Silence."
Press the green check mark.
Select "Application" when the first ontext windows pops up.
Highlight the "Camera" app.
Press the green check mark.
Select "New Task" (name here is optional)
Press the green check mark.
Press the blue plus sign.
Select "Audio."
Select "Silent Mode"
Under mode select the drop down box and select "on"
Press the green check mark.
Press the green check mark.
Press the green check mark.
All done!
Well done to Paladin.
And how do you do it if you have root

How To: Remap Home and Back Keys to Open Applications

Hey, if youre running a custom ROM, and want to use the on-screen buttons, having your capacitive buttons still functioning the same can be pretty redundant, so I came up with a way to remap them to open any app that you choose. All that is required is Tasker and root access.
First off, what you need: Tasker, Root, and a text-editing program
Get your keylayout file. There are multiple ways to do this, but since all phones use different names for them, its best to just open up an app like Root Explorer and move to the file itself, and then copy and paste it. The files name is synaptics-rmi-touchscreen.kl, so if youd prefer to adb pull it, its located inside the /system/usr/keylayout folder.
Edit your button IDs. After getting your .kl file, open it with a regular text editor, and find the keys that you want to change. For mine, I used the home and back keys. Locate where they are; it wont be hard as the keys have their actions next to them, and change one key to CAMERA, and the other the SEARCH.
Map button actions in Tasker. Finally, open Tasker (turn off Beginners view in settings), and hit New > Event > Hardware > and then your button of choice. You can either select the Camera button first, or the Search button. Inside the Event screen, set the priority to Highest, and if youre editing the Camera button, check the Stop Event button. Create a new task in the profile for your button, and create a new action. After, click App > Load app, and then select which application you would like to launch on that button. Do the same thing for the Search button, but you have to long press the search button to access it, as regularly clicking it will open Google Now.
Hope this helps anyone with hardware keys that wanted to switch over to the nav buttons.

How to (sort of) get OK Google back on any screen

For some reason OK Google Everywhere stopped functioning on my Tmobile Gs5. Even rolling back to older versions of Google's apps didn't help. I did find a kind of work around though by installing Xposed Additions and setting up a long press on the home key to bring up Google Search. Once that screen comes up you can use the "OK Google" phrase and do your search. NOTE: you must be rooted for this and have Xposed Installer installed, of course.
Xposed Additions is a bit complex, so here's how I set mine up:
download Xposed Additions, install and enable it.
Open Xposed Additions.
Select Buttons.
Select Add New Key.
Press the key you want to program (in this case, the home key).
click OK.
Under "keys" you will see "home" added.
Select Home.
Select Add New Condition.
Select Screen On.
Under conditions, you will now see Screen On, with the note under it "no active actions".
Select Screen On.
On the screen that pops up, select Single Action, Long Press.
I don't know why "disabled" comes on, just ignore it.
Now do a long press on "long press".
The "Add new Action" screen will come up.
Scroll to the bottom of the screen and select "Load application list"
Now scroll to "google search" and select it.
You will now be returned to the "Screen On" screen and see that the action for Google Search has been added for screen On Single Action Click.
Press your return key to go to the previous screen. You now see that "screen on" has "1 active action".
Press the return key again. You will return to the Buttons screen and see that Home has 1 condition.
Press return again to return to the Xposed Additions main screen.
You're done.

Bixtooth

NOTE: This is only original work in the sense that I put several different methods together to achieve what I personally wanted. I use a dark theme in my S8 so seeing the Bluetooth icon in the quick settings can be hard in the sunlight when I get in the car so I put this together to help me and I decided to share this with the community. Nearly all of the credit goes to others for making this possible.
PREREQUISITES
TASKER
APP FACTORY (TASKER PLUGIN) https://play.google.com/store/apps/details?id=net.dinglisch.android.appfactory
YOUR PREFERRED BIXBY REMAPPING APP
First things first we need to set up a profile to intercept when the Bixby button is pressed. The following is what I use:
Profile: Bixtooth (32)
Event: Variable Set [ Variable:%WIN Value:Bixby* User Variables Onlyff ]
Enter: Bixtooth (31)
A1: Bluetooth [ Set:Toggle ]
I will link to the profile for you to download for simplicity at the end if the guide.
Now we have to give the task an icon. Open the tasks tab, then open the Bixtooth task. In the bottom right corner three is a grid icon. Tap that and select whatever icon/image you want to give it. I personally selected the bixby icon that I got from Google image search.
Next, we have to export the task as an app using the app factory plugin. This is very simple. Just go to the tasks tab, highlight the Bixtooth task and tap the 3 dot menu and select export, then export it as an app.
Give it a name so Android can recognize it such as "com.bluetooth.bixby" then tap Back then once it's compiled, (about 5 seconds) tap the little Android icon to install it as a dedicated app.
The final step is to use your preferred bixby remapping app that will remap it to an app, then simply select remap to the new Bixtooth app we just installed and you're done!
Now whenever you tap the bixby button, it will toggle Bluetooth instead.
This is just a simple way of making life a little safer while driving. Hope it helps!

Categories

Resources