Does a MIDlet have access to native features of the device on which it is executing?
Location: http://www.jguru.com/faq/view.jsp?EID=328664 Created: Feb 14, 2001 Modified: 2001-02-14 02:03:15.088 Author: Bill Day (http://www.jguru.com/guru/viewbio.jsp?EID=135825) Question originally posed by Rajeev Bacchu (http://www.jguru.com/guru/viewbio.jsp?EID=259941 The J2ME Mobile Information Device Profile (MIDP) does allow for OEM- or device-specific features to be exposed using a Java interface. If the manufacturer of a given device chooses to present a Java-compliant OEM/device-specific API, then your MIDlet could use native services on the device. Please note, however that using this API will by definition render your MIDlet nonportable. Stick to the standard MIDP (and CLDC) APIs to guarantee portability of your MIDlets. More information on MIDlets and native services is available in the related FAQ entry on accessing native methods from J2ME applications.