Device characteristic | Method |
Identity |
simulator | DeviceInfo.isSimulator() |
manufacturer | DeviceInfo.getManufacturerName() |
device name | DeviceInfo.getDeviceName() |
PIN | DeviceInfo.getDeviceId() |
IMSI | SIMCardInfo.getIMSI() |
ESN | CDMAInfo.getESN() |
MEID | CDMAInfo.getHexMEID() |
IMEI | GPRSInfo.getIMEI() |
owner information | OwnerInfo.getOwnerInformation() |
owner name | OwnerInfo.getOwnerName() |
vendor ID | Branding.getVendorId() |
branding data version | Branding.getVersion() |
is branding data signed | Branding.isDataSigned() |
Battery |
battery level (%) | DeviceInfo.getBatteryLevel() |
detailed battery information | DeviceInfo.getBatteryStatus() |
battery temperature (°C) | DeviceInfo.getBatteryTemperature() |
battery voltage (mV) | DeviceInfo.getBatteryVoltage() |
battery removable | DeviceInfo.isBatteryRemovable() |
Speaker/Headset |
audio | Audio.isSupported() |
codecs supported | Audio.isCodecSupported() |
volume level (%) | Audio.getVolume() |
built-in headset | Audio.hasBuiltInHeadset() |
headset connected | Audio.isHeadsetConnected() |
Accelerometer |
accelerometer | AccelerometerSensor.isSupported() |
Flip Sensor |
flip open or closed | Sensor.getState() |
flip | Sensor.isSupported() |
Holster Sensor |
in holster | Sensor.getState() |
holster sensor | Sensor.isSupported() |
Slide Sensor |
sliding keyboard | Sensor.isSupported() |
slide open | Sensor.isSlideOpened() |
slide closed | Sensor.isSlideClosed() |
slide moving | Sensor.isSlideInTransition() |
Display |
horizontal resolution (pixels per meter) | Display.getHorizontalResolution() |
vertical resolution (pixels per meter) | Display.getVerticalResolution() |
drawable area height (pixels) | Display.getHeight() |
drawable area width (pixels) | Display.getWidth() |
number of display colors | Display.getNumColors() |
subpixels? backlight required | Display.getProperties() |
Backlight |
backlight on | Backlight.isEnabled() |
backlight brightness (%) | Backlight.getBrightness() |
backlight brightness configurable | Backlight.isBrightnessConfigurable() |
backlight brightness default (%) | Backlight.getBrightnessDefault() |
default backlight timeout (s) | Backlight.getTimeoutDefault() |
L.E.D. |
LED | LED.isSupported() |
multi-color LED | LED.isPolychromatic() |
Radios |
supported wireless access families | RadioInfo.getSupportedWAFs() |
GPS |
GPS | GPSInfo.isGPSModeAvailable() |
default GPS mode | GPSInfo.getDefaultGPSMode() |
Bluetooth |
Bluetooth | BluetoothSerialPort.isSupported() |
Bluetooth information | BluetoothSerialPort.getSerialPortInfo() |
Phone |
phone number | Phone.getDevicePhoneNumber() |
voice mail | Phone.isVoiceMailIndicatorOn() |
Memory |
flash memory size (bytes) | DeviceInfo.getTotalFlashSizeEx() |
free flash memory (bytes) | Memory.getFlashFree() |
get RAM statistics object | Memory.getRAMStats() |
OS and software |
platform version | DeviceInfo.getPlatformVersion() |
software version | DeviceInfo.getSoftwareVersion() |
Camera |
camera | DeviceInfo.hasCamera() |
USB port |
USB port | USBPort.isSupported() |
USB connection state | USBPort.getConnectionState() |
No comments:
Post a Comment