has anyone had any luck running animations on a card in the Android environment? If so what format (qt, avi, ....) and did you use the media player object?
if you have can you run me through how you set it up?
Thank you
Animations in Android
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Re: Animations in Android
I feel foolish. I just re-read the Android Deployment release notes and I found that videoclips/players are not yet supported. Ouch, this is a big one for me. I hope it comes out on the next release
Re: Animations in Android
Hi cbarnhart,
this is supported in LiveCode 5.5!
From the Android relase notes:
...................................................
Video playback support
Basic support for playing videos has been added using a variant of the play command. A video file can be played by using:
play ( video-file | video-url )
The video will be played fullscreen, and the command will not return until it is complete, or the user dismisses it.
If a path is specified it will be interpreted as a local file. If a url is specified, then it must be either an 'http', or 'https' url.
In this case, the content will be streamed.
The playback uses Android's built-in video playback support and as such can use any video files supported by the device.
Appearance of the controller is tied to the showController of the templatePlayer. Changing this property to true or false,
will cause the controller to either be shown, or hidden.
When a movie is played without controller, any touch on the screen will result in a movieTouched message being sent to
the object's whose script started the video. The principal purpose of this message is allow the play stop command to be used
to stop the movie. e.g.
on movieTouched
play stop
end movieTouched
Note: The movieTouched message is not sent if the video is played with showController set to true.
Playing a video can be made to loop by setting the looping of the templatePlayer to true before executing the play video command.
.....................................................
Time to upgrade?
Best
Klaus
this is supported in LiveCode 5.5!
From the Android relase notes:
...................................................
Video playback support
Basic support for playing videos has been added using a variant of the play command. A video file can be played by using:
play ( video-file | video-url )
The video will be played fullscreen, and the command will not return until it is complete, or the user dismisses it.
If a path is specified it will be interpreted as a local file. If a url is specified, then it must be either an 'http', or 'https' url.
In this case, the content will be streamed.
The playback uses Android's built-in video playback support and as such can use any video files supported by the device.
Appearance of the controller is tied to the showController of the templatePlayer. Changing this property to true or false,
will cause the controller to either be shown, or hidden.
When a movie is played without controller, any touch on the screen will result in a movieTouched message being sent to
the object's whose script started the video. The principal purpose of this message is allow the play stop command to be used
to stop the movie. e.g.
on movieTouched
play stop
end movieTouched
Note: The movieTouched message is not sent if the video is played with showController set to true.
Playing a video can be made to loop by setting the looping of the templatePlayer to true before executing the play video command.
.....................................................
Time to upgrade?

Best
Klaus
-
- Posts: 16
- Joined: Fri Jun 29, 2012 8:05 am
Re: Animations in Android
Live code 5.5
It should provide the support......
It should provide the support......