开发者

Data service in roaming on blackberry phones

Can I check in my application that d开发者_运维问答ata service is available in roaming? Can I use PhoneState.isDataServiceAvailable() for this situation or use another solution?


Not familiar with PhoneState. It doesn't seem to be part of the RIM API.

You can use RadioInfo.getNetworkService() and check that against the RadioInfo.NETWORK_SERVICE_ROAMING flag, that would tell you if you were roaming. Then you could check the RadioInfo.NETWORK_SERVICE_DATA flag to see if you had data.

But you want to know if it would be available, even if you're not currently roaming? There might be a service book for that, but I'm not sure.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜