开发codenameone应用程序时,如何以编程方式获取设备相关信息,例如型号或IMSI,MSISDN [英] How do I get device related info programmatically like model number or IMSI , MSISDN while developing codenameone app
本文介绍了开发codenameone应用程序时,如何以编程方式获取设备相关信息,例如型号或IMSI,MSISDN的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在开发一个代号应用,需要捕获设备型号,imsi和msisdn信息,以便我可以根据此信息发送数据。
I am developing a codename app and need to capture device model ,imsi and msisdn information so that i can send data depending on this information.
推荐答案
尝试使用Display.getInstance()。getUdid()和Display.getInstance()。getMsisdn(),您也可以使用Display.getInstance()。getProperty(...)获得更多属性。
Try Display.getInstance().getUdid() and Display.getInstance().getMsisdn() you can also use Display.getInstance().getProperty(...) for more properties.
这篇关于开发codenameone应用程序时,如何以编程方式获取设备相关信息,例如型号或IMSI,MSISDN的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文