如何获取用户的手机号码(自动选择) [英] How do I get User's Mobile Number (Auto Pick)
本文介绍了如何获取用户的手机号码(自动选择)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如果有人可以指导以下内容
1.我需要选择用户的手机号码并在我的应用程序启动时显示在文本框中。
2.如何将JSON数据发布到Web API。
Json对象:{
UserName: 名称,
MobileNumber : 数字
}
请求类型:POST
标题:
接受:application / json
内容类型:application / json
Accept-Charset:UTF-8
解决方案
请参阅这个回答在stackoverflow上,它应该给你一些指导。
If someone could guide on the following
1. I need to pick the User's Mobile Number and display in textbox when my app starts.
2. How can I POST a JSON data to Web API.
Json Object: { "UserName": "Name", "MobileNumber": "Number" } Request Type : POST Headers: Accept: application/json Content-Type: application/json Accept-Charset: UTF-8解决方案See this answer on stackoverflow, it should give you some guide-lines.
这篇关于如何获取用户的手机号码(自动选择)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文