Android Question Mediaplayer Exception


Active Member
Licensed User
Longtime User
I've this error on some phone ...

at anywheresoftware.b4a.objects.Timer.setEnabled (
at in.domain.appname.home._mp_streamready (
at java.lang.reflect.Method.invoke (Native Method)
at anywheresoftware.b4a.BA.raiseEvent2 (
at anywheresoftware.b4a.BA.raiseEvent (
at$3.onPrepared (
at$EventHandler.handleMessage (
at android.os.Handler.dispatchMessage (
at android.os.Looper.loop (
at (
at java.lang.reflect.Method.invoke (Native Method)
at$ (
at (

What's the problem?

The code workflow is very simple ....

Activity_Create .... initialize mp, set 2000ms for timer and then load url
In StremReady ... enable timer
In timer_tick .... Play mp

I've used a timer to start 2 second late playing stream (url is a radio station) after stremReady