Re: some mobilecontrolprops do not work on Android?
Hi Jacque, > Am 26.10.2023 um 21:14 schrieb J. Landman Gay via use-livecode > : > > The backgroundColor and alpha settings might be a dictionary error. OK, will report that. > The opaque setting says it is available only for iOS. Yes, my fault. > I think the appearance of mobile players is set directly by the OS now, so > the color and transparency may not be available on Android. That's what i guessed. Thanks! > On 10/26/23 9:56 AM, Klaus major-k via use-livecode wrote: >> Hi friends, >> I (now successfully :) create a player for MP3 playback, >> however some properties do not seem to work on Android, >> although the Dictionary states otherwise!? >> -- >> mobilecontrolCreate "player", "mplayer" >> mobileControlSet "mplayer", "visible", TRUE >> mobileControlSet "mplayer", "rect", (the rect of grc "player") >> ## Does nothing: >> mobileControlSet "mplayer", "backgroundcolor", "213,143,116" >> mobileControlSet "mplayer", "showController", TRUE >> mobileControlSet "mplayer", "filename", tURL >> ## Whatever I set here, on Android I always get a black rect with >> ## the player controls inside of it. >> mobileControlSet "mplayer", "opaque", FALSE >> ## Whatever value I enter here, nothing will change the apprearance >> mobileControlSet "mplayer", "alpha", 127 >> -- >> Before I report this, is this a dictionary bug or what? >> Or is it just me again? :-D Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass kl...@major-k.de ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: some mobilecontrolprops do not work on Android?
The backgroundColor and alpha settings might be a dictionary error. The opaque setting says it is available only for iOS. I think the appearance of mobile players is set directly by the OS now, so the color and transparency may not be available on Android. On 10/26/23 9:56 AM, Klaus major-k via use-livecode wrote: Hi friends, I (now successfully :) create a player for MP3 playback, however some properties do not seem to work on Android, although the Dictionary states otherwise!? -- mobilecontrolCreate "player", "mplayer" mobileControlSet "mplayer", "visible", TRUE mobileControlSet "mplayer", "rect", (the rect of grc "player") ## Does nothing: mobileControlSet "mplayer", "backgroundcolor", "213,143,116" mobileControlSet "mplayer", "showController", TRUE mobileControlSet "mplayer", "filename", tURL ## Whatever I set here, on Android I always get a black rect with ## the player controls inside of it. mobileControlSet "mplayer", "opaque", FALSE ## Whatever value I enter here, nothing will change the apprearance mobileControlSet "mplayer", "alpha", 127 -- Before I report this, is this a dictionary bug or what? Or is it just me again? :-D Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass kl...@major-k.de-- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
some mobilecontrolprops do not work on Android?
Hi friends, I (now successfully :) create a player for MP3 playback, however some properties do not seem to work on Android, although the Dictionary states otherwise!? -- mobilecontrolCreate "player", "mplayer" mobileControlSet "mplayer", "visible", TRUE mobileControlSet "mplayer", "rect", (the rect of grc "player") ## Does nothing: mobileControlSet "mplayer", "backgroundcolor", "213,143,116" mobileControlSet "mplayer", "showController", TRUE mobileControlSet "mplayer", "filename", tURL ## Whatever I set here, on Android I always get a black rect with ## the player controls inside of it. mobileControlSet "mplayer", "opaque", FALSE ## Whatever value I enter here, nothing will change the apprearance mobileControlSet "mplayer", "alpha", 127 -- Before I report this, is this a dictionary bug or what? Or is it just me again? :-D Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass kl...@major-k.de ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode