Java Reference
In-Depth Information
•
fileconn.dir.photos
points to the directory where photos cap-
tured with an integrated camera or other images are stored (it returns
file:///C:/Data/Images/
).
You can also check versions of supported JSRs. For example,
micro-
edition.media.version
and
microedition.pim.version
indi-
cate if the optional packages are supported. If they are, a version string is
returned (e.g.
"1.1"
), as shown in Figure 4.2.
Figure 4.2
Support for optional packages
You can query about JSR capabilities (Figure 4.3). For example,
sup-
ports.mixing
returns true or false depending on whether MMAPI
audio mixing is supported.
Figure 4.3
Support for JSR capabilities