Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Does a MIDlet have access to native features of the device on which it is executing?

0
Posted

Does a MIDlet have access to native features of the device on which it is executing?

0

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.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123