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
Exit out of the task.
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