I am creating a system application which can modify the phone state variable to ringing or idle.
The permission MODIFY_PHONE_STATE is available only to system applications. After creating a system application, how can I access that variable?
Are there any setter and getter methods for this variable?
MODIFY_PHONE_STATEis used to guard apps against using the API, which is not what you’re looking for. Also, what do you mean by “ringing”? As in you want the phone’s ringtone to ring?