device.service
Class DeviceService

java.lang.Object
  extended by android.os.Binder
      extended by device.service.IDeviceService.Stub
          extended by device.service.DeviceService
All Implemented Interfaces:
android.os.IBinder, android.os.IInterface, device.service.IDeviceService

public class DeviceService
extends device.service.IDeviceService.Stub


Nested Class Summary
 
Nested classes/interfaces inherited from interface device.service.IDeviceService
device.service.IDeviceService.Stub
 
Nested classes/interfaces inherited from interface android.os.IBinder
android.os.IBinder.DeathRecipient
 
Field Summary
static java.lang.String TAG
           
 
Fields inherited from interface android.os.IBinder
DUMP_TRANSACTION, FIRST_CALL_TRANSACTION, FLAG_ONEWAY, INTERFACE_TRANSACTION, LAST_CALL_TRANSACTION, LIKE_TRANSACTION, PING_TRANSACTION, SYSPROPS_TRANSACTION, TWEET_TRANSACTION
 
Constructor Summary
DeviceService(android.content.Context context)
           
 
Method Summary
 boolean getAdbEnabled()
          This function reads ADB(USB Debugging) flag.
 java.lang.String getAndroidImageVersion()
          This function reads ANDROID image version.
 java.lang.String getAndroidVersion()
          This function reads Android version.
 java.lang.String getBackupBatteryStatus()
          This function reads backup battery charging status.
 java.lang.String getBatterySerialNumber()
          This function reads backup battery serial number.
 java.lang.String getBluetoothDriverVersion()
          This function reads bluetooth driver version.
 java.lang.String getBluetoothMacAddress()
          This function reads bluetooth MAC address.
 int getBluetoothStatus()
           
 int getBluetoothType()
          This function reads bluetooth type.
 java.lang.String getBootloaderImageVersion()
          This function reads BOOTLOADER image (u-boot.bin) version.
 java.lang.String getBuildNumber()
          This function reads build number.
 int getCameraType()
          This function reads camera type.
 java.lang.String getChargingBackupBatteryFromMainBatteryFlag()
          This function reads 'ChargingBackupBatteryFromMainBattery' flag.
 java.lang.String getChargingMainBatteryFromUsbFlag()
          This function reads 'ChargingMainBatteryFromUsb' flag.
 java.lang.String getCriticalBatteryWarningLevel()
          This function reads critical battery warning level.
 byte[] getCustomerMfgData()
          This function reads customer mfg data.
 java.lang.String getCustomerMfgStringData()
          This function reads customer mfg data.
 java.lang.String getDeviceName()
          This function reads device name.
 int getDisplayType()
          This function reads display type.
 java.lang.String getExpansion3p3vPower()
          This function reads 'Expansion3p3vPower' flag, Use for Nautiz x8 only.
 java.lang.String getExpansion5vPower()
          This function reads 'Expansion5vPower' flag, Use for Nautiz x8 only.
 java.lang.String getExpansionGpio()
          This function reads 'ExpansionGpio' flag, Use for Nautiz x8 only.
 java.lang.String getGpsPower()
          This function reads 'GpsPower' flag, Use for Zeno 20 only.
 int getGpsStatus()
           
 int getGpsType()
          This function reads GPS type.
 java.lang.String getHardwareRevision()
          This function reads hardware revision.
 java.lang.String getKernelImageVersion()
          This function reads KERNEL image (boot.img) version.
 java.lang.String getKernelVersion()
          This function reads linux kernel version.
 int getKeyboardType()
          This function reads keyboard type.
 java.lang.String getLowBatteryWarningLevel()
          This function reads low battery warning level.
 java.lang.String getMainBatteryStatus()
          This function reads main battery charging status.
 int getMajorNumber()
          This function reads major number of device.
 java.lang.String getManufactureDate()
          This function reads manufacture date.
 java.lang.String getManufacturer()
          This function reads manufacturer name.
 java.lang.String getModelName()
          This function reads model name.
 java.lang.String getModelNumber()
           
 java.lang.String getModuleName(int index)
          Not Supported
 int getMsrType()
          Not Supported
 int getNandType()
          This function reads NAND type.
 boolean getNavigationBarHide()
          This function reads 'NavigationBarHide' flag.
 boolean getOnlyHardKeyboardEnabled()
          This function reads 'OnlyHardKeyboard' flag.
 java.lang.String getPartNumber()
          This function reads part number.
 int getPhoneStatus()
           
 int getPhoneType()
          This function reads phone module type.
 java.lang.String getProcessorInfo()
          This function reads processor information.
 java.lang.String getRecoveryImageVersion()
          This function reads RECOVERY image (recovery.img) version.
 java.lang.String getRfidFirmwareVersion()
          Not Supported
 java.lang.String getRfidSamInfo(int index)
          Not Supported
 java.lang.String getRfidSerialNumber()
          Not Supported
 int getRfidType()
          Not Supported
 int getScannerClass(int scanner)
          Not Supported
 java.lang.String getScannerClassName(int scanner)
          Not Supported
 java.lang.String getScannerName(int scanner)
          Not Supported
 int getScannerType()
          Not Supported
 int getSensorAccelerometerType()
          This function reads accelerometer type.
 int getSensorCpuTemperatureType()
          Not Supported
 int getSensorGyroscopeType()
          This function reads gyroscope sensor type.
 int getSensorLightType()
          This function reads ambient light sensor type.
 int getSensorMagneticFieldType()
          This function reads magnetic field sensor type.
 int getSensorPressureType()
          This function reads pressure sensor type.
 int getSensorProximityType()
          This function reads proximity sensor type.
 java.lang.String getSerialNumber()
          This function reads serial number.
 java.lang.String getStyluspenMode()
          This function reads 'StyluspenMode' flag, Use for S3508 Only.
 java.lang.String getTouchFirmwareVersion()
          This function reads touch firmware version.
 int getTouchType()
          This function reads touch device type.
 java.lang.String getWifiDriverVersion()
          This function reads WiFi driver version.
 java.lang.String getWifiFirmwareVersion()
          This function reads WiFi firmware version.
 java.lang.String getWifiIpAddress()
          This function reads WiFi IP address.
 java.lang.String getWifiMacAddress()
          This function reads WiFi MAC address.
 int getWifiStatus()
           
 int getWifiType()
          This function reads WiFi module type.
 java.lang.String getXloaderImageVersion()
          This function reads XLOADER image (MLO) version.
 void lockNow(boolean go2sleep)
           
 void reboot(boolean confirm, java.lang.String reason, boolean wait)
           
 void setAdbEnabled(boolean enabled)
          This function write ADB(USB Debugging) flag.
 boolean setCustomerMfgData(byte[] data)
          This function writes customer mfg data.
 boolean setCustomerMfgStringData(java.lang.String data)
          This function writes customer mfg data.
 void setExpansion3p3vPower(boolean enabled)
          This function write 'Expansion3p3vPower' flag, Use for Nautiz x8 only.
 void setExpansion5vPower(boolean enabled)
          This function write 'Expansion5vPower' flag, Use for Nautiz x8 only.
 void setExpansionGpio(boolean enabled)
          This function write 'ExpansionGpio' flag, Use for Nautiz x8 only.
 void setGpsPower(boolean enabled)
          This function write 'GpsPower' flag, Use for Zeno 20 only.
 void setNavigationBarHide(boolean enabled)
          This function write 'NavigationBarHide' flag.
 void setOnlyHardKeyboardEnabled(boolean enabled)
          This function write 'OnlyHardKeyboard' flag.
 void setStyluspenMode(boolean enabled)
          This function writes 'StyluspenMode' flag , Use for S3508 Only.
 void toggleBrightness()
           
 
Methods inherited from class device.service.IDeviceService.Stub
asBinder, asInterface, onTransact
 
Methods inherited from class android.os.Binder
attachInterface, clearCallingIdentity, dump, dump, dumpAsync, finalize, flushPendingCommands, getCallingPid, getCallingUid, getCallingUserHandle, getInterfaceDescriptor, getThreadStrictModePolicy, isBinderAlive, joinThreadPool, linkToDeath, pingBinder, queryLocalInterface, restoreCallingIdentity, setThreadStrictModePolicy, transact, unlinkToDeath
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TAG

public static final java.lang.String TAG
Constructor Detail

DeviceService

public DeviceService(android.content.Context context)
Method Detail

reboot

public void reboot(boolean confirm,
                   java.lang.String reason,
                   boolean wait)

lockNow

public void lockNow(boolean go2sleep)
             throws android.os.RemoteException
Throws:
android.os.RemoteException

toggleBrightness

public void toggleBrightness()
                      throws android.os.RemoteException
Throws:
android.os.RemoteException

getHardwareRevision

public java.lang.String getHardwareRevision()
                                     throws android.os.RemoteException
This function reads hardware revision.

Returns:
hardware revision with String
Throws:
android.os.RemoteException
See Also:
getAndroidVersion(), getKernelVersion()

getAndroidVersion

public java.lang.String getAndroidVersion()
                                   throws android.os.RemoteException
This function reads Android version.

Returns:
Android version with String
Throws:
android.os.RemoteException
See Also:
getHardwareRevision(), getKernelVersion()

getKernelVersion

public java.lang.String getKernelVersion()
                                  throws android.os.RemoteException
This function reads linux kernel version.

Returns:
linux kernel version with String
Throws:
android.os.RemoteException
See Also:
getHardwareRevision(), getAndroidVersion()

getBuildNumber

public java.lang.String getBuildNumber()
                                throws android.os.RemoteException
This function reads build number.

Returns:
build number with String
Throws:
android.os.RemoteException

getManufacturer

public java.lang.String getManufacturer()
                                 throws android.os.RemoteException
This function reads manufacturer name.

Returns:
manufacturer name with String
Throws:
android.os.RemoteException

getModelName

public java.lang.String getModelName()
                              throws android.os.RemoteException
This function reads model name.

Returns:
model name with String
Throws:
android.os.RemoteException

getProcessorInfo

public java.lang.String getProcessorInfo()
                                  throws android.os.RemoteException
This function reads processor information.

Returns:
processor information with String
Throws:
android.os.RemoteException

getSerialNumber

public java.lang.String getSerialNumber()
                                 throws android.os.RemoteException
This function reads serial number.

Returns:
serial number with String
Throws:
android.os.RemoteException

getPartNumber

public java.lang.String getPartNumber()
                               throws android.os.RemoteException
This function reads part number.

Returns:
part number with String
Throws:
android.os.RemoteException

getModelNumber

public java.lang.String getModelNumber()
                                throws android.os.RemoteException
Throws:
android.os.RemoteException

getManufactureDate

public java.lang.String getManufactureDate()
                                    throws android.os.RemoteException
This function reads manufacture date.

Returns:
manufacture date with String
Throws:
android.os.RemoteException

getXloaderImageVersion

public java.lang.String getXloaderImageVersion()
                                        throws android.os.RemoteException
This function reads XLOADER image (MLO) version.

Returns:
XLOADER image version with String
Throws:
android.os.RemoteException

getBootloaderImageVersion

public java.lang.String getBootloaderImageVersion()
                                           throws android.os.RemoteException
This function reads BOOTLOADER image (u-boot.bin) version.

Returns:
BOOTLOADER image version with String
Throws:
android.os.RemoteException

getKernelImageVersion

public java.lang.String getKernelImageVersion()
                                       throws android.os.RemoteException
This function reads KERNEL image (boot.img) version.

Returns:
KERNEL image version with String
Throws:
android.os.RemoteException

getRecoveryImageVersion

public java.lang.String getRecoveryImageVersion()
                                         throws android.os.RemoteException
This function reads RECOVERY image (recovery.img) version.

Returns:
RECOVERY image version with String
Throws:
android.os.RemoteException

getAndroidImageVersion

public java.lang.String getAndroidImageVersion()
                                        throws android.os.RemoteException
This function reads ANDROID image version.

Returns:
ANDROID image version with String
Throws:
android.os.RemoteException

getMajorNumber

public int getMajorNumber()
                   throws android.os.RemoteException
This function reads major number of device.

Returns:
Major number with int
Throws:
android.os.RemoteException

getDeviceName

public java.lang.String getDeviceName()
                               throws android.os.RemoteException
This function reads device name.

Returns:
Device name with String
Throws:
android.os.RemoteException

getModuleName

public java.lang.String getModuleName(int index)
                               throws android.os.RemoteException
Not Supported

Throws:
android.os.RemoteException

getCameraType

public int getCameraType()
                  throws android.os.RemoteException
This function reads camera type.

Returns:
camera type with int; Zero indicates none.
 public static final int CAMERA_OV3640   = 1;
 public static final int CAMERA_MT9T111  = 2;
 public static final int CAMERA_S5K4ECGX = 3;
 public static final int CAMERA_MT9E013  = 4;
 public static final int CAMERA_AR0833  = 5;
 
Throws:
android.os.RemoteException

getDisplayType

public int getDisplayType()
                   throws android.os.RemoteException
This function reads display type.

Returns:
display type with int; Zero indicates none.
 public static final int DISPLAY_VGA_TRULY  = 103;
 public static final int DISPLAY_WVGA_TRULY = 105;
 public static final int DISPLAY_FWVGA_TRULY = 107;
 
Throws:
android.os.RemoteException

getKeyboardType

public int getKeyboardType()
                    throws android.os.RemoteException
This function reads keyboard type.

Returns:
keyboard type with int; Zero indicates none.
 public static final int KEYBOARD_NUMERIC_PM60       = 41;
 public static final int KEYBOARD_QWERTY_PM60        = 42;
 public static final int KEYBOARD_NUMERIC_MUTANT     = 43;
 public static final int KEYBOARD_QWERTY_MUTANT      = 44;
 public static final int KEYBOARD_NUMERIC_OCTANT     = 45;
 public static final int KEYBOARD_NUMERIC_PM450      = 46;
 public static final int KEYBOARD_ALPHANUMERIC_PM450 = 47;
 public static final int KEYBOARD_NAVIGATION_SEXTANT = 48;
 public static final int KEYBOARD_NUMERIC_XM5        = 49;
 public static final int KEYBOARD_QWERTY_XM5         = 50;
 
Throws:
android.os.RemoteException

getNandType

public int getNandType()
                throws android.os.RemoteException
This function reads NAND type.

Returns:
NAND type with int; Zero indicates none.
 public static final int NAND_EMMC = 0x0001;
 
Throws:
android.os.RemoteException

getScannerType

public int getScannerType()
                   throws android.os.RemoteException
Not Supported

Throws:
android.os.RemoteException

getTouchType

public int getTouchType()
                 throws android.os.RemoteException
This function reads touch device type.

Returns:
touch device type with int; Zero indicates none.
 public static final int TOUCH_REGISTIVE         = 1;
 public static final int TOUCH_CAPACITIVE_S3202  = 2;
 public static final int TOUCH_CAPACITIVE_S3508  = 3;
 public static final int TOUCH_CAPACITIVE_ILITEK = 4;
 
Throws:
android.os.RemoteException

getRfidType

public int getRfidType()
                throws android.os.RemoteException
Not Supported

Throws:
android.os.RemoteException

getBluetoothType

public int getBluetoothType()
                     throws android.os.RemoteException
This function reads bluetooth type.

Returns:
bluetooth type with int; Zero indicates none.
 public static final int BLUETOOTH_CSRBLUECORE4ROM  = 3;
 public static final int BLUETOOTH_TI_1273L         = 5;
 
Throws:
android.os.RemoteException

getGpsType

public int getGpsType()
               throws android.os.RemoteException
This function reads GPS type.

Returns:
GPS type with int; Zero indicates none.
 public static final int GPS_HC25   = 1;
 public static final int GPS_PH8    = 2;
 public static final int GPS_UBLOX7 = 3;
 public static final int GPS_OEM615 = 4;
 
Throws:
android.os.RemoteException

getPhoneType

public int getPhoneType()
                 throws android.os.RemoteException
This function reads phone module type.

Returns:
phone module type with int; Zero indicates none.
 public static final int PHONE_HC25 = 1;
 public static final int PHONE_PH8  = 2;
 
Throws:
android.os.RemoteException

getWifiType

public int getWifiType()
                throws android.os.RemoteException
This function reads WiFi module type.

Returns:
WiFi module type with int; Zero indicates none.
 public static final int WIFI_USI_SD8686_SDIO = 3;
 public static final int WIFI_TI_1273L        = 7;
 public static final int WIFI_SUMMIT          = 20;
 
Throws:
android.os.RemoteException

getSensorAccelerometerType

public int getSensorAccelerometerType()
                               throws android.os.RemoteException
This function reads accelerometer type.

Returns:
accelerometer type with int; Zero indicates none.
 public static final int SENSOR_AK8963C = 1;
 public static final int SENSOR_BMI055  = 2;
 public static final int SENSOR_APDS9900 = 3;
 public static final int SENSOR_BMP180 = 4;
 public static final int SENSOR_TMP102 = 5;
 public static final int SENSOR_APDS9930 = 6;
 
Throws:
android.os.RemoteException

getSensorLightType

public int getSensorLightType()
                       throws android.os.RemoteException
This function reads ambient light sensor type.

Returns:
ambient light sensor type with int; Zero indicates none.
 public static final int SENSOR_AK8963C = 1;
 public static final int SENSOR_BMI055  = 2;
 public static final int SENSOR_APDS9900 = 3;
 public static final int SENSOR_BMP180 = 4;
 public static final int SENSOR_TMP102 = 5;
 public static final int SENSOR_APDS9930 = 6;
 
Throws:
android.os.RemoteException

getSensorProximityType

public int getSensorProximityType()
                           throws android.os.RemoteException
This function reads proximity sensor type.

Returns:
proximity sensor type with int; Zero indicates none.
 public static final int SENSOR_AK8963C = 1;
 public static final int SENSOR_BMI055  = 2;
 public static final int SENSOR_APDS9900 = 3;
 public static final int SENSOR_BMP180 = 4;
 public static final int SENSOR_TMP102 = 5;
 public static final int SENSOR_APDS9930 = 6;
 
Throws:
android.os.RemoteException

getSensorCpuTemperatureType

public int getSensorCpuTemperatureType()
                                throws android.os.RemoteException
Not Supported

Throws:
android.os.RemoteException

getSensorGyroscopeType

public int getSensorGyroscopeType()
                           throws android.os.RemoteException
This function reads gyroscope sensor type.

Returns:
gyroscope sensor type with int; Zero indicates none.
 public static final int SENSOR_AK8963C = 1;
 public static final int SENSOR_BMI055  = 2;
 public static final int SENSOR_APDS9900 = 3;
 public static final int SENSOR_BMP180 = 4;
 public static final int SENSOR_TMP102 = 5;
 public static final int SENSOR_APDS9930 = 6;
 
Throws:
android.os.RemoteException

getSensorMagneticFieldType

public int getSensorMagneticFieldType()
                               throws android.os.RemoteException
This function reads magnetic field sensor type.

Returns:
magnetic field sensor type with int; Zero indicates none.
 public static final int SENSOR_AK8963C = 1;
 public static final int SENSOR_BMI055  = 2;
 public static final int SENSOR_APDS9900 = 3;
 public static final int SENSOR_BMP180 = 4;
 public static final int SENSOR_TMP102 = 5;
 public static final int SENSOR_APDS9930 = 6;
 
Throws:
android.os.RemoteException

getSensorPressureType

public int getSensorPressureType()
                          throws android.os.RemoteException
This function reads pressure sensor type.

Returns:
pressure sensor type with int; Zero indicates none.
 public static final int SENSOR_AK8963C = 1;
 public static final int SENSOR_BMI055  = 2;
 public static final int SENSOR_APDS9900 = 3;
 public static final int SENSOR_BMP180 = 4;
 public static final int SENSOR_TMP102 = 5;
 public static final int SENSOR_APDS9930 = 6;
 
Throws:
android.os.RemoteException

getMsrType

public int getMsrType()
               throws android.os.RemoteException
Not Supported

Throws:
android.os.RemoteException

getBluetoothStatus

public int getBluetoothStatus()
                       throws android.os.RemoteException
Throws:
android.os.RemoteException

getGpsStatus

public int getGpsStatus()
                 throws android.os.RemoteException
Throws:
android.os.RemoteException

getPhoneStatus

public int getPhoneStatus()
                   throws android.os.RemoteException
Throws:
android.os.RemoteException

getWifiStatus

public int getWifiStatus()
                  throws android.os.RemoteException
Throws:
android.os.RemoteException

getTouchFirmwareVersion

public java.lang.String getTouchFirmwareVersion()
                                         throws android.os.RemoteException
This function reads touch firmware version.

Returns:
touch firmware version with String
Throws:
android.os.RemoteException

getRfidFirmwareVersion

public java.lang.String getRfidFirmwareVersion()
                                        throws android.os.RemoteException
Not Supported

Throws:
android.os.RemoteException

getRfidSerialNumber

public java.lang.String getRfidSerialNumber()
                                     throws android.os.RemoteException
Not Supported

Throws:
android.os.RemoteException

getRfidSamInfo

public java.lang.String getRfidSamInfo(int index)
                                throws android.os.RemoteException
Not Supported

Throws:
android.os.RemoteException

getBluetoothDriverVersion

public java.lang.String getBluetoothDriverVersion()
                                           throws android.os.RemoteException
This function reads bluetooth driver version.

Returns:
bluetooth driver version with String
Throws:
android.os.RemoteException

getBluetoothMacAddress

public java.lang.String getBluetoothMacAddress()
                                        throws android.os.RemoteException
This function reads bluetooth MAC address.

Returns:
bluetooth MAC address with String
Throws:
android.os.RemoteException

getWifiDriverVersion

public java.lang.String getWifiDriverVersion()
                                      throws android.os.RemoteException
This function reads WiFi driver version.

Returns:
WiFi driver version with String
Throws:
android.os.RemoteException
See Also:
getWifiFirmwareVersion()

getWifiFirmwareVersion

public java.lang.String getWifiFirmwareVersion()
                                        throws android.os.RemoteException
This function reads WiFi firmware version.

Returns:
WiFi firmware version with String
Throws:
android.os.RemoteException
See Also:
getWifiDriverVersion()

getWifiMacAddress

public java.lang.String getWifiMacAddress()
                                   throws android.os.RemoteException
This function reads WiFi MAC address.

Returns:
WiFi MAC address with String
Throws:
android.os.RemoteException

getWifiIpAddress

public java.lang.String getWifiIpAddress()
                                  throws android.os.RemoteException
This function reads WiFi IP address.

Returns:
WiFi IP address with String
Throws:
android.os.RemoteException

getMainBatteryStatus

public java.lang.String getMainBatteryStatus()
                                      throws android.os.RemoteException
This function reads main battery charging status.

Returns:
main battery charging status with String
Throws:
android.os.RemoteException

getBackupBatteryStatus

public java.lang.String getBackupBatteryStatus()
                                        throws android.os.RemoteException
This function reads backup battery charging status.

Returns:
backup battery charging status with String
Throws:
android.os.RemoteException

getBatterySerialNumber

public java.lang.String getBatterySerialNumber()
                                        throws android.os.RemoteException
This function reads backup battery serial number.

Returns:
backup battery serial number with String
Throws:
android.os.RemoteException

getChargingMainBatteryFromUsbFlag

public java.lang.String getChargingMainBatteryFromUsbFlag()
                                                   throws android.os.RemoteException
This function reads 'ChargingMainBatteryFromUsb' flag.

Returns:
'ChargingMainBatteryFromUsb' flag with String: "enabled" or "disabled"
Throws:
android.os.RemoteException

getChargingBackupBatteryFromMainBatteryFlag

public java.lang.String getChargingBackupBatteryFromMainBatteryFlag()
                                                             throws android.os.RemoteException
This function reads 'ChargingBackupBatteryFromMainBattery' flag.

Returns:
'ChargingBackupBatteryFromMainBattery' flag with String: "enabled" or "disabled"
Throws:
android.os.RemoteException

getLowBatteryWarningLevel

public java.lang.String getLowBatteryWarningLevel()
                                           throws android.os.RemoteException
This function reads low battery warning level.

Returns:
low battery warning level with String
Throws:
android.os.RemoteException

getCriticalBatteryWarningLevel

public java.lang.String getCriticalBatteryWarningLevel()
                                                throws android.os.RemoteException
This function reads critical battery warning level.

Returns:
critical battery warning level with String
Throws:
android.os.RemoteException

getExpansion5vPower

public java.lang.String getExpansion5vPower()
                                     throws android.os.RemoteException
This function reads 'Expansion5vPower' flag, Use for Nautiz x8 only.

Returns:
'Expansion5vPower' flag with String: "enabled" or "disabled"
Throws:
android.os.RemoteException
See Also:
setExpansion5vPower(boolean)

setExpansion5vPower

public void setExpansion5vPower(boolean enabled)
                         throws android.os.RemoteException
This function write 'Expansion5vPower' flag, Use for Nautiz x8 only.

Parameters:
enabled - 'Expansion5vPower' flag with boolean
 "true" : enable expansion power of 5v
 "false" : disable expansion power of 5v
 
Throws:
android.os.RemoteException
See Also:
getExpansion5vPower()

getExpansion3p3vPower

public java.lang.String getExpansion3p3vPower()
                                       throws android.os.RemoteException
This function reads 'Expansion3p3vPower' flag, Use for Nautiz x8 only.

Returns:
'Expansion3p3vPower' flag with String: "enabled" or "disabled"
Throws:
android.os.RemoteException
See Also:
setExpansion3p3vPower(boolean)

setExpansion3p3vPower

public void setExpansion3p3vPower(boolean enabled)
                           throws android.os.RemoteException
This function write 'Expansion3p3vPower' flag, Use for Nautiz x8 only.

Parameters:
enabled - 'Expansion3p3vPower' flag with boolean
 "true" : enable expansion power of 3.3v
 "false" : disable expansion power of 3.3v
 
Throws:
android.os.RemoteException
See Also:
getExpansion3p3vPower()

getExpansionGpio

public java.lang.String getExpansionGpio()
                                  throws android.os.RemoteException
This function reads 'ExpansionGpio' flag, Use for Nautiz x8 only.

Returns:
'ExpansionGpio' flag with String: "enabled" or "disabled"
Throws:
android.os.RemoteException
See Also:
setExpansionGpio(boolean)

setExpansionGpio

public void setExpansionGpio(boolean enabled)
                      throws android.os.RemoteException
This function write 'ExpansionGpio' flag, Use for Nautiz x8 only.

Parameters:
enabled - 'ExpansionGpio' flag with boolean
 "true" : enable expansion gpio
 "false" : disable expansion gpio
 
Throws:
android.os.RemoteException
See Also:
getExpansionGpio()

getGpsPower

public java.lang.String getGpsPower()
                             throws android.os.RemoteException
This function reads 'GpsPower' flag, Use for Zeno 20 only.

Returns:
'GpsPower' flag with String: "enabled" or "disabled"
Throws:
android.os.RemoteException
See Also:
setGpsPower(boolean)

setGpsPower

public void setGpsPower(boolean enabled)
                 throws android.os.RemoteException
This function write 'GpsPower' flag, Use for Zeno 20 only.

Parameters:
enabled - 'GpsPower' flag with boolean
 "true" : enable gps power
 "false" : disable gps power
 
Throws:
android.os.RemoteException
See Also:
getGpsPower()

getStyluspenMode

public java.lang.String getStyluspenMode()
                                  throws android.os.RemoteException
This function reads 'StyluspenMode' flag, Use for S3508 Only.

Returns:
stylus pen mode with flag with String: "on", "off" or "not supported"
Throws:
android.os.RemoteException
See Also:
setStyluspenMode(boolean)

setStyluspenMode

public void setStyluspenMode(boolean enabled)
                      throws android.os.RemoteException
This function writes 'StyluspenMode' flag , Use for S3508 Only.

Parameters:
enabled - 'setStyluspenMode' flag with boolean
 "true" : enable stylus pen mode
 "false" : disable stylus pen mode
 
Throws:
android.os.RemoteException
See Also:
getStyluspenMode()

getScannerClass

public int getScannerClass(int scanner)
                    throws android.os.RemoteException
Not Supported

Throws:
android.os.RemoteException

getScannerName

public java.lang.String getScannerName(int scanner)
                                throws android.os.RemoteException
Not Supported

Throws:
android.os.RemoteException

getScannerClassName

public java.lang.String getScannerClassName(int scanner)
                                     throws android.os.RemoteException
Not Supported

Throws:
android.os.RemoteException

getOnlyHardKeyboardEnabled

public boolean getOnlyHardKeyboardEnabled()
                                   throws android.os.RemoteException
This function reads 'OnlyHardKeyboard' flag.

Returns:
'OnlyHardKeyboard' flag with boolean: "true" or "false"
Throws:
android.os.RemoteException
See Also:
setOnlyHardKeyboardEnabled(boolean)

setOnlyHardKeyboardEnabled

public void setOnlyHardKeyboardEnabled(boolean enabled)
                                throws android.os.RemoteException
This function write 'OnlyHardKeyboard' flag.

Parameters:
enabled - 'OnlyHardKeyboard' flag with boolean
 "true" : Invisible soft keyboard
 "false" : Visible soft keyboard
 
Throws:
android.os.RemoteException
See Also:
getOnlyHardKeyboardEnabled()

getNavigationBarHide

public boolean getNavigationBarHide()
                             throws android.os.RemoteException
This function reads 'NavigationBarHide' flag.

Returns:
'NavigationBarHide' flag with boolean: "true" or "false"
Throws:
android.os.RemoteException
See Also:
setNavigationBarHide(boolean)

setNavigationBarHide

public void setNavigationBarHide(boolean enabled)
                          throws android.os.RemoteException
This function write 'NavigationBarHide' flag.

Parameters:
enabled - 'NavigationBarHide' flag with boolean
 "true" : Invisible navigation bar
 "false" : Visible navigation bar
 
Throws:
android.os.RemoteException
See Also:
getNavigationBarHide()

getCustomerMfgData

public byte[] getCustomerMfgData()
                          throws android.os.RemoteException
This function reads customer mfg data.

Returns:
customer mfg data with byte array
Throws:
android.os.RemoteException
See Also:
setCustomerMfgData(byte[])

setCustomerMfgData

public boolean setCustomerMfgData(byte[] data)
                           throws android.os.RemoteException
This function writes customer mfg data.

Parameters:
data - customer mfg data to write. (The length of the data should be 64 or less.)
Returns:
true if the data write successful, Or false if failure.
Throws:
android.os.RemoteException
See Also:
getCustomerMfgData()

getCustomerMfgStringData

public java.lang.String getCustomerMfgStringData()
                                          throws android.os.RemoteException
This function reads customer mfg data.

Returns:
customer mfg data with String
Throws:
android.os.RemoteException
See Also:
setCustomerMfgStringData(java.lang.String)

setCustomerMfgStringData

public boolean setCustomerMfgStringData(java.lang.String data)
                                 throws android.os.RemoteException
This function writes customer mfg data.

Parameters:
data - customer mfg data to write. (The length of the data should be 64 or less.)
Returns:
true if the data write successful, Or false if failure.
Throws:
android.os.RemoteException
See Also:
getCustomerMfgStringData()

getAdbEnabled

public boolean getAdbEnabled()
                      throws android.os.RemoteException
This function reads ADB(USB Debugging) flag.

Returns:
ADB(USB Debugging) flag with boolean: "true" or "false"
Throws:
android.os.RemoteException
See Also:
setAdbEnabled(boolean)

setAdbEnabled

public void setAdbEnabled(boolean enabled)
                   throws android.os.RemoteException
This function write ADB(USB Debugging) flag.

Parameters:
enabled - ADB(USB Debugging) flag with boolean
 "true" : Enable ADB(USB Debugging)
 "false" : Disable ADB(USB Debugging)
 
Throws:
android.os.RemoteException
See Also:
getAdbEnabled()