|
Question Why can't I open a socket connection using the MMEmulator in the MMAPI RI? Answer: In the MIDP 1.0 spec the only mandatory connection protocol is HTTP. Version 1.0.x of the J2ME Wireless Toolkit is based on the MIDP 1.0 reference implementation, so it supports that protocol. It also implements additional optional protocols (including socket), however, mostly for demonstration purposes, and you can enable them by setting an "enable extra protocols" property. (The toolkit sets this property to
How do you set that property? Find the lib subdirectory of the MMEmulator device (in Micorosoft Windows the default installation directory is Note that in MIDP 2.0 all of the common connection protocols have become part of the spec, so of course version 2.0 of the J2ME Wireless Toolkit supports them, and there is no need to set any property. Resources
Mobile Media API (MMAPI): Acknowledgments Thanks to Ariel Levin for answering this question on the KVM-INTEREST list
| ||||||||||||||||||||||||||||
|
| ||||||||||||