Deprecated API

Deprecated Classes
net.rim.device.api.io.MobitexAddress
          Mobitex is no longer supported. 
net.rim.device.api.system.MobitexInfo
          Mobitex is no longer supported. 
net.rim.device.api.system.MobitexInfo.MobitexCellInfo
          Mobitex is no longer supported. 
net.rim.device.api.system.MobitexPacketHeader
          Mobitex is no longer supported. 
net.rim.device.api.system.Peripheral
            
net.rim.device.api.system.SerialPort
          The serial port is no longer supported. 
net.rim.device.api.synchronization.SerialSyncManager
          Use SyncManager. 
net.rim.device.api.crypto.SmartCardDSACryptoToken
          This class will be deprecated in release 4.2 and above, smart card tokens should extend DSACryptoToken directly instead of extending this class. 
net.rim.device.api.crypto.SmartCardRSACryptoToken
          This class will be deprecated in release 4.2 and above, smart card tokens should extend RSACryptoToken directly instead of extending this class. 
 

Deprecated Interfaces
net.rim.device.api.system.SerialPortListener
          The serial port is no longer supported. 
net.rim.device.api.synchronization.SerialSyncListener
          Use SyncEventListener 
 

Deprecated Fields
net.rim.device.api.system.RadioInfo.BAND_DATATAC_800
          DataTAC is no longer supported. 
net.rim.device.api.system.RadioInfo.BAND_MOBITEX_900
          Mobitex is no longer supported. 
net.rim.device.api.ui.component.ButtonField.BARE
          Used only for non-color devices. 
net.rim.device.api.system.Characters.HOUSE
            
net.rim.device.api.i18n.Locale.KEYBOARD_ID_QWERTY
          Use Keypad.HW_LAYOUT_* equivalent. 
net.rim.device.api.i18n.Locale.KEYBOARD_ID_QWERTY_LEGACY
          Use Keypad.HW_LAYOUT_* equivalent. 
net.rim.device.api.i18n.Locale.KEYBOARD_ID_QWERTY_PHONE
          Use Keypad.HW_LAYOUT_* equivalent. 
net.rim.device.api.i18n.Locale.KEYBOARD_ID_QWERTY_REDUCED
          Use Keypad.HW_LAYOUT_* equivalent. 
net.rim.device.api.servicebook.ServiceRecord.MOBITEX_WIRELESS_NET_TYPE
          Mobitex is no longer supported. 
net.rim.device.api.system.RadioInfo.NETWORK_DATATAC
          DataTAC is no longer supported. 
net.rim.device.api.system.RadioInfo.NETWORK_MOBITEX
          Mobitex is no longer supported. 
net.rim.blackberry.api.mail.Message.Flag.PRIORITY
          In favour of Message.Priority 
net.rim.blackberry.api.mail.TextBodyPart.TEXT_PLAIN
          Use TextBodyPart.getTextPlainContentType(). 
 

Deprecated Methods
net.rim.device.api.util.SimpleSortingVector.add(Object)
          Use SimpleSortingVector.addElement(java.lang.Object) instead. 
net.rim.device.api.ui.component.Menu.add(String, Object, int)
          Use add(MenuItem.separator(int)). 
net.rim.device.api.ui.component.Menu.addItem(String, Object, int)
          Use add(MenuItem.separator(int)). 
net.rim.device.api.crypto.certificate.CertificateServers.addServer(String, int, String, String, int)
            
net.rim.device.api.crypto.certificate.CertificateUtilities.buildTrustedCertificateChain(Certificate, Certificate[], KeyStore, KeyStore)
          This method chooses one of potentially many certificate chains that may exist for this certificate, based only on whether the chain is trusted. Since there are many other criteria by which chains may be evaluated (e.g. revocation status, time validity, etc) and since these other criteria may affect the choice of the "best" chain, it is recommended that all of the chains be built first, and the best chain be selected using the methods in CertificateChainProperties. 
net.rim.device.api.crypto.certificate.CertificateUtilities.buildTrustedCertificateChains(Certificate, Certificate[], KeyStore, KeyStore)
          This method chooses certificate chains based only on whether they are trusted. Since there are many other criteria by which chains may be evaluated (e.g. revocation status, time validity, etc) and since these other criteria may affect the choice of the "best" chain, it is recommended that all of the chains be built first, and the best chain be selected using the methods in CertificateChainProperties. 
net.rim.device.api.ui.component.TextField.cancelLatestCommittedText()
            
net.rim.device.api.crypto.certificate.CertificateStatus.compare(CertificateStatus)
          Use CertificateStatusUtilities.compareStatusCertificate() or CertificateStatusUtilities.compareStatusCertificateChain() instead. 
net.rim.device.api.crypto.certificate.CertificateStatus.compare(int)
          Use CertificateStatusUtilities.compareStatusCertificate() or CertificateStatusUtilities.compareStatusCertificateChain() instead. 
net.rim.device.api.i18n.Locale.convertCodeToVariant(int)
          Use #convertKeyboardIDToString(int), 
net.rim.device.api.i18n.Locale.convertVariantToCcode(String)
          Use #convertStringToKeyboardID(String), 
net.rim.device.api.system.CodeModuleGroup.createGroup(byte[])
          Use net.rim.device.api.system.CodeModuleGroupManager.createGroup( byte[] data ) 
net.rim.device.api.crypto.CryptoSmartCardUtilities2.createPrivateKey(SmartCardDSACryptoToken, CryptoTokenCryptoSystemData, CryptoTokenPrivateKeyData)
          This method will be deprecated in release 4.2 and above. 
net.rim.device.api.crypto.CryptoSmartCardUtilities2.createPrivateKey(SmartCardRSACryptoToken, int, CryptoTokenPrivateKeyData)
          This method will be deprecated in release 4.2 and above. 
net.rim.device.api.crypto.keystore.KeyStorePasswordManager.decrypt(int, long, byte[], int, int, String, KeyStorePasswordTicket)
          Use the other decrypt method that does not take in a salt or security level. 
net.rim.device.api.crypto.keystore.KeyStorePasswordManager.decrypt(int, long, byte[], String, KeyStorePasswordTicket)
          Use the decrypt method that does not take in the security level and salt. These parameters are encoded in the input byte[] now automatically and are not needed as parameters. 
net.rim.device.api.crypto.keystore.KeyStorePasswordManager.decryptReEncrypt(int, long, byte[])
          Use the decryptReEncrypt method that no longer requires a securityLevel and a salt. 
net.rim.device.api.system.CodeModuleManager.deleteModule(int, boolean)
          Use deleteModuleEx instead. 
net.rim.device.api.ui.UiEngine.dismissStatus(Screen)
          Use popScreen(Screen) 
net.rim.device.api.ui.UiApplication.dismissStatus(Screen)
          Use popScreen(Screen) 
net.rim.device.api.ui.component.ActiveAutoTextEditField.drawText(Graphics, int, int, int, int)
            
net.rim.device.api.ui.component.ActiveRichTextField.drawText(Graphics, String, int, int, int, int, int, int)
            
net.rim.device.api.system.Alert.enablePWMSync(boolean)
          This is no longer supported. 
net.rim.device.api.crypto.keystore.KeyStorePasswordManager.encrypt(int, long, byte[], int, int, String, KeyStorePasswordTicket)
          Use the encrypt method that no longer uses the salt. 
net.rim.device.api.crypto.keystore.KeyStorePasswordManager.encrypt(int, long, byte[], String, KeyStorePasswordTicket)
          Use the encrypt method that does not take a salt. 
net.rim.device.api.util.SimpleSortingVector.getAt(int)
          Use Vector.elementAt(int) instead. 
net.rim.device.api.io.LineReader.getBuffer()
          Only subclasses should access the underlying buffer, and they may directly access the protected _buffer field instead of using this method. 
net.rim.device.api.io.LineReader.getBufferLength()
          Only subclasses should access the buffer length, and they may directly access the protected _bufferLength field instead of using this method. 
net.rim.device.api.io.LineReader.getBufferOffset()
          Only subclasses should access the buffer offset, and they may directly access the protected _bufferOffset field instead of using this method. 
net.rim.device.api.ui.component.TextField.getCommittedText(int, int, String[])
            
net.rim.device.api.ui.component.TextField.getCommittedTextLength()
            
net.rim.device.api.ui.component.Menu.getCookie(MenuItem)
            
net.rim.device.api.i18n.Locale.getDefaultInput()
          Use Locale.getDefaultInputForSystem() 
net.rim.device.api.ui.FontFamily.getFonts()
          Use FontFamily.getFont(int, int) 
net.rim.device.api.system.CodeModuleGroup.getGroupData(int)
          Use net.rim.device.api.system.CodeModuleGroupManager.getGroupData( int handle ) 
net.rim.device.api.ui.component.TextField.getInsertPositionOffset()
          Use getComposedTextStart instead 
net.rim.device.api.ui.component.Menu.getItemCookie(int)
          Use getItem(int) that returns a MenuItem. 
net.rim.device.api.ui.component.Menu.getItemId(int)
          Use getItem(int) that returns a MenuItem. 
net.rim.device.api.ui.component.TextField.getLocationOffset(int, int)
            
net.rim.device.api.system.DeviceInfo.getOSVersion()
          This function attempts to pack the String returned by DeviceInfo.getPlatformVersion() into the format specified above. If it is unsuccessful, it will return 0. Please use DeviceInfo.getPlatformVersion() instead. 
net.rim.device.api.system.IDENInfo.getRegistrationAddress()
          This function always returns null. 
net.rim.device.api.system.GPRSInfo.getRegistrationAddress()
          This method always returns null. 
net.rim.device.api.system.CDMAInfo.getRegistrationAddress()
          This function always returns null. 
net.rim.device.api.ui.component.Menu.getSelectedCookie()
          Use getSelectedItem() that returns a MenuItem. 
net.rim.device.api.ui.component.Menu.getSelectedId()
          Use getSelectedItem() that returns a MenuItem. 
net.rim.device.api.ui.component.TextField.getSelectedText()
            
net.rim.device.api.ui.component.TextField.getSelectionEnd()
            
net.rim.device.api.ui.component.TextField.getSelectionOffset()
            
net.rim.device.api.ui.component.TextField.getSelectionStart()
            
net.rim.device.api.io.SharedInputStream.getSharedInputStream(InputStream, int)
          Use instead SharedInputStream.getSharedInputStream( InputStream input ) and then setLength on the new stream. 
net.rim.device.api.io.LineReader.getStream()
          Only subclasses should access the underlying stream, and they may directly access the protected _stream field instead of using this method. 
net.rim.device.api.i18n.Locale.getSystemKeyboardID()
          Use Keypad.getHardwareLayout(). 
net.rim.device.api.ui.component.TextField.getText(int, int, boolean)
            
net.rim.device.api.util.SimpleSortingVector.getVector()
          SimpleSortingVector is now an instance of Vector 
net.rim.device.api.system.Alert.isADPCMSupported()
          ADPCM is no longer supported. 
net.rim.device.api.crypto.certificate.CertificateUtilities.isCertificateChainTrusted(Certificate[], KeyStore)
          This method evaluates the certificate chain based only on whether it is trusted. Since there are many other criteria by which chains may be evaluated (e.g. revocation status, time validity, etc) and since these other criteria may affect the choice of the "best" chain, it is recommended that all of the chains be built first, and the best chain be selected using the methods in CertificateChainProperties. 
net.rim.device.api.crypto.certificate.CertificateUtilities.isCertificateTrusted(Certificate, Certificate[], KeyStore, KeyStore)
          This method evaluates the certificate based only on whether it is trusted. Since there are many other criteria by which chains may be evaluated (e.g. revocation status, time validity, etc) and since these other criteria may affect the choice of the "best" chain, it is recommended that all of the chains be built first, and the best chain be selected using the methods in CertificateChainProperties. 
net.rim.device.api.crypto.certificate.CertificateUtilities.isCertificateTrusted(Certificate, KeyStore)
          This method evaluates the certificate based only on whether it is trusted. Since there are many other criteria by which chains may be evaluated (e.g. revocation status, time validity, etc) and since these other criteria may affect the choice of the "best" chain, it is recommended that all of the chains be built first, and the best chain be selected using the methods in CertificateChainProperties. 
net.rim.device.api.ui.Screen.isGlobalStatus()
          Use isGlobal() 
net.rim.device.api.system.CodeModuleGroup.load(String)
          Use net.rim.device.api.system.CodeModuleGroupManager.load( String groupName ) 
net.rim.device.api.system.CodeModuleGroup.loadAll()
          Use net.rim.device.api.system.CodeModuleGroupManager.loadAll() 
net.rim.device.api.math.VecMath.multiply3x3(int[], int, int[], int)
          use multiply3x3(int[],int,int[],int,int[],int) and pass B as the destination matrix. 
net.rim.device.api.ui.Screen.onMenuDismissed()
          Use onMenuDismissed(Menu). 
net.rim.device.api.ui.Field.onMenuDismissed()
          Use onMenuDismissed(Menu). 
net.rim.device.api.system.Alert.playBuzzer(short[], int)
          Replaced by Alert.startBuzzer(short[],int,boolean) 
net.rim.device.api.ui.UiApplication.popScreen()
          Use UiApplication.popScreen(Screen). 
net.rim.device.api.ui.UiEngine.pushGlobalScreen(Screen, int, boolean)
          Use pushGlobalScreen(Screen, int, int) 
net.rim.device.api.ui.UiApplication.pushGlobalScreen(Screen, int, boolean)
          Use pushGlobalScreen(Screen, int, int) 
net.rim.device.api.ui.UiEngine.queueStatus(Screen, int, boolean)
          Use pushGlobalScreen(Screen, int, int) 
net.rim.device.api.ui.UiApplication.queueStatus(Screen, int, boolean)
          Use pushGlobalScreen(Screen, int, int) 
net.rim.device.api.io.SharedInputStream.readInputStream(int)
          Use instead readInputStream() and then use setLength( int length ) on the new stream. 
net.rim.device.api.system.IOPort.registerNotifyPattern(byte[])
          Please use SerialPort.registerNotifyPattern(byte[]) instead. 
net.rim.device.api.util.SimpleSortingVector.remove(int)
          Use Vector.removeElementAt(int) instead. 
net.rim.device.api.util.SimpleSortingVector.removeAll()
          Use Vector.removeAllElements() instead. 
net.rim.device.api.ui.component.TextField.setAdjustAlignments(boolean)
            
net.rim.device.api.system.Alert.setADPCMVolume(int)
          ADPCM is no longer supported. 
net.rim.device.api.io.LineReader.setBufferLength(int)
          Only subclasses should access the buffer length, and they may directly access the protected _bufferLength field instead of using this method. 
net.rim.device.api.io.LineReader.setBufferOffset(int)
          Only subclasses should access the buffer offset, and they may directly access the protected _bufferOffset field instead of using this method. 
net.rim.device.api.i18n.Locale.setDefaultInput(Locale)
          Use Locale.setDefaultInputForSystem(Locale) 
net.rim.device.api.ui.container.VerticalFieldManager.setFieldPositions(int, int, int, int)
          For legacy IM only. 
net.rim.device.api.ui.component.TextField.setPreLayoutInternal(boolean)
            
net.rim.device.api.bluetooth.BluetoothSerialPort.setProperties(int, int, int)
          setProperties is no longer supported 
net.rim.device.api.system.Alert.startADPCM(byte[], boolean)
          ADPCM is no longer supported. 
net.rim.device.api.system.Alert.stopADPCM()
          ADPCM is no longer supported. 
net.rim.device.api.system.CodeModuleManager.writeNewModule(int, byte[], int, int)
          Replaced by CodeModuleManager.writeNewModule(int,int,byte[],int,int). 
 

Deprecated Constructors
net.rim.device.api.system.Backlight()
          All members of Backlight are static. 
net.rim.device.api.system.Branding()
          Should not be used. Everything is static. 
net.rim.device.api.crypto.certificate.CertificateServerInfo(String, int, String, int)
            
net.rim.device.api.crypto.certificate.CertificateServerInfo(String, int, String, String, int, int)
            
net.rim.device.api.ui.Color()
          Should not be used. Everything is static. 
net.rim.device.api.crypto.CryptoInteger()
          If you use this constructor, all of the public functions in this class may throw NullPointerExceptions. Instead use the public constructors. 
net.rim.device.api.ui.component.DateField(String, long, int, DateFormat)
            
net.rim.device.api.ui.component.DateField(String, long, long, DateFormat)
            
net.rim.device.api.io.SharedInputStream(byte[])
          Use instead SharedInputStream.getSharedInputStream( byte[] input ) 
net.rim.device.api.io.SharedInputStream(SharedInputStream, int)
          Use instead new SharedInputStream( SharedInputStream input ) and then setLength( int length ) on the new stream 
net.rim.device.api.synchronization.SyncCollectionStatisticsManager()
          Should not be used. All methods are static. 
 



Copyright 1999-2007 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Copyright 1993-2003 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A.
Copyright 2002-2003 Nokia Corporation All Rights Reserved.
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.