标签: java blackberry device blackberry-storm
如何识别当前运行该应用程序的Blackberry设备? 例如:如何识别当前设备是Storm还是Torch?
BlackBerry Storm 2(9520/9550) 黑莓之旅(9630)
答案 0 :(得分:3)
您必须使用DeviceInfo.getDeviceId();所示的{{1}}
DeviceInfo.getDeviceId();
答案 1 :(得分:1)
您是否已阅读this article并阅读DeviceInfo.getDeviceName() and DeviceInfo.getDeviceId() documentation?