You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

黑莓10系统:手动及编程查询Build No与固件版本方法

Hey there! Let’s walk through how to find the Build No and firmware version for BlackBerry 10 devices—both manually (for end-users) and programmatically (for developers).

手动查找BlackBerry 10设备的Build No和固件版本

Getting this info manually is straightforward, no extra tools required:

  • Open the Settings app (look for the gear icon on your home screen)
  • Scroll all the way to the bottom and tap About
  • On the About page, you’ll immediately see the OS Version (this is your firmware version)
  • Keep scrolling down, and you’ll find the Build Number—it’s usually a string combining numbers and sometimes letters, like 10.3.3.3216.1055
通过编程方式查询BlackBerry 10设备的Build No和固件版本

If you’re building an app for BlackBerry 10, here’s how to pull these values programmatically, depending on your development stack:

Native SDK (C++/QML)

QML Implementation

Use the built-in bb.system module to access device info directly in your QML UI:

import bb.system 1.0

// Example label displaying the values
Label {
    text: "Firmware Version: " + DeviceInfo.osVersion + "\nBuild No: " + DeviceInfo.buildId
}

C++ Implementation

Use the bb::system::DeviceInfo class to retrieve the values in your C++ backend:

#include <bb/system/DeviceInfo>

// In your code logic
bb::system::DeviceInfo deviceInfo;
QString firmwareVersion = deviceInfo.osVersion();
QString buildNumber = deviceInfo.buildId();

// Use these strings as needed (e.g., log them, display in UI)

WebWorks (HTML5/JavaScript)

For web-based apps using BlackBerry WebWorks, leverage the blackberry.system API:

  1. First, make sure your config.xml includes the required permission:
<feature id="blackberry.system" required="true" version="1.0.0"/>
  1. Then call the API in your JavaScript:
// Get firmware version
const firmwareVersion = blackberry.system.getProperty("osversion");
// Get Build No
const buildNumber = blackberry.system.getProperty("buildnumber");

// Log or display the values
console.log(`Firmware: ${firmwareVersion}, Build No: ${buildNumber}`);

内容的提问来源于stack exchange,提问作者Amit Yadav

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.20 11:10:48