MIDP3.0

Deprecated API


Contents
Deprecated Exceptions
javax.microedition.midlet.MIDletStateChangeException
          MIDletStateChangeException is no longer used. MIDlets that throw MIDletStateChangeException will be destroyed. 
 

Deprecated Methods
javax.microedition.midlet.MIDlet.checkPermission(String)
          The permissions model in this specification does not use named permissions. 
javax.microedition.rms.RecordStore.getSize()
          Previously calls to getSize() could not accommodate a RecordStore larger than Integer.MAX_VALUE. To query the size of a RecordStore, use RecordStore.getRecordStoreInfo() and RecordStoreInfo.getSize(), which returns a long and can accommodate RecordStore sizes up to Long.MAX_VALUE. 
javax.microedition.rms.RecordStore.getSizeAvailable()
          Previously calls to getSizeAvailable() could not accommodate a RecordStore larger than Integer.MAX_VALUE. To query the available size of a RecordStore, use RecordStore.getRecordStoreInfo() and RecordStoreInfo.getSizeAvailable(), which returns a long and can accommodate RecordStore sizes up to Long.MAX_VALUE. 
javax.microedition.lcdui.Canvas.hasPointerEvents()
          Support for pointer press and release events are determined by the Display . Use Display.hasPointerevents() 
javax.microedition.lcdui.Canvas.hasPointerMotionEvents()
          Support for pointer motion events are determined by the Display . Use Display.hasPointerMotionevents() 
javax.microedition.midlet.MIDlet.notifyPaused()
          The Paused state is deprecated; the application does not need to inform the implementation that it is quiescent. 
javax.microedition.midlet.MIDlet.pauseApp()
          Previously calls to pauseApp did not provide reliable information about system state changes. To be informed of changes in resources available to the application, use the listeners in the respective APIs. For example, to be notified that the application is not in the foreground, register a DisplayListener. The EventManager can be used to listen for system state changes. 
javax.microedition.midlet.MIDlet.resumeRequest()
          MIDlets will not be paused and do not need to be resumed. 
 


MIDP3.0

Send a comment or suggestionVersion 3.0 of Mobile Information Device Profile Specification
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries. Copyright 2002-2009 Motorola Inc. Portions copyright 1993-2002 Sun Microsystems, Inc. and Motorola, Inc. All Rights Reserved.