开发者

code to find IMEI number

开发者_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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜