Music streamed as flash via WebView does not work.

pmj

Member
Licensed User
Longtime User
Hello friends,
I've just updated my Samsung Galaxy Note to Android version 4.0.3.
But now I can no longer play music streamed as flash via WebView.
No sound comes through. When I use the built-in Web browser, there are no problems. I have also updated to the latest SDK without effect.
During the Android version 2.3.6 there were no problems whatsoever.
Is there anyone with a solution?

B4X:
'Activity module
Sub Process_Globals
Dim URL As String
URL = ("http://retro.customer.xmc.se/flashplayer.asp")
End Sub

Sub Globals
Dim WebView1 As WebView
End Sub

Sub Activity_Create(FirstTime As Boolean)
WebView1.Initialize("Webview1") 
WebView1.LoadUrl(URL) 
Activity.AddView(WebView1,0%x,0%y,100%x,100%y) 

End Sub

Sub Activity_Resume

End Sub

Sub Activity_Pause (UserClosed As Boolean)

End Sub

Greetings from Per :BangHead:
 

pmj

Member
Licensed User
Longtime User
I found the solution itself !

In the Manifest Editor add:

"SetActivityAttribute(main, android:hardwareAccelerated, "true")"

Now it play's :)
 
Top