Android Question Phone State (IDLE/OFFHOOK) when launch app

scsjc

Well-Known Member
Licensed User
Longtime User
I currently use PhoneEvents to know when a "RINGING", "OFFHOOK", "IDLE" is done, but it only works since the application is started.

I need to know if the phone is "RINGING", "OFFHOOK", "IDLE" when the application is launched from the "actvitiy_create" / "starter_create"
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…