创建用于将记录发送到客户端应用的Android应用 [英] Create android app for sending records to client app

查看:93
本文介绍了创建用于将记录发送到客户端应用的Android应用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hai



我正在创建一个拥有主应用和客户端应用的应用。在我的应用程序中,我想添加联系人号码。当我点击联系人时,会出现第二个窗口,我可以输入一些详细信息。

之后当我点击发送按钮时,记录应该发送到客户端应用程序的电话号码。



我附上了两个屏幕的图像。

请找到以下链接。



https://1drv.ms/i/s!AkcLq6QOs-aEhWGL4PRQRvfn_f3p



任何人请帮助我什么是技术。用来实现,

ie。如何在两边添加联系人,将记录发送到客户端号等。我在两边都使用SQL作为我的数据库。



谢谢。



我的尝试:



我是新手,我想要基本的想法和细节。

Hai

I am creating an app which has main app and client app. In my app I want to add Contact numbers. When I click on a contact second windows appears where I can input some details.
After that when I click send button the records should send to that phone number of client app.

I have attached the image of both screen.
please find the link below.

https://1drv.ms/i/s!AkcLq6QOs-aEhWGL4PRQRvfn_f3p

Any one please help me what is the tech. used to achieve,
ie. how to add contacts on both sides, send records to client number etc. I am using SQL as my database on both sides.

Thanks.

What I have tried:

As I am new I want basic idea and detail.

推荐答案

您遇到什么问题:添加联系号码,点击项目(按钮),填充数据库,与其他设备通信?



如果没有更多信息,我会说你想要将vCard从一台设备发送到另一台设备。那是否接近?
What exactly are you having trouble with: adding contact numbers, clicking on an item (button), populating a database, communicating with another device?

Without more information, I'd say you are wanting to send a vCard from one device to another. Is that even close?


步骤1:使用webservices设置存储数据的Web服务器。

步骤2:您通过手机号码为每个客户提供注册选项(这是您的唯一ID)并在 tblRegistration 中将数据存储在Web服务器数据库中。

步骤3:当任何客户端在服务器上发送带有详细信息的msg保存数据时(SenderNumber,ReceverNumber, MSG)。

步骤4:在客户端应用点击服务器网络服务中按字段 ReceverNumber

在tblMSG中的任何新MSG,如果找到则显示通知。



注意:您无法通过aap进行通信,您需要通过WEB服务保存和检索数据的Web服务器。
Step1: Setup Web Server where you store your Data using webservices.
Step2: You gave registration option to every client by ther mobile number (that is your unique ID) and store data on web server database in tblRegistration.
Step3: When any client send msg save data on server with detail (SenderNumber,ReceverNumber,MSG).
Step4: In client app hit server web service for any new MSG by field ReceverNumber
in tblMSG, if found then show notification.

Note: you can't communicate aap to aap, you need web server where you save and retrive data through WEB Services.


这篇关于创建用于将记录发送到客户端应用的Android应用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆