So my question is fairly simple, but I cannot find a solution of the entire idea. Running Android App in background should be achievable with Background Service . However, I am not sure how to make "wake up" the service by a specific button press combination.
DUMMY EXAMPLE:
// My app is installed and launched on the device and is running in background since it got installed
void onCorrectButtonCombinationPressed(){
startActivity(someIntent);
}
How to achieve the above scenario ?
Thanks for suggestions and I apologize if there is something silly that I missed out, because to me it sounds easy to do, but I am struggling to figure it out..