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?