i have a few questions about mobileControlCreate and mobileControlSet on Android Emulator
and not yet tested on real device
This piece is just to set some things
Code: Select all
mobileControlCreate "player", "mobmusicplayer"
put the result into gMobMusicPlayer
mobileControlSet gMobMusicPlayer, "showController", true
mobileControlSet gMobMusicPlayer, "visible", true
The next line seems to have no influence at all
Code: Select all
mobileControlSet gMobMusicPlayer, "rect","0,169,300,33"
Code: Select all
mobileControlSet gMobMusicPlayer, "backgroundColor", "Red"
Code: Select all
mobileControlSet gMobMusicPlayer, "textColor", "White"
Sort of streaming seems to work:
This is working ok on the emulator: (luckely i do not have to copy all mp3's into the stack)
Code: Select all
mobileControlSet gMobMusicPlayer, "filename", "https://site.nl/album/yoohoow.mp3"
mobileControlDo gMobMusicPlayer, "play"
But it seems not to work with this:
Code: Select all
put "https://site.nl/album/yoohoow.mp3" into tThisTrack
mobileControlSet gMobMusicPlayer, "filename", tThisTrack
mobileControlDo gMobMusicPlayer, "play"
Code: Select all
put quote & "https://site.nl/album/yoohoow.mp3" & quote into tThisTrack
mobileControlSet gMobMusicPlayer, "filename", tThisTrack
mobileControlDo gMobMusicPlayer, "play"
I would like it to be a variable to be more flexible.
is it a bug?
Thanks for any help on this.
Sphere