Animated GIFs and video capture can be implemented using either a Form Item or
a Canvas. The Video demonstration includes all the possibilities:
Animated GIF - Form [jar] shows an animated GIF as a Form Item. The
form also includes some information about the playback, including the current
time. Choose the Snapshot command to take a snapshot of the running
animation. The snapshot will be placed in the form following the animated GIF.
Animated GIF - Canvas [jar] shows an animated GIF in a Canvas. A
simple indicator shows the progress through the animation. Choose Snapshot to
get a still image of the current appearance. The snapshot is shown briefly, then
the display goes back to the animation.
Video Capture - Form simulates capturing video from a camera or other
source and showing it as an Item in a Form. Choose the Snapshot command to
take a snapshot of the captured video. The snapshot will be placed in the form
following the video capture.
Video Capture - Canvas simulates capturing video from a camera or other
source and showing it in a Canvas. Choose Snapshot to get a still image of the
current appearance. The snapshot is shown briefly, then the display goes back to
the video capture.
A.6.5
Attributes for mmademo
The mmademo applications have the following attributes that you can modify in
the User Defined tab of the project settings dialog box:
TABLE 11
Attribute
PlayerTitle-<
PlayerURL-<
VideoTest-<
VideoTest-
n
URL<
A.7
ObexDemo
This application shows how to transfer image files between emulator instances
using the OBEX API. This demonstration shows the use of OBEX over a simulated
infrared connection.
Descriptions of MMAPI-specific MIDlet attributes
Description
n
Name of the
>
Player MIDlet.
n
Location of the
>
back by the Simple Player MIDlet.
n
The name of the
>
application.
Location of the
back by the Video application.
>
n
th media title to be played back by the Simple
n
th media title, PlayerTitle-<
n
th media title to be played back by the Video
n
th media title, VideoTest-<
Appendix A
n
>, to be played
n
>, to be played
Application Demonstrations
91
Need help?
Do you have a question about the J2ME and is the answer not in the manual?
Questions and answers