|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.funambol.util.BlackberryUtils
public class BlackberryUtils
This class is a wrapper for J2me Funambol Common API. It provides informations about Blackberry devices configurations and allow to access some system properties that are peculiar of Blackberry devices only. For this reason this class has only been implemented into the Blackberry devices platform dependent module.
Constructor Summary | |
---|---|
BlackberryUtils()
|
Method Summary | |
---|---|
static java.lang.String[] |
getAllActiveServiceBookAPNs()
Retrieves only ACTIVE ServiceRecords (WAP2 type)from the native device's ServiceBook checking if their CID is WPTCP and UID |
static java.lang.String |
getInternalDeviceStorePicturesdir()
Get the path of the device's default Internal Memory Pictures directory |
static java.lang.String |
getNetworkCoverageReport()
|
static java.lang.String |
getOSVersion()
|
static java.lang.String |
getSDCardPicturesdir()
Get the path of the default SDCARD Pictures directory |
static java.lang.String |
getServiceBookOptions()
Get the options to use the list of APN included into the device ServiceBook |
static java.lang.String |
getServiceBookWapTransportApn()
Retrieves the WAP/WAP2 Transport APN from service book |
static boolean |
isBISEmailAvailable()
|
static boolean |
isDataConnectionAvailable()
Give global information about the data connection bearer activity |
static boolean |
isSDCardInserted()
Ask the system if the device has an SDCard inserted |
static boolean |
isSimulator()
Access the net.rim.device.api.system.DeviceInfo class in order to understand if the running system is a simulator or a real device. |
protected static boolean |
isWapGprsDataBearerOffline()
|
static boolean |
isWapTransportServiceRecord(net.rim.device.api.servicebook.ServiceRecord sr)
Validate the given ServiceRecord entry: in order to be validated it must be a WAP or WAP2 transport entry |
protected static boolean |
isWifiActive()
Give information about the presence of active wifi connections. |
protected static boolean |
isWifiAvailable()
Give the information about the presence o a wifi bearer on the device |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BlackberryUtils()
Method Detail |
---|
public static boolean isSimulator()
protected static boolean isWifiAvailable()
protected static boolean isWifiActive()
protected static boolean isWapGprsDataBearerOffline()
public static java.lang.String getNetworkCoverageReport()
public static boolean isWapTransportServiceRecord(net.rim.device.api.servicebook.ServiceRecord sr)
sr
- is the ServiceRecord to be checked
public static java.lang.String getServiceBookWapTransportApn()
public static java.lang.String[] getAllActiveServiceBookAPNs()
public static java.lang.String getServiceBookOptions()
public static boolean isDataConnectionAvailable()
public static boolean isSDCardInserted()
public static java.lang.String getSDCardPicturesdir()
public static java.lang.String getInternalDeviceStorePicturesdir()
public static java.lang.String getOSVersion()
public static boolean isBISEmailAvailable()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |