I am trying to add a ringtone to the media store, when i add it to a stock android device it works fine, when I add it to my Desire HD, it doesn't show on the list of ringtones.
Any thoughts on this would be much appreciated, code below:
B4X:
u = r.AddToMediaStore(File.DirAssets, "Windows XP Startup.mp3", "Windows XP", True, True, True, True)
r.SetDefault(r.TYPE_RINGTONE, u)
I have managed to get it to add the ringtone to the list now, but it does not show up on the HTC menu.
When I call the ringtone picker it shows on the list, but when I select it, it plays the "Quietly Brilliant" ringtone, which is at the top of the list.
I am getting a "File not found error". I am using the following code to add from the assets of the app to the media store:
B4X:
u = rm.AddToMediaStore(File.DirAssets, "xp.mp3", "WindowsXPFixed2",False,False,True,False)