How to set ringtone in android programmatically? By admin | October 5, 2010 2 Comments This code will set your ringtone for ANDROID. To set a ringtone you have to add it to the database. otherwise it will not be set also gives no error also. Insert it into the database