RSS
热门关键字:
当前位置 :| 主页>Mobile Development>

The mobile phone number that the client carries is acquired in application of J2

来源: 作者:Stand originally 时间:2008-12-21 Tag: 点击:
In process of J2ME program development, for certain need, often need to acquire the mobile phone number of the user, but this function is in however standard J2ME kind did not offer in the library.

When the network of CMWAP means join with in use mobile country, shift meets China put the mobile phone number of the user in the head information that a name is X-up-calling-line-id, can take this head news through reading, acquire the mobile phone number of the user, specific code is as follows:



String Usermphone = Http.getHeader("x-up-calling-line-id" );





Among them the object that Http is HttpConnction type.




最新评论共有 0 位网友发表了评论
发表评论
评论内容:不能超过250字,需审核,请自觉遵守互联网相关政策法规。
用户名: 密码:
匿名?
注册
栏目列表
热点关注
相关文章