[R&D] How to programmatically change a ringtone for a second SIM card

Gaket

New member
Apr 11, 2013
3
0
0
Hi!
I want to create a program that will be able to set ringtones for incoming calls for both of the sim cards (starting for J7 and then I want to update it for other phones too). There is a standard mechanism to do it for the first SIM (or active one, I didn't get it) but I can't find a way to change it for the second SIM. Do you know how it is possible to do it in the standard Samsung ROMs? Maybe there is at least some kind of Intent that I can call to open the screen where a user can select his ringtone?

P.s. It is my first post here, so if I published it to the wrong thread, please, help me to find the better one.