I'm running Android device on version 5.1 and my device doesn't have any buttons except power and volume.
I want my volume up key to answer incoming calls. Is there any exposed or any other method to help facilitate the ask?
Alternatively with Tasker;
Now for the Task:
Task 1 Answering the call
Create a named task :
Action: Phone >> Take Call
(click images for larger variants)
Exit out of the task.
Task 2
Ending the phone call
Create another named task:
Acion: Action: Phone >> End Call
Create a new Profile
State >> Hardware >> Button [Next] (which is similar to volume up) Check Stop Event.
For the second profile the proccedure is the same but this time a media button used is "previous" instead of "next".
Activate all profiles
Thats all.
automation is one option. Many apps are available. I prefer using MacroDroid , since it is free (upto 5 macros) and easy to learn.
Using Power key- you can set how many times you want to toggle to answer, here it is 3 times
Using Vol
You can use either methods that suit you