I have an Android app that responds to incoming calls. Now, since the OS disables my application whenever it wants, I need a way to listen to incoming calls and start the application when that happens.
Did BroadcastReceiver help? (same as starting at device reboot)
Any idea?
thank!
I think you answered your question. This is exactly what the broadcast receiver is for. If the recipient is registered in your manifest, then the application should not start.
, . , , / .
, BroadcastReceiver onReceive 5 , , - " ". , .
, BroadcastReceiver , , .
Source: https://habr.com/ru/post/1776191/More articles:Sort all words in a file by length in one reading. (Java) - javaMySQL INSERT gradually slows down on Ubuntu, but not on Windows - mysqlArrange between tabs in Extjs - extjsNetwork speed monitoring in Java on Windows - javaThe constructor of the attribute decorating the main method is not called in release builds - c #Xcode Intel icc compiler cannot find #include - intelSending a LINQ Query query to Entity Framework as a string - c #Line break buttons do not display properly on Mac OS X - pythonBring the first word to the end - arraysReplace return using tab for standard input - c ++All Articles