mobileControlSet not working with variable ?
Posted: Tue Dec 13, 2016 10:16 pm
Hello,
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
The next line seems to have no influence at all
The next line seems to have no influence at all
The next line seems to have no influence at all
I tried to use libURLDownloadToFile to download a mp3 file to the stack, but this seems to do nothing at all.
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)
and the mp3 starts playing nicely
But it seems not to work with this:
Also not with this:
why is this not working with a variable?
I would like it to be a variable to be more flexible.
is it a bug?
Thanks for any help on this.
Sphere
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