Can I use MIDP UI APIs and BlackBerry UI APIs together?
Article Information:
Mobile Information Device Profile (MIDP) user interface (UI) application programming interfaces (APIs) (javax.microedition.lcdui.*) and BlackBerry UI API’s (net.rim.device.api.ui.*, net.rim.device.api.ui.container.*, net.rim.device.api.ui.component.*) cannot be used together. When designing your application, you must decide whether you want to use the MIDP or BlackBerry UI structures. The BlackBerry UI APIs are more extensive and provide rich field and screen management capabilities, while the MIDP UI API’s are generic and enable your application to run on all MIDP devices. For more information on the BlackBerry UI framework, refer to the section “Understanding the BlackBerry UI” in the Developer Guide included with the BlackBerry Java Development Environment.