Hi Again,
I'm having an issue with getting the webview here to load the given URL's. I have checked my connectivity and it worked perfectly on my device. However, when I try to load the page on my phone via the app it does not work.
I have a suspicion that it may have something to do with the fact that you cannot view mp3 player pages on android devices (or mine at least)
Something may be astray with the code, thus I have posted it here if you think it may be the source of my problems.
Thanks,
Neil
I'm having an issue with getting the webview here to load the given URL's. I have checked my connectivity and it worked perfectly on my device. However, when I try to load the page on my phone via the app it does not work.
I have a suspicion that it may have something to do with the fact that you cannot view mp3 player pages on android devices (or mine at least)
Something may be astray with the code, thus I have posted it here if you think it may be the source of my problems.
Thanks,
Neil
B4X:
Sub Globals
'These global variables will be redeclared each time the activity is created.
'These variables can only be accessed from this module.
Dim ScrollView1 As ScrollView
Dim button1, button2, button3, button4, button6 As Button
Dim WebView1 As WebView
Dim Back As Button
End Sub
Sub Activity_Create(FirstTime As Boolean)
activity.LoadLayout ("SoundClips.bal")
ScrollView1.Panel.LoadLayout("SoundClipsPanel.bal")
WebView1.LoadUrl("www.robertronnes.com/mybassoonrepertoire/BachPartita1movtAllemande.mp3")
Button6.Text = Button1.Text
End Sub
Sub Back_click
StartActivity("main")
End Sub
Sub Button1_click
Button6.Text = Button1.Text
WebView1.LoadUrl ("www.robertronnes.com/mybassoonrepertoire/BachPartita1movtAllemande.mp3")
End Sub
Sub Button2_click
Button6.Text = Button2.Text
WebView1.LoadUrl ("www.robertronnes.com/GiorgioPacchioniItalianComposer/Pacchioniconcertoperfagotto.1movt.mp3")
End Sub
Sub Button3_click
Button6.Text = Button3.Text
WebView1.LoadUrl ("music.ibiblio.org/pub/multimedia/pandora/mp3/bassoon/Arthur_Grossman_Live/Saint-Saens.mp3")
End Sub
Sub Button4_click
Button6.Text = Button4.Text
WebView1.LoadUrl ("llnw.libsyn.com/p/3/3/5/3350e82742daf08b/vivaldi_bassonconcertoaminor.mp3?s=1339059621&e=1339060498&c_id=1789250&h=6b4d7cabf4ec429149cdafbbb7c3611e")
End Sub