Deprecated API


Contents
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.PIMListListener
            
net.rim.blackberry.api.pim.RemoteLookupListener
            
net.rim.device.api.synchronization.SerialSyncListener
          Use SyncEventListener 
net.rim.device.api.system.AudioFileListener
          No longer supported 
net.rim.device.api.system.HolsterListener
            
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. 
 

Deprecated Classes
net.rim.blackberry.api.mail.ContactAttachmentPart
          In favour of PDAPContactAttachmentPart. 
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.MobitexAddress
          Mobitex is no longer supported. 
net.rim.device.api.ldap.LDAPPasswordCache
          No longer for 3rd party use. 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. 
 

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.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_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.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.itpolicy.ITPolicy.GUID_IT_POLICY_CHANGED
          Use @link{ITPolicyChangedListener#policyChanged}. This event will only go to non-RIM applications 
net.rim.device.api.itpolicy.ITPolicy.GUID_IT_POLICY_CHANGED_LOCKED_HANDHELD
          Use @link{ITPolicyChangedListener#policyChanged}. This event will only go to non-RIM applications 
net.rim.device.api.itpolicy.ITPolicy.GUID_PASSWORD_SET_BY_ITADMIN
          Use @link{ITPolicyInfoListener#passwordSetByAdmin}. This event will only go to non-RIM applications 
net.rim.device.api.lbs.Locator.REQUEST_TIMEOUT
            
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.COLUMNWISE_MONOCHROME
          use ROWWISE_MONOCHROME and then perform a rotation 
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.Keypad.KEY_APPLICATION
          Use KEY_CONVENIENCE_2 
net.rim.device.api.ui.component.ButtonField.BARE
          Used only for non-color devices. 
 

Deprecated Methods
net.rim.blackberry.api.pdap.BlackBerryContactList.choose(Contact, int, boolean)
          Use BlackBerryContactList.choose() instead. 
net.rim.blackberry.api.phone.PhoneCall.getCallPhoneNumber()
          This API is redundant to getPhoneNumber. 
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.bluetooth.BluetoothSerialPort.setProperties(int, int, int)
          setProperties is no longer supported 
net.rim.device.api.browser.field2.BrowserField.getRenderingOptions()
            
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.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.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.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.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()
          Will be replaced with one returning an EncodedImage. use getEncodedIcon() 
net.rim.device.api.system.ApplicationManager.setInHolsterInputProcess()
            
net.rim.device.api.system.Audio.playFile(int, int, String)
          No longer supported 
net.rim.device.api.system.Audio.recordFile(int, int, String)
          No longer supported 
net.rim.device.api.system.Audio.stopFile(int, int, String)
          No longer supported 
net.rim.device.api.system.CDMAInfo.getRegistrationAddress()
          This function always returns null. 
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.system.CodeModuleManager.deleteModule(int, boolean)
          Use deleteModuleEx 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.isInHolster()
            
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.GPRSInfo.getRegistrationAddress()
          This method always returns null. 
net.rim.device.api.system.HolsterListener.inHolster()
            
net.rim.device.api.system.HolsterListener.outOfHolster()
            
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.onMenuDismissed()
          Use onMenuDismissed(Menu). 
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)
            
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.nextFocus(int, boolean)
          Please use Manager.nextFocus(int, int) instead 
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.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. 
 

Deprecated Constructors
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.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 Bitmaps is no longer supported, use ApplicationDescriptor(ApplicationDescriptor,String,String[],int,String,int) 
net.rim.device.api.system.ApplicationDescriptor(ApplicationDescriptor, String, String[], Bitmap, int, String, int, int)
          the caching of icon Bitmaps is no longer supported, use ApplicationDescriptor(ApplicationDescriptor,String,String[],int,String,int,int) 
net.rim.device.api.system.Backlight()
          All members of Backlight are static. 
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)
          Instead use Graphics.create( Bitmap ) 
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-2010 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. All Rights Reserved.
Copyright 2002-2003 Nokia Corporation All Rights Reserved.
Java is a trademark of Sun Microsystems, Inc.