Deprecated API

Deprecated Classes
net.rim.blackberry.api.pim.PIM
          In favour of PIM. 
net.rim.blackberry.api.pim.RepeatRule
          In favour of RepeatRule. 
net.rim.device.api.synchronization.SerialSyncManager
          Use SyncManager. 
 

Deprecated Interfaces
net.rim.blackberry.api.pim.BlackBerryContact
          In favour of BlackBerryContact. 
net.rim.blackberry.api.pim.BlackBerryContactList
          In favour of BlackBerryContactList. 
net.rim.blackberry.api.pim.BlackBerryContactList.AddressTypes
          In favour of BlackBerryContactList.AddressTypes. 
net.rim.blackberry.api.pim.BlackBerryEvent
          In favour of BlackBerryEvent. 
net.rim.blackberry.api.pim.BlackBerryPIMList
          In favour of BlackBerryPIMList. 
net.rim.blackberry.api.pim.Contact
          In favour of Contact. 
net.rim.blackberry.api.pim.ContactList
          In favour of ContactList. 
net.rim.blackberry.api.pim.Event
          In favour of Event. 
net.rim.blackberry.api.pim.EventList
          In favour of EventList. 
net.rim.blackberry.api.pim.PIMItem
          In favour of PIMItem. 
net.rim.blackberry.api.pim.PIMList
          In favour of PIMList. 
net.rim.blackberry.api.pim.PIMListListener
            
net.rim.blackberry.api.pim.RemoteLookupListener
            
net.rim.device.api.synchronization.SerialSyncListener
          Use SyncEventListener 
net.rim.blackberry.api.pim.ToDo
          In favour of ToDo. 
net.rim.blackberry.api.pim.ToDoList
          In favour of ToDoList. 
 

Deprecated Exceptions
net.rim.blackberry.api.pim.FieldEmptyException
          In favour of FieldEmptyException. 
net.rim.blackberry.api.pim.FieldFullException
          In favour of FieldFullException. 
net.rim.blackberry.api.pim.PIMException
          In favour of PIMException. 
net.rim.blackberry.api.pim.UnsupportedFieldException
          In favour of UnsupportedFieldException. 
 

Deprecated Fields
net.rim.blackberry.api.pim.Contact.ADDRSIZE
          Use PIMList.stringArraySize(int) instead 
net.rim.blackberry.api.pim.Contact.NAMESIZE
          Use PIMList.stringArraySize(int) instead 
net.rim.blackberry.api.mail.Message.Flag.PRIORITY
          In favour of #Priority instead. 
net.rim.blackberry.api.mail.TextBodyPart.TEXT_PLAIN
          Use TextBodyPart.getTextPlainContentType(). 
 

Deprecated Methods
net.rim.device.api.crypto.certificate.CertificateServers.addServer(String, int, String, String, int)
            
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.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.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.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.FontFamily.getFonts()
          Use FontFamily.getFont(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.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.ui.Keypad.getSymbolScreenLayout()
            
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.system.Alert.playBuzzer(short[], int)
          Replaced by Alert.startBuzzer(short[],int,boolean) 
net.rim.device.api.ui.UiApplication.popScreen()
          Use UiApplication.pushScreen(Screen). 
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.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.system.CodeModuleManager.writeNewModule(int, byte[], int, int)
          Replaced by CodeModuleManager.writeNewModule(int,int,byte[],int,int). 
net.rim.device.api.util.Arrays.zero(byte[])
          Use fill(byteArray,(byte)0) 
net.rim.device.api.util.Arrays.zero(char[])
          Use fill(charArray,((char)0)). 
net.rim.device.api.util.Arrays.zero(int[])
          Use fill(intArray,((int)0)). 
net.rim.device.api.util.Arrays.zero(long[])
          Use fill(longArray,((long)0)). 
net.rim.device.api.util.Arrays.zero(short[])
          Use fill(shortArray,((short)0)). 
 

Deprecated Constructors
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.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 
 



Copyright 1999-2004 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.