如何实现机器人聊天应用程序? [英] How to Implement chat application for Android?

查看:140
本文介绍了如何实现机器人聊天应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在为Android聊天应用程序。本聊天应用程序是用于从一个设备从该应用程序将消息发送到另一个使用互联网(GPRS,3G等)。请告诉我一个方法来实现这一点。

I am working on a chat application for android. This chat application is for sending messages from one device to another using internet(GPRS,3G,etc) from this application. please tell me a way to implement this.

我想用Web服务的更多数据(互联网)消耗少efficient.is这样对不对?

I thought using web services is more data(internet) consuming and less efficient.is this right?

我的工作服务器和客户端套接字。我在单个设备中运行服务器和客户端类和消息可以从客户端套接字服务器套接字和副被转移versa.Now我想使用服务器套接字的Web服务器以及如何从Android设备连接到服务器上的两个设备之间的消息。请帮帮我非常感谢你。

I worked on server and client sockets. I ran both server and client classes in single device and messages can be transfered from client socket to server socket and vice versa.Now i want to message between two devices using server socket on web server and how to connect to server from Android Devices. please help me thank you very much.

推荐答案

<一个href="http://tokudu.com/2010/how-to-implement-push-notifications-for-android/comment-page-4/#comment-3016"相对=nofollow>这可以帮助您解决在Android的聊天应用程序推送通知。您也可以建立由非常小的消息代理(一个小程序,发送和邮件中,并从通过TCP / IP网络连接的应用程序和设备的形式接收数据。)

This helps you to solve Push Notification in Android Chat applications. You may also build your own push notification server backed by the Really Small Message Broker(a small program that sends and receives data in the form of messages to and from applications and devices over TCP/IP network connections.)

这篇关于如何实现机器人聊天应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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