Hi, can someone give me info and sample on how stop a ringtone?
Code:
Dim jo As JavaObject
jo.InitializeStatic("android.media.RingtoneManager")
Dim jo2 As JavaObject
jo2.InitializeContext
Dim u As Uri
u.Parse(rm.GetDefault(rm.TYPE_RINGTONE))
ringtone =jo.RunMethodJO("getRingtone", Array(jo2, u))
'jo.RunMethod("stopPreviousRingtone", Null)
ringtone.RunMethod("stop", Null)
Help please.
Thank you.
from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/1TQpdK0
via IFTTT
Aucun commentaire:
Enregistrer un commentaire