Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Supported System.getProperty keys

by Retired on ‎02-16-2010 03:20 PM - edited on ‎11-04-2010 04:59 PM by Retired (8,163 Views)

Summary

 

This article applies to the following:

  • BlackBerry® smartphones based on Java® technology

Description

 

The System.getProperty(key) method returns the value of the system property indicated by the specified key or null if there is no property associated with that key.

BlackBerry® Device Software 3.7 supports the following keys for use in the System.getProperty method:


Key  Description  Sample Value 
microedition.encoding Default character encoding ISO8859_1
microedition.configuration Connected Limited Device Configuration (CLDC) version CLDC-1.0
microedition.profiles Mobile Information Device Profile (MIDP) version MIDP-1.0
microedition.platform Platform name BlackBerry smartphone
microedition.locale Current locale en
user.timezone Current time zone EST

BlackBerry Device Software 4.0 through 4.2 supports all keys listed previously, as well as the following keys for use in the System.getProperty method:


Key   Description  Sample Value 
microedition.jtwi.version Supported Java Technology for the Wireless Industry (JTWI) version 1.0
microedition.media.version Supported media version 1.1
supports.mixing Whether or not the BlackBerry smartphone supports audio mixing false
supports.audio.capture Whether or not the BlackBerry smartphone supports audio capture false
supports.video.capture Whether or not the BlackBerry smartphone supports video capture false
supports.recording Whether or not the BlackBerry smartphone supports recording true
microedition.pim.version Supported personal information management (PIM) version 1.0

BlackBerry Device Software 4.3 and laters supports all keys listed previously, as well as the following keys for use in the System.getProperty method:


Key  Description  Sample Value 
audio.encodings Supported audio encodings encoding=audio/amr
microedition.io.file.FileConnection.version Version number of file connection optional package (FCOP) 1.0
file.separator Default name-separator character /
fileconn.dir.photos Default directory for storing pictures on device memory file:///store/home/user/pictures/
fileconn.dir.photos.name Folder name where pictures are stored in device memory Pictures
fileconn.dir.videos Default directory for storing videos in device memory file:///store/home/user/videos/
fileconn.dir.videos.name Folder name where videos are stored in device memory Video
fileconn.dir.tones Default directory for storing ringtones in device memory file:///store/home/user/ringtones/
fileconn.dir.tones.name Folder name where ringtones are stored in device memory Ringtones
fileconn.dir.music Default directory for storing music in device memory file:///store/home/user/music/
fileconn.dir.music.name Folder name where music is stored in device memory Music
fileconn.dir.memorycard Default directory for storing documents in device memory file:///store/home/user/documents/
fileconn.dir.memorycard.name Folder name where documents are stored in device memory Documents
fileconn.dir.memorycard MicroSD card root directory file:///SDCard/
fileconn.dir.memorycard.name Friendly name of MicroSD card root directory Media Card
fileconn.dir.memorycard.photos Default directory for storing photos on SD Card file:///SDCard/BlackBerry/pictures/
fileconn.dir.memorycard.photos.name Folder name where pictures are stored on a MicroSD card Pictures
fileconn.dir.memorycard.videos Default directory for storing videos on a MicroSD card file:///SDCard/BlackBerry/videos/
fileconn.dir.memorycard.videos.name Folder name where videos are stored on a MicroSD card Videos
fileconn.dir.memorycard.tones Default directory for storing ringtones on a MicroSD card file:///SDCard/BlackBerry/ringtones/
fileconn.dir.memorycard.tones.name Folder name where ringtones are stored on a MicroSD card Ringtones
fileconn.dir.memorycard.music Default directory for storing music on a MicroSD card file:///SDCard/BlackBerry/music/
fileconn.dir.memorycard.music.name Folder name where music is stored on a MicroSD card Music
microedition.location.version Version number of Java Specification Request (JSR) 179 supported 1.0.1
microedition.satsa.version Version number of JSR 177 supported 1.0
microedition.smartcardslots Names of the smart card slots 0C
microedition.chapi.version Version number of JSR 211 supported 1.0
microedition.global.version Version number of JSR 238 supported 1.0
microedition.bluetooth.version Version of JSR 82 supported 1.1
bluetooth.api.version Version of JSR 82 supported 1.1
obex.api.version Version of JSR 82 supported 1.1
bluetooth.l2cap.receiveMTU.max Maximum ReceiveMTU size in bytes supported in L2CAP 1024
bluetooth.connected.devices.max Maximum number of connected devices supported 5
bluetooth.connected.inquiry Whether or not inquiry allowed during a connection true
bluetooth.connected.page Whether or not paging allowed during a connection true
bluetooth.connected.inquiry.scan Whether or not inquiry scanning allowed during a connection true
bluetooth.connected.page.scan Whether or not page scanning allowed during a connection true
bluetooth.master.switch Whether or not master/slave switch allowed false
bluetooth.sd.trans.max Maximum number of concurrent service discovery transactions 1
bluetooth.sd.attr.retrievable.max Maximum number of service attributes to be retrieved per service record 10
wireless.messaging.mms.mmsc Multimedia Messaging Service Center address for messages Varies depending on wireless service provider
Users Online
Currently online: 27 members 995 guests
Please welcome our newest community members: