screenshot of player on Android

Klaus major-k klaus at major-k.de
Wed Oct 23 16:36:41 EDT 2013


Hi Mark,

Am 23.10.2013 um 22:31 schrieb Mark Schonewille <m.schonewille at economy-x-talk.com>:

> Hi Klaus,
> 
> Thanks for the file. Unfortunately, iPhoneControlCreate doesn't work on Android :-)

Ha, that was just a test for your attention! :-)

Try this 8-)
> on createplayer
>    if the environment is "mobile" then
>       mobileControlCreate "player"
>       put the result into sPlayerID
> 
>       ## replace with a sound of your choice :-)
>      mobileControlSet sPlayerID, "fileName", (specialfolderpath("engine") & "/mp3test.mp3")
>      mobileControlSet sPlayerID, "showController", true
>      mobileControlSet sPlayerID, "rect", the rect of btn "template"
>      mobileControlSet sPlayerID, "visible", TRUE
>    end if
> end createplayer


> 
> --
> Best regards,
> 
> Mark Schonewille

Best

Klaus

--
Klaus Major
http://www.major-k.de
klaus at major-k.de





More information about the Use-livecode mailing list