Could someone give me an example how to check if a ringtone is still playing (using the ringtonemanager)?
There is a thread about it but not an example with JO:
will throw a "java.lang.RuntimeException: Method: isPlaying not found in: android.media.RingtoneManager" exception
B4X:
rm.Play(rm.GetDefault(rm.TYPE_ALARM))
There is a thread about it but not an example with JO:
B4X:
Dim jo As JavaObject
jo.InitializeStatic("android.media.RingtoneManager")
Log(jo.RunMethod("isPlaying",Null))
will throw a "java.lang.RuntimeException: Method: isPlaying not found in: android.media.RingtoneManager" exception