Get resource id from content://settings/system/ringtone?
问题 When I pick the default ringtone, I get a Uri with path content://settings/system/ringtone . So there is no path ending with integer, as in returning a usual rintone (for example, content://media/internal/audio/media/38 ). How can I now get a resource id from this default ringtone? Any parsing is impossible since there is no any integer identification. 回答1: If your check the setting db, you will find the content save to setting db is media uri. That means below uri actually is a map to media