allora, ho aggiunto initialize sul btnSuona e adesso l'errore non me lo da, ma non sento nulla, vedo che i monitor di download ed upload della connessione lavorano e appena finiscono non suona nulla.
come faccio a far suonare un file mp3 da internet?
Code:
Sub Globals
'These global variables will be redeclared each time the activity is created.
'These variables can only be accessed from this module.
Dim btnSuona As Button
Dim mp3 As MediaPlayerStream
End Sub
Sub Activity_Create(FirstTime As Boolean)
Activity.LoadLayout("web")
End Sub
Sub Activity_Resume
End Sub
Sub Activity_Pause (UserClosed As Boolean)
End Sub
Sub btnSuona_Click
mp3.Initialize(mp3)
mp3.Load("http://www.siciliabit.com/download/vienidame.mp3")
mp3.Play
End Sub