开发者

code to find IMEI number

开发者 https://www.devze.com 2023-02-07 05:34 出处:网络
开发者_JS百科What BlackBerry Java code can be used to find a device\'s IMEI number?The net.rim.device.api.system.GPRSInfo class has a static getIMEI() method. See:

开发者_JS百科What BlackBerry Java code can be used to find a device's IMEI number?


The net.rim.device.api.system.GPRSInfo class has a static getIMEI() method. See:

http://www.blackberry.com/developers/docs/5.0.0api/net/rim/device/api/system/GPRSInfo.html


Try This One:

import net.rim.device.api.system.*;
public String imei_num = new String(GPRSInfo.imeiToString(GPRSInfo.getIMEI()));

Where imei_num holds the IMEI Number.

0

精彩评论

暂无评论...
验证码 换一张
取 消