since there is two volume setting in phone, one for media and one for ringtones. is it possible to set the media player to play in the volume level for ringtone?
dim mp as mediaplayer
mp.initialize2("mp")
mp.load(file.dirinternal,"testing.mp3")
dim jo as javaobject =mp
dim p as phone
jo.getfieldjo("mp").runmethod("setAudioStreamType"), array(p.volume_notification))
mp.looping =true
mp.play
And then the play will be silent ( no sound). But I have already set the ringtone volume to the loudest for testing. May I ask why?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.