Philipp Mangelow

Results 4 comments of Philipp Mangelow

Seems to be possible now? There seems to be a setter method for that: https://android.googlesource.com/platform/packages/apps/Phone/+/650fe766347b4a896085ce8924ace69c029e49d9/src/com/android/phone/sip/SipSharedPreferences.java

Just tried it with SDK 22, it worked for me: Settings.System.putInt(getApplicationContext().getContentResolver(), "sip_receive_calls", 1);

Ah, OK. I didnt test, if it really works :), just, as you said, that the settings checkbox changed the state.

Ok, tested. :-P I could see the changed settings immediately with: Settings.System.getInt(getApplicationContext().getContentResolver(), "sip_receive_calls"); But I had to send the notify broadcast com.android.phone.SIP_CALL_OPTION_CHANGED, like you do, otherwise it wont worked for...