简体   繁体   English

空GetLine1Number

[英]Null GetLine1Number

Dim p As PhoneId
Dim ph As Phone 
numPhone = p.GetLine1Number

I need another way that extract the number phone. 我需要另一种提取电话号码的方法。

Im using number phone for register our app, that was sell on market. 我使用数字电话注册我们的应用程序,该应用程序在市场上出售。 As market mercant, when our app was suspended we only have that way to re-register app for the people that bought it. 作为市场商人,当我们的应用被暂停时,我们只能用这种方式为购买它的人重新注册应用。

Using GetLine1Number, works for us. 使用GetLine1Number对我们有用。 but for example a see on a S Galaxy S and SII doesnt show anything. 但例如在S Galaxy S和SII上看到的东西什么都没显示。 On our Optimus 2x works fine. 在我们的Optimus 2x上工作正常。

Is there another way to get the phone number? 还有另一种获取电话号码的方法吗?

Using stackoverflow for first time like Erel said ;) 像Erel所说的那样第一次使用stackoverflow;)

PS: Optimus running 2.3 and S and SII too! PS:擎天柱也运行2.3,S和SII! ;) ;)

I don't think that there is another way to get the phone number. 我认为没有其他方法可以获取电话号码。 You can use PhoneId.GetDeviceId if the line number is not available to get a unique id. 如果行号不可用于获取唯一ID,则可以使用PhoneId.GetDeviceId

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM