Deprecated API


Contents
Deprecated Interfaces
net.rim.blackberry.api.pdap.contactlinking.AddressBookFieldFactory
          use LinkedContactUtilities.registerLinkedContactInfoProvider(LinkedContactInfoProvider, long, int) 
net.rim.device.api.synchronization.SerialSyncListener
          Use SyncEventListener 
net.rim.device.api.system.AudioFileListener
          No longer supported 
net.rim.device.api.system.HolsterListener
          See Sensor.HOLSTER 
net.rim.device.api.system.PeripheralListener
            
net.rim.device.api.system.SerialPortListener
          The serial port is no longer supported. 
net.rim.device.api.system.TrackwheelListener
          Use Screen.navigationClick(int, int) or Screen.navigationMovement(int, int, int, int) instead. 
net.rim.plazmic.mediaengine.MediaListener
          Use SVGEventListener instead. 
net.rim.plazmic.mediaengine.io.Connector
          Use SVGImage instead. 
 

Deprecated Classes
com.google.zxing.qrcode.encoder.BitVector
          BitArray is used instead, this is just kept for backwards compatibility 
net.rim.blackberry.api.cradle.CradleHandlerRegistry
          Use AccessoryManager. Any registrations are mapped to the AccessoryManager. 
net.rim.device.api.browser.field2.debug.BrowserFieldDebugContext
          Debugger is deprecated in 6.0 
net.rim.device.api.browser.field2.debug.BrowserFieldDebugger
          Debugger is deprecated in 6.0 
net.rim.device.api.browser.field2.debug.BrowserFieldScript
          Debugger is deprecated in 6.0 
net.rim.device.api.browser.field2.debug.BrowserFieldScriptObject
          Debugger is deprecated in 6.0 
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. 
net.rim.device.api.io.File
            
net.rim.device.api.io.FileInputStream
            
net.rim.device.api.io.FileOutputStream
            
net.rim.device.api.io.MobitexAddress
          Mobitex is no longer supported. 
net.rim.device.api.lbs.Locator
          Use the Geocoder or ReverseGeocoder classes. 
net.rim.device.api.lbs.MapField
          Use net.rim.device.api.lbs.maps.ui.MapField or net.rim.device.api.lbs.maps.ui.RichMapField instead. 
net.rim.device.api.ldap.LDAPPasswordCache
          No longer for 3rd party use. LDAPPasswordCache.getInstance() will throw a ControlledAccessException if a non-RIM module is on the call stack when this is called. 
net.rim.device.api.synchronization.SerialSyncManager
          Use SyncManager. 
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.plazmic.mediaengine.MediaManager
          Use SVGImage instead. 
net.rim.plazmic.mediaengine.MediaPlayer
          Use SVGAnimator instead. 
net.rim.plazmic.mediaengine.io.ConnectionInfo
          Use SVGImage instead. 
net.rim.plazmic.mediaengine.io.LoadingStatus
          Use SVGImage instead. 
 

Deprecated Exceptions
net.rim.plazmic.mediaengine.MediaException
          Use javax.microedition.m2g instead of MediaEngine. 
 

Deprecated Fields
net.rim.blackberry.api.invoke.MemoArguments.ARG_VIEW
          The Memo Pad application no longer has a separate "View" screen. Use the MemoArguments.ARG_EDIT constant to view a memo instead. 
net.rim.blackberry.api.mail.Message.Flag.PRIORITY
          In favour of Message.Priority 
net.rim.blackberry.api.mail.TextBodyPart.TEXT_PLAIN
          Use TextBodyPart.getTextPlainContentType(). 
net.rim.blackberry.api.menuitem.ApplicationMenuItemRepository.MENUITEM_ALARM
          use ApplicationMenuItemRepository.MENUITEM_CLOCK instead 
net.rim.blackberry.api.menuitem.ApplicationMenuItemRepository.MENUITEM_MEMO_VIEW
          use ApplicationMenuItemRepository.MENUITEM_MEMO_EDIT instead 
net.rim.device.api.applicationcontrol.ApplicationPermissions.PERMISSION_CHANGE_DEVICE_SETTINGS
          As of 4.6, replaced by ApplicationPermissions.PERMISSION_DEVICE_SETTINGS 
net.rim.device.api.applicationcontrol.ApplicationPermissions.PERMISSION_CODE_MODULE_MANAGEMENT
          As of 4.6, replaced by ApplicationPermissions.PERMISSION_APPLICATION_MANAGEMENT 
net.rim.device.api.applicationcontrol.ApplicationPermissions.PERMISSION_EVENT_INJECTOR
          As of 4.6, replaced by ApplicationPermissions.PERMISSION_INPUT_SIMULATION 
net.rim.device.api.applicationcontrol.ApplicationPermissions.PERMISSION_EXTERNAL_CONNECTIONS
          As of 4.6, replaced by ApplicationPermissions.PERMISSION_INTERNET 
net.rim.device.api.applicationcontrol.ApplicationPermissions.PERMISSION_HANDHELD_KEYSTORE
          As of 4.6, replaced by ApplicationPermissions.PERMISSION_SECURITY_DATA 
net.rim.device.api.applicationcontrol.ApplicationPermissions.PERMISSION_INTERNAL_CONNECTIONS
          As of 4.6, replaced by ApplicationPermissions.PERMISSION_SERVER_NETWORK 
net.rim.device.api.applicationcontrol.ApplicationPermissions.PERMISSION_INTER_PROCESS_COMMUNICATION
          As of 4.6, replaced by ApplicationPermissions.PERMISSION_CROSS_APPLICATION_COMMUNICATION 
net.rim.device.api.applicationcontrol.ApplicationPermissions.PERMISSION_INTER_PROCESS_COMMUNUCATION
          As of 4.6, replaced by ApplicationPermissions.PERMISSION_CROSS_APPLICATION_COMMUNICATION 
net.rim.device.api.applicationcontrol.ApplicationPermissions.PERMISSION_KEYSTORE_MEDIUM_SECURITY
          As of 4.6, this permission is no longer used. 
net.rim.device.api.applicationcontrol.ApplicationPermissions.PERMISSION_LOCAL_CONNECTIONS
          As of 4.6, replaced by ApplicationPermissions.PERMISSION_USB 
net.rim.device.api.applicationcontrol.ApplicationPermissions.PERMISSION_LOCATION_API
          As of 4.6, replaced by ApplicationPermissions.PERMISSION_LOCATION_DATA 
net.rim.device.api.applicationcontrol.ApplicationPermissions.PERMISSION_PIM
          As of 4.6, replaced by ApplicationPermissions.PERMISSION_ORGANIZER_DATA 
net.rim.device.api.applicationcontrol.ApplicationPermissions.PERMISSION_SCREEN_CAPTURE
          As of 4.6, replaced by ApplicationPermissions.PERMISSION_RECORDING 
net.rim.device.api.applicationcontrol.ApplicationPermissions.PERMISSION_THEME_DATA
          As of 4.6, replaced by ApplicationPermissions.PERMISSION_THEMES 
net.rim.device.api.browser.field2.BrowserFieldConfig.ENABLE_GEARS
          Gears will be replaced by HTML5 equivalent features 
net.rim.device.api.browser.field2.BrowserFieldConfig.MDS_TRANSCODING_ENABLED
          MDS transcoding is not supported 
net.rim.device.api.browser.field2.BrowserFieldConfig.NAVIGATION_MODE_CARET
          Caret navigation mode is no longer supported. When used it is interpreted as equivalent to NAVIGATION_MODE_NODE 
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.io.File.FILESYSTEM_PATRIOT
            
net.rim.device.api.io.parser.soap.SOAPConstants.VERSION_2_1
            
net.rim.device.api.io.parser.soap.SOAPConstants.VERSION_2_2
            
net.rim.device.api.itpolicy.ITPolicy.GUID_IT_POLICY_CHANGED
          Use ITPolicyChangedListener.policyChanged(java.lang.String, boolean). This event will only go to non-RIM applications 
net.rim.device.api.itpolicy.ITPolicy.GUID_IT_POLICY_CHANGED_LOCKED_HANDHELD
          Use . This event will only go to non-RIM applications 
net.rim.device.api.itpolicy.ITPolicy.GUID_PASSWORD_SET_BY_ITADMIN
          Use ITPolicyInfoListener.passwordSetByAdmin(). This event will only go to non-RIM applications 
net.rim.device.api.lbs.Locator.ADDRESS
            
net.rim.device.api.lbs.Locator.CITY
            
net.rim.device.api.lbs.Locator.COUNTRY
            
net.rim.device.api.lbs.Locator.POSTAL_ZIP_CODE
            
net.rim.device.api.lbs.Locator.PROVINCE_STATE
            
net.rim.device.api.lbs.Locator.REQUEST_TIMEOUT
            
net.rim.device.api.lbs.maps.model.MapLocation.LBS_DISTANCE_FROM_POI_CENTRE_KEY
          Use MapLocation.LBS_DISTANCE_FROM_POI_CENTER_KEY instead 
net.rim.device.api.lbs.maps.ui.MapAction.ACTION_CENTRE_CHANGE
          Use MapAction.ACTION_CENTER_CHANGE instead 
net.rim.device.api.opengles.GLField.DISABLE_SURFACE_SYNC_HINT
          This is now the default setting, pass MIXED_MODE_RENDERING to enable surface synchronization. 
net.rim.device.api.openvg.VGField.DISABLE_SURFACE_SYNC_HINT
          This is now the default setting, pass MIXED_MODE_RENDERING to enable surface synchronization. 
net.rim.device.api.servicebook.ServiceRecord.MOBITEX_WIRELESS_NET_TYPE
          Mobitex is no longer supported. 
net.rim.device.api.system.Audio.AUDIO_CODEC_VOICENOTE
          No longer supported 
net.rim.device.api.system.Bitmap.ALPHA_BITDEPTH_MONO
          Use ALPHA_BITDEPTH_8BPP instead. 
net.rim.device.api.system.Bitmap.COLUMNWISE_MONOCHROME
          use a rowwise format and then perform a rotation. 
net.rim.device.api.system.Bitmap.ROWWISE_16BIT_COLOR
          If possible, use the default type (i.e. don't specify a format when creating a Bitmap); otherwise, use ROWWISE_32BIT_XRGB8888. This format, while still supported, has much lower performance than ROWWISE_32BIT_XRGB8888. 
net.rim.device.api.system.Bitmap.ROWWISE_MONOCHROME
            
net.rim.device.api.system.Branding.FIELD_IDLESCREEN_CONTENT_DATA
            
net.rim.device.api.system.Branding.FIELD_IDLESCREEN_CONTENT_TYPE
            
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.system.RadioInfo.NETWORK_DATATAC
          DataTAC is no longer supported. 
net.rim.device.api.system.RadioInfo.NETWORK_MOBITEX
          Mobitex is no longer supported. 
net.rim.device.api.system.RadioInfo.NETWORK_SERVICE_EVDO
          NETWORK_SERVICE_EVDO is no longer supported. NETWORK_SERVICE_EVDO is replaced by NETWORK_SERVICE_EVDO_REV0. 
net.rim.device.api.system.RadioInfo.NETWORK_SERVICE_EVDO_ONLY
          NETWORK_SERVICE_EVDO_ONLY is no longer supported. NETWORK_SERVICE_EVDO_ONLY is replaced by NETWORK_SERVICE_EVDO_REV0_ONLY. 
net.rim.device.api.system.RadioInfo.STATE_RELOAD_REQUIRED
          no longer used 
net.rim.device.api.system.RadioInfo.STATE_SERVICE_REQUIRED
          no longer used 
net.rim.device.api.system.RadioInfo.STATE_TURNING_OFF
          no longer used 
net.rim.device.api.system.RadioInfo.STATE_TURNING_ON
          no longer used 
net.rim.device.api.system.RadioStatusListener.CAUSE_NOT_APPLICABLE
          No longer supported 
net.rim.device.api.system.RadioStatusListener.GMM_ATTACH_ACCEPT
          No longer supported 
net.rim.device.api.system.RadioStatusListener.GMM_ATTACH_REJECT
          No longer supported 
net.rim.device.api.system.RadioStatusListener.GMM_AUTH_CIPHER_REJECT
          No longer supported 
net.rim.device.api.system.RadioStatusListener.GMM_AUTH_CIPHER_REQUEST
          No longer supported 
net.rim.device.api.system.RadioStatusListener.GMM_GMM_INFORMATION
          No longer supported 
net.rim.device.api.system.RadioStatusListener.GMM_IDENTITY_REQUEST
          No longer supported 
net.rim.device.api.system.RadioStatusListener.GMM_MO_DETACH_ACCEPT
          No longer supported 
net.rim.device.api.system.RadioStatusListener.GMM_MT_DETACH_REQUEST
          No longer supported 
net.rim.device.api.system.RadioStatusListener.GMM_PTMSI_REALLOC_CMD
          No longer supported 
net.rim.device.api.system.RadioStatusListener.GMM_RA_UPDATE_ACCEPT
          No longer supported 
net.rim.device.api.system.RadioStatusListener.GMM_RA_UPDATE_REJECT
          No longer supported 
net.rim.device.api.system.RadioStatusListener.MM_ABORT
          No longer supported 
net.rim.device.api.system.RadioStatusListener.MM_AUTHENTICATION_REJECT
          No longer supported 
net.rim.device.api.system.RadioStatusListener.MM_AUTHENTICATION_REQUEST
          No longer supported 
net.rim.device.api.system.RadioStatusListener.MM_CM_SERVICE_ACCEPT
          No longer supported 
net.rim.device.api.system.RadioStatusListener.MM_CM_SERVICE_REJECT
          No longer supported 
net.rim.device.api.system.RadioStatusListener.MM_IDENTITY_REQUEST
          No longer supported 
net.rim.device.api.system.RadioStatusListener.MM_LOCATION_UPDATE_ACCEPT
          No longer supported 
net.rim.device.api.system.RadioStatusListener.MM_LOCATION_UPDATE_REJECT
          No longer supported 
net.rim.device.api.system.RadioStatusListener.MM_MM_INFORMATION
          No longer supported 
net.rim.device.api.system.RadioStatusListener.MM_MM_STATUS
          No longer supported 
net.rim.device.api.system.RadioStatusListener.MM_TMSI_REALLOC_CMD
          No longer supported 
net.rim.device.api.system.RadioStatusListener.SM_DEACTIVATE_PDP_ACCEPT
          No longer supported 
net.rim.device.api.system.RadioStatusListener.SM_DEACTIVATE_PDP_REQUEST
          No longer supported 
net.rim.device.api.system.RadioStatusListener.SM_PDP_ACTIVATE_ACCEPT
          No longer supported 
net.rim.device.api.system.RadioStatusListener.SM_PDP_ACTIVATE_REJECT
          No longer supported 
net.rim.device.api.ui.Color.LIGHTGREY
          use Color.LIGHTGRAY instead 
net.rim.device.api.ui.FontFamily.MONO_BITMAP_FONT
            
net.rim.device.api.ui.Graphics.DRAWSTYLE_AALINES
          use DRAWSTYLE_ANTIALIASED instead 
net.rim.device.api.ui.Graphics.DRAWSTYLE_AAPOLYGONS
          use DRAWSTYLE_ANTIALIASED instead 
net.rim.device.api.ui.Graphics.ROP_CONST_GLOBALALPHA
          Use fillRect instead. 
net.rim.device.api.ui.Keypad.KEY_APPLICATION
          Use KEY_CONVENIENCE_2 
net.rim.device.api.ui.Manager.NO_SCROLL_RESET
            
net.rim.device.api.ui.ScrollView.NO_SCROLL_RESET
            
net.rim.device.api.ui.component.ButtonField.BARE
          Used only for non-color devices. 
net.rim.device.api.ui.component.RichTextField.TEXT_ALIGN_HCENTER
          use TEXT_JUSTIFY_HCENTER instead. 
net.rim.device.api.ui.component.RichTextField.TEXT_ALIGN_LEFT
          use TEXT_JUSTIFY_LEFT. 
net.rim.device.api.ui.component.RichTextField.TEXT_ALIGN_RIGHT
          use TEXT_JUSTIFY_RIGHT instead. 
net.rim.device.api.ui.component.pane.PaneManagerView.DEFAULT_ANIMATION_DURATION
          Replaced by PaneManagerView.getDefaultAnimationDuration() 
net.rim.device.api.ui.toolbar.ToolbarSpacer.ELASTIC
          All spacers take up the same space as any ToolbarButtonField 
net.rim.device.api.ui.toolbar.ToolbarSpacer.RIGID
          All spacers take up the same space as any ToolbarButtonField 
net.rim.device.api.unifiedsearch.searchables.SearchableContentTypeConstants.CONTENT_TYPE_DEFAULT_ALL
          use SearchableContentTypeConstantsInfo.getAllContentTypes() instead because this constant's value will not change to incorporate new types. 
net.rim.device.api.unifiedsearch.searchables.SearchableContentTypeConstants.NON_RIM_APP
            
 

Deprecated Methods
com.google.zxing.common.GridSampler.sampleGrid(BitMatrix, int, PerspectiveTransform)
            
com.google.zxing.common.GridSampler.sampleGrid(BitMatrix, int, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float)
            
net.rim.blackberry.api.cradle.CradleHandlerRegistry.registerHandler(int, ApplicationDescriptor)
          Use AccessoryManager.registerApplication(java.lang.String, net.rim.device.api.system.ApplicationDescriptor). Any registrations are mapped to the AccessoryManager. 
net.rim.blackberry.api.cradle.CradleHandlerRegistry.unregisterHandler(int, ApplicationDescriptor)
          Use AccessoryManager.unregisterApplication(java.lang.String, net.rim.device.api.system.ApplicationDescriptor). Any registrations are mapped to the AccessoryManager. 
net.rim.blackberry.api.pdap.BlackBerryContactList.choose(Contact, int, boolean)
          Use BlackBerryContactList.choose() instead. 
net.rim.blackberry.api.pdap.contactlinking.LinkedContactUtilities.registerAddressBookFieldFactory(AddressBookFieldFactory, long)
          use LinkedContactUtilities.registerLinkedContactInfoProvider(LinkedContactInfoProvider, long, int). 
net.rim.blackberry.api.phone.PhoneCall.getCallPhoneNumber()
          Use PhoneCall.getPhoneNumber() instead. 
net.rim.blackberry.api.phone.phonegui.PhoneScreen.getDimensions(int)
          As of BlackBerry API 6.0, replaced by ScreenModel.getDimensions(int screenType). 
net.rim.blackberry.api.phone.phonegui.PhoneScreen.getDimensions(int, int)
          As of BlackBerry API 6.0, replaced by ScreenModel.getDimensions(int orientation, int screenType). 
net.rim.blackberry.api.phone.phonegui.PhoneScreen.sendDataToScreen()
          As of BlackBerry API 6.0, replaced by ScreenModel.sendAllDataToScreen(). 
net.rim.blackberry.api.phone.phonelogs.PhoneCallLogID.setName(String)
            
net.rim.device.api.applicationcontrol.ApplicationPermissionsManager.getApplicationPermissions(boolean)
          As of version 5.0. Use ApplicationPermissionsManager.getApplicationPermissions() instead. 
net.rim.device.api.applicationcontrol.ApplicationPermissionsManager.getPermission(int, boolean)
          As of version 5.0. Use ApplicationPermissionsManager.getPermission(int) instead. 
net.rim.device.api.applicationcontrol.ApplicationPermissionsManager.getPermission(int, String, boolean)
          As of version 5.0. Use ApplicationPermissionsManager.getPermission(int,String) instead. 
net.rim.device.api.barcodelib.BarcodeBitmap.createBitmap(ByteMatrix, int)
          use BarcodeBitmap.createBitmap(ByteMatrix byteMatrix) in conjunction with MultiFormatWriter. 
net.rim.device.api.bluetooth.BluetoothSerialPort.setProperties(int, int, int)
          setProperties is no longer supported 
net.rim.device.api.browser.field2.BrowserField.getDebugger()
          Debugger is deprecated in 6.0 
net.rim.device.api.browser.field2.BrowserField.getRenderingOptions()
            
net.rim.device.api.browser.field2.BrowserField.setDebugger(BrowserFieldDebugger)
          Debugger is deprecated in 6.0 
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.certificate.CertificateServers.addServer(String, int, String, String, int)
            
net.rim.device.api.crypto.certificate.CertificateStatus.compare(int)
          Use CertificateStatusUtilities.compareStatusCertificate() or CertificateStatusUtilities.compareStatusCertificateChain() instead. 
net.rim.device.api.crypto.certificate.CertificateStatus.compare(CertificateStatus)
          Use CertificateStatusUtilities.compareStatusCertificate() or CertificateStatusUtilities.compareStatusCertificateChain() instead. 
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.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.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.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.i18n.Locale.getDefaultInput()
          Use Locale.getDefaultInputForSystem() 
net.rim.device.api.i18n.Locale.setDefaultInput(Locale)
          Use Locale.setDefaultInputForSystem(Locale) 
net.rim.device.api.io.File.delete(int, String)
          use javax.microedition.io.file 
net.rim.device.api.io.File.findFirst(int, String)
          use javax.microedition.io.file 
net.rim.device.api.io.File.findFirst(int, String, FileInfo)
          use javax.microedition.io.file 
net.rim.device.api.io.File.findNext(int)
          use javax.microedition.io.file 
net.rim.device.api.io.File.findNext(int, FileInfo)
          use javax.microedition.io.file 
net.rim.device.api.io.File.getFileSize(int, String)
          use javax.microedition.io.file 
net.rim.device.api.io.File.getFileSystemFreeSpace(int)
          use javax.microedition.io.file 
net.rim.device.api.io.File.getFileSystemTotalSpace(int)
          use javax.microedition.io.file 
net.rim.device.api.io.File.isFileSystemSupported(int)
            
net.rim.device.api.io.File.isSupported()
            
net.rim.device.api.io.File.rename(int, String, String)
          use javax.microedition.io.file 
net.rim.device.api.io.FileInputStream.close()
          use javax.microedition.io.file 
net.rim.device.api.io.FileInputStream.read()
          use javax.microedition.io.file 
net.rim.device.api.io.FileInputStream.read(byte[], int, int)
          use javax.microedition.io.file 
net.rim.device.api.io.FileOutputStream.close()
          use javax.microedition.io.file 
net.rim.device.api.io.FileOutputStream.flush()
          use javax.microedition.io.file 
net.rim.device.api.io.FileOutputStream.write(byte[], int, int)
          use javax.microedition.io.file 
net.rim.device.api.io.FileOutputStream.write(int)
          use javax.microedition.io.file 
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.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.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.io.SharedInputStream.getSharedInputStream(InputStream, int)
          Use instead SharedInputStream.getSharedInputStream( InputStream input ) and then setLength on the new stream. 
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.io.http.HttpHeaders.writeToStream(DataOutputStream)
          HttpHeaders.writeTo(OutputStream) should be used instead of this method. 
net.rim.device.api.io.nfc.readerwriter.ReaderWriterManager.addNDEFMessageListener(NDEFMessageListener, int, String, boolean)
            
net.rim.device.api.io.nfc.se.SecureElement.addTransactionListener(TransactionListener)
          As of version 7.1. Use SecureElement.addTransactionListener(TransactionListener, byte [][]) instead. 
net.rim.device.api.lbs.Locator.cancel()
          Note: The method does nothing in this release, just for backward compatible. It was improperly implemented in previous release 
net.rim.device.api.lbs.Locator.geocode(String, Coordinates)
          Use Geocoder.geocode() 
net.rim.device.api.lbs.Locator.geocode(AddressInfo, Coordinates)
          Use Geocoder.geocode() 
net.rim.device.api.lbs.Locator.reverseGeocode(int, int, int)
          Use ReverseGeocoder.reverseGeocode() 
net.rim.device.api.lbs.Locator.reverseGeocode(Coordinates, int)
          Use ReverseGeocoder.reverseGeocode() 
net.rim.device.api.lbs.MapField.updateView()
          MapField.move(int, int), MapField.moveTo(int, int), MapField.moveTo(Coordinates), MapField.setZoom(int), MapField.zoomIn(), MapField.zoomOut() and MapField.setRotation(int) all implicitly update the MapField. 
net.rim.device.api.lbs.maps.MapDimensions.getCentre()
          Use MapDimensions.getCenter() instead 
net.rim.device.api.lbs.maps.MapDimensions.setCentre(MapPoint)
          Use MapDimensions.setCenter(MapPoint) instead 
net.rim.device.api.lbs.maps.model.MapDataModel.getVisibleData(LatLonRectangle)
          Use #getVisibleData(Boxable) 
net.rim.device.api.lbs.maps.ui.MapAction.setCentre(MapPoint)
          Use MapAction.setCenter(MapPoint) instead 
net.rim.device.api.lbs.maps.ui.MapAction.setCentreAndZoom(MapPoint, int)
          Use MapAction.setCenterAndZoom(MapPoint,int) instead 
net.rim.device.api.lbs.maps.ui.MapAction.setCentreLatLon(double, double)
          Use MapAction.setCenterLatLon(double,double) instead 
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.openvg.VGUtils.vgDrawText(VG, Font, String, int, int, DrawTextParam, TextMetrics)
          Use other vgDrawText methods. 
net.rim.device.api.servicebook.ServiceRecord.isEncrypted()
          as of 5.0.0, replaced by ServiceRecord.isEncryptedService(), ServiceRecord.isSignedOrEncrypted() 
net.rim.device.api.servicebook.ServiceRecord.isSecureService()
          as of 5.0.0, replaced by ServiceRecord.isStrongSecureService() 
net.rim.device.api.system.AccelerometerSensor.Channel.removeAccelerometerListener()
          use AccelerometerSensor.Channel.removeAccelerometerListener( AccelerometerListener l ) 
net.rim.device.api.system.AccelerometerSensor.Channel.setAccelerometerListener(AccelerometerListener)
          use AccelerometerSensor.Channel.addAccelerometerListener( AccelerometerListener l ). Historically this has behaved like you'd expect AccelerometerSensor.Channel.addAccelerometerListener( AccelerometerListener l ) to, that is, support for multiple listeners. 
net.rim.device.api.system.Alert.enablePWMSync(boolean)
          This is no longer supported. 
net.rim.device.api.system.Alert.isADPCMSupported()
          ADPCM is no longer supported. 
net.rim.device.api.system.Alert.playBuzzer(short[], int)
          Replaced by Alert.startBuzzer(short[],int,boolean) 
net.rim.device.api.system.Alert.setADPCMVolume(int)
          ADPCM 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.Application.acceptsKeyUpEvents()
          KEY_UP events are now always sent. 
net.rim.device.api.system.Application.addHolsterListener(HolsterListener)
            
net.rim.device.api.system.Application.addPeripheralListener(PeripheralListener)
            
net.rim.device.api.system.Application.addTrackwheelListener(TrackwheelListener)
          Use Screen.navigationClick(int, int) or Screen.navigationMovement(int, int, int, int) instead. 
net.rim.device.api.system.Application.enableKeyUpEvents(boolean)
          KEY_UP events are now always sent. 
net.rim.device.api.system.Application.removeHolsterListener(HolsterListener)
            
net.rim.device.api.system.Application.removePeripheralListener(PeripheralListener)
            
net.rim.device.api.system.Application.removeTrackwheelListener(TrackwheelListener)
          Use Screen.navigationClick(int, int) or Screen.navigationMovement(int, int, int, int) instead. 
net.rim.device.api.system.ApplicationDescriptor.getIcon()
          Use ApplicationDescriptor.getEncodedIcon() instead. 
net.rim.device.api.system.ApplicationManager.setInHolsterInputProcess()
            
net.rim.device.api.system.Audio.playFile(int, int, String)
          No longer supported. See javax.microedition.media for an alternative. 
net.rim.device.api.system.Audio.recordFile(int, int, String)
          No longer supported. See javax.microedition.media for an alternative. 
net.rim.device.api.system.Audio.stopFile(int, int, String)
          No longer supported. See javax.microedition.media for an alternative. 
net.rim.device.api.system.Bitmap.createAlpha(int)
          Use createAlpha() instead. 
net.rim.device.api.system.CDMAInfo.getRegistrationAddress()
          This function always returns null. 
net.rim.device.api.system.CodeModuleGroup.load(String)
          Use CodeModuleGroupManager.load(String) instead. 
net.rim.device.api.system.CodeModuleGroup.loadAll()
          Use CodeModuleGroupManager.loadAll() instead. 
net.rim.device.api.system.CodeModuleManager.deleteModule(int, boolean)
          Use CodeModuleManager.deleteModuleEx(int,boolean) instead. 
net.rim.device.api.system.CodeModuleManager.writeNewModule(int, byte[], int, int)
          Replaced by CodeModuleManager.writeNewModule(int,int,byte[],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.DeviceInfo.getTotalFlashSize()
          this method is limited to 2GB, use DeviceInfo.getTotalFlashSizeEx() instead 
net.rim.device.api.system.DeviceInfo.isInHolster()
          See Sensor.HOLSTER 
net.rim.device.api.system.Display.getContrast()
            
net.rim.device.api.system.Display.getContrastIncrement()
            
net.rim.device.api.system.Display.isContrastConfigurable()
            
net.rim.device.api.system.Display.setContrast(int)
            
net.rim.device.api.system.EncodedImage.setScale(int)
          Use EncodedImage.scaleImage32(int, int) 
net.rim.device.api.system.EventInjector.KeyCodeEvent.setTime(int)
          Use EventInjector.Event.setTimeToCurrent() instead. 
net.rim.device.api.system.EventInjector.KeyEvent.setTime(int)
          Use EventInjector.Event.setTimeToCurrent() instead. 
net.rim.device.api.system.EventLogger.setMinimumLevel(int)
          Use EventLogger.setMinimumLevel(int, long) instead. 
net.rim.device.api.system.GPRSInfo.getRegistrationAddress()
          This method always returns null. 
net.rim.device.api.system.IDENInfo.getRegistrationAddress()
          This function always returns null. 
net.rim.device.api.system.IOPort.registerNotifyPattern(byte[])
          Please use SerialPort.registerNotifyPattern(byte[]) instead. 
net.rim.device.api.ui.DrawTextParam.getEndOffset()
          Use the data member iEndOffset directly. 
net.rim.device.api.ui.DrawTextParam.getStartOffset()
          Use the data member iStartOffset directly. 
net.rim.device.api.ui.Field.onDisplay()
          Use #onUiEngineAttached. 
net.rim.device.api.ui.Field.onMenuDismissed()
          Use onMenuDismissed(Menu). 
net.rim.device.api.ui.Field.onUndisplay()
          Use #onUiEngineAttached. 
net.rim.device.api.ui.Font.setDefaultFont(Font)
          Use FontManager.setApplicationFont(net.rim.device.api.ui.Font). 
net.rim.device.api.ui.FontFamily.getFonts()
          Use FontFamily.getFont(int, int) 
net.rim.device.api.ui.Graphics.drawPathOutline(int[], int[], byte[], int[], boolean)
          Use Graphics.drawOutlinedPath(int[],int[],byte[],int[],boolean). 
net.rim.device.api.ui.Graphics.getNumColors()
          Use Display.getNumColors(); 
net.rim.device.api.ui.Graphics.getScreenHeight()
          Use Display.getHeight() 
net.rim.device.api.ui.Graphics.getScreenHorizontalResolution()
          Use Display.getHorizontalResolution() 
net.rim.device.api.ui.Graphics.getScreenVerticalResolution()
          Use Display.getVerticalResolution() 
net.rim.device.api.ui.Graphics.getScreenWidth()
          Use Display.getWidth() 
net.rim.device.api.ui.Graphics.isColor()
          Use Display.isColor(). 
net.rim.device.api.ui.Manager.isDownArrowShown()
          Please use ScrollView.canScrollDownward() instead. 
net.rim.device.api.ui.Manager.isUpArrowShown()
          Please use ScrollView.canScrollUpward() instead. 
net.rim.device.api.ui.Manager.nextFocus(int, boolean)
          Please use Manager.nextFocus(int, int) instead 
net.rim.device.api.ui.MenuItem.setText(String)
          Use setText(StringProvider) 
net.rim.device.api.ui.Screen.isGlobalStatus()
          Use isGlobal() 
net.rim.device.api.ui.Screen.onDisplay()
          Use onUiEngineAttached 
net.rim.device.api.ui.Screen.onMenuDismissed()
          Use onMenuDismissed(Menu). 
net.rim.device.api.ui.Screen.onUndisplay()
          Use onUiEngineAttached 
net.rim.device.api.ui.UiApplication.dismissStatus(Screen)
          Use popScreen(Screen) 
net.rim.device.api.ui.UiApplication.pushGlobalScreen(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.ui.UiEngine.dismissStatus(Screen)
          Use popScreen(Screen) 
net.rim.device.api.ui.UiEngine.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.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.ui.component.ActiveRichTextField.getMainScreenManager()
          Meaningless method accidentally exposed. 
net.rim.device.api.ui.component.Dialog.getDontAskAgainValue()
          Use isDontAskAgainChecked() 
net.rim.device.api.ui.component.Dialog.onDisplay()
          Use Dialog.onUiEngineAttached(boolean). 
net.rim.device.api.ui.component.Dialog.onUndisplay()
          Use Dialog.onUiEngineAttached(boolean). 
net.rim.device.api.ui.component.Menu.add(String, Object, int)
          Use add(MenuItem.separator(int)). 
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.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.Menu.setTarget(Field)
            
net.rim.device.api.ui.component.TextField.getTrackpadScrollAmount()
          Use getTrackpadScrollLineSpeed instead 
net.rim.device.api.ui.component.table.SimpleList.setCommand(CommandHandler, ReadOnlyCommandMetadata, Object)
          Use SimpleList.setCommand(Command command) and SimpleList.setCommandContext(Object commandContext) instead. 
net.rim.device.api.ui.component.table.TableController.setCommand(CommandHandler, ReadOnlyCommandMetadata, Object)
          Use setCommand(Command command) and setCommandContext(Object commandContext) instead. 
net.rim.device.api.unifiedsearch.searchables.adapters.EntityBasedSearchableProvider.defineSupportedSearchFields()
          Provide an overload of EntityBasedSearchableProvider.getSupportedSearchFields() instead 
net.rim.device.api.unifiedsearch.searchables.adapters.EntityBasedSearchableProvider.getSearchableEntities()
          The framework will not invoke this method. Use EntityBasedSearchableProvider.addSearchableData(SearchableDataObject[]) or AppContentManager.insertContent(SearchableEntity[], AppContentListener, RegistrationToken) to add data to the search framework 
net.rim.device.api.unifiedsearch.searchables.adapters.EntityBasedSearchableProvider.load(NotificationListener, int)
          Please use #addSearchableData(SearchableDataObject[] or another overload of that method instead. 
net.rim.device.api.unifiedsearch.searchables.adapters.EntityBasedSearchableProvider.pause()
          This feature is no longer provided by EntityBasedSearchProvider. 
net.rim.device.api.unifiedsearch.searchables.adapters.EntityBasedSearchableProvider.resume()
          This feature is no longer provided by EntityBasedSearchProvider. 
net.rim.device.api.unifiedsearch.searchables.adapters.SearchableDataObject.getUiActions()
          This feature is no longer used by SearchableDataObject. 
net.rim.device.api.util.SimpleSortingVector.add(Object)
          Use SimpleSortingVector.addElement(java.lang.Object) instead. 
net.rim.device.api.util.SimpleSortingVector.getAt(int)
          Use Vector.elementAt(int) instead. 
net.rim.device.api.util.SimpleSortingVector.getVector()
          SimpleSortingVector is now an instance of Vector 
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.util.StringUtilities.compareToIgnoreCase(String, String)
          This function will give poor or unusable results for most non-English locales because it ignores locale-dependent collation rules. Use compare with COLLATE_LEVEL_SECONDARY. 
net.rim.device.api.util.StringUtilities.compareToIgnoreCase(String, String, int)
          This function will give poor or unusable results for most non-English locales because it ignores locale-dependent collation rules. Use compare. 
 

Deprecated Constructors
net.rim.blackberry.api.invoke.SearchArguments(String, String)
          use SearchArguments.SearchArguments(String) instead with text as the query (name is ignored) 
net.rim.blackberry.api.phone.phonegui.PhoneScreen(int, Application)
          As of BlackBerry API 6.0, replaced by ScreenModel. 
net.rim.device.api.browser.field.HistoryEvent(Object, String, int)
          Directly modifying the history can lead to very strange and unintuitive behavior as history management is precisely defined in the HTML5 specification. Therefore use of this event is not recommended. 
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.crypto.certificate.CertificateServerInfo(String, int, String, int)
            
net.rim.device.api.crypto.certificate.CertificateServerInfo(String, int, String, String, int, int)
            
net.rim.device.api.io.FileInputStream(int, String)
          use javax.microedition.io.file 
net.rim.device.api.io.FileOutputStream(int, String)
          use javax.microedition.io.file 
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.system.ApplicationDescriptor(ApplicationDescriptor, String, String[], Bitmap, int, String, int)
          The caching of icon Bitmap objects is no longer supported. Use ApplicationDescriptor.ApplicationDescriptor(ApplicationDescriptor,String,String[],int,String,int) instead. 
net.rim.device.api.system.ApplicationDescriptor(ApplicationDescriptor, String, String[], Bitmap, int, String, int, int)
          The caching of icon Bitmap objects is no longer supported. Use ApplicationDescriptor.ApplicationDescriptor(ApplicationDescriptor,String,String[],int,String,int,int) instead. 
net.rim.device.api.system.Backlight()
          All members of Backlight are static. 
net.rim.device.api.system.Bitmap(int, int, int, byte[])
          Use setRGB565 or setARGB to initialize the Bitmap data. 
net.rim.device.api.system.EventInjector.KeyCodeEvent(int, char, int, int)
          Use KeyCodeEvent(int, char, int) instead. 
net.rim.device.api.system.EventInjector.KeyEvent(int, char, int, int)
          Use KeyEvent(int, char, int) instead. 
net.rim.device.api.ui.Graphics(Bitmap)
          Use the static factory method, Graphics.create(Bitmap), instead. 
net.rim.device.api.ui.MenuItem(String, int, int)
          Use MenuItem(StringProvider, int, int) 
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.ui.component.Dialog(int, String, int, Bitmap, long, boolean)
          Use setDontAskAgainPrompt 
 



Copyright 1999-2011 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Java is a trademark of Oracle America Inc. in the US and other countries.
Legal