screenshot of player on Android

Klaus major-k klaus at major-k.de
Wed Oct 23 11:32:21 EDT 2013


Hi friends,

since LC on Android does not supply setting the currenttime etc.,
this is only available on iOS, I will probably use the built-in controller.

This is on iOS and my suffice for now:
http://www.major-k.de/temp/buildt_in_player_ios.jpg

Can anyone please supply a little screenshot of the Android equivalent 
of this (simple) player? 

Here the snytax:
on createplayer
   if the environment is "mobile" then
      iphoneControlCreate "player" 
      put the result into sPlayerID
    
      ## replace with a sound of your choice :-)
      iphoneControlSet sPlayerID, "fileName", (specialfolderpath("engine") & "/mp3test.mp3")
      iPhoneControlSet sPlayerID, "showController", true
      iPhoneControlSet sPlayerID, "rect", the rect of btn "template"
      iPhoneControlSet sPlayerID, "visible", TRUE
   end if
end createplayer

Thanks a lot!


Best

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





More information about the use-livecode mailing list