从传递数据的应用程序安装在android系统中其他设备相同的应用程序应用程序、数据、设备、系统

2023-09-08 08:47:19 作者:抹不去的忧伤

我需要从我的应用程序通过如电话号码,电子邮件地址等一些数据到同一个应用程序,但安装在另一台设备。是否有可能使用的电话号码,以做到这一点?我没有关于短信,而是通过应用程序发送数据。如果是的话,怎么样?我还没有看到有关此事的任何教程。如果没有,有什么其他的方法我能做到这一点?我看了一下Socket编程。但是我不太得到什么IP地址和端口,我应该使用。我已阅读,通信设备将是客户端,而接收设备将是服务器。因此,这些数据将只是一个单程。我希望它能够与对方进行沟通。

I need to pass some data like phone number, email address and etc from my app to the same app but installed in another device. Is it possible to use the phone number to do this? I'm not pertaining to sms messaging, but sending data through the app. If yes, how? I haven't seen any tutorial regarding this matter. If no, what other ways could I accomplish this? I have read about Socket Programming. But I don't quite get on what ip addresses and ports should I use. And I have read that communication device will be the client while the receiving device will be the server. So the data will only a one way trip. I want it to be able to communicate with each other.

任何人有任何关于此事的建议?任何建议和教程将大大AP preciated!谢谢!

Anyone have suggestions regarding this matter? Any suggestions and tutorials will be greatly appreciated! Thanks!

推荐答案

您可以使用推送通知看看的 http://elsoufy.blogspot.fr/2012/12/push-notifications-with-parsecom.html

You can use push notification have a look at http://elsoufy.blogspot.fr/2012/12/push-notifications-with-parsecom.html