는()는 지원되지 않습니다이
private static String getUserAgent() {
String userAgent = "Blackberry" + DeviceInfo.getDeviceName() + "/" +
DeviceInfo.getSoftwareVersion() + " Profile/" + System.getProperty(
"microedition.profiles") + " Configuration/" + System.getProperty(
"microedition.configuration") + " VendorID/" +
Branding.getVendorId();
return userAgent;// URLencode(userAgent);
}
public static String getOsVersion(){
String version = "";
ApplicationDescriptor[] ad = ApplicationManager.getApplicationManager()
.getVisibleApplications();
for (int i = 0; i < ad.length; i++) {
if (ad[i].getModuleName().trim().equalsIgnoreCase(
"net_rim_bb_ribbon_app")) {
version = ad[i].getVersion();
break;
}
}
return version;
}
DeviceInfo.getOSVersion을 시도) (DeviceInfo.getSoftwareVersion로 변경 – Jorgesys