var Telphoney = plus.android.importClass("android.telephony.TelephonyManager");
var t = new Telphoney();
mui.alert(t.getSubscriberId());
出现如下错误
Uncaught expected receiver of type android.telephony.TelephonyManager, but got null;at android.telephony.TelephonyManager.getSubscriberId at login/login.html:1
5***@qq.com (作者)
万分感谢
2016-09-03 16:57
5***@qq.com (作者)
用方法二就可以获取了
2016-09-03 17:13