8 messages in com.googlegroups.android-beginnersRe: Client-Server app, XMPP...| From | Sent On | Attachments |
|---|---|---|
| Robbo | 22 Dec 2007 05:19 | |
| jaso...@spy.net | 24 Dec 2007 07:58 | |
| psa...@gmail.com | 26 Dec 2007 10:56 | |
| gogo...@gmail.com | 26 Dec 2007 19:02 | |
| Pakistan_NUST - Android (M Qasim Ali Khawaja) | 27 Dec 2007 10:54 | |
| Robbo | 27 Dec 2007 14:50 | |
| btoc | 12 Jan 2008 06:11 | |
| siddhusingh | 13 Jan 2008 23:00 |
| Subject: | Re: Client-Server app, XMPP...![]() |
|---|---|
| From: | jaso...@spy.net (jaso...@gmail.com) |
| Date: | 12/24/2007 07:58:42 AM |
| List: | com.googlegroups.android-beginners |
I would advise using HTTP for client <-> server communication. Android ships with apache's httpclient library.
From what I understand, XMPP is well suited for communication between mobile devices, but for client/server I am using HTTP.
-Jason
On Dec 22, 7:20 am, Robbo <seb...@o2.pl> wrote:
Hello,
I am sure that answer to my questions would be useful not only for me, but for many developers interested in Android. Unfortunately, I have not found any answer in archive.
I would like to develope some client-server app. Clients (devices with Android) sometimes send data to server and sometimes server sends data to clients. Data is simple and short text messages (but maybe also pictures in the future). I would like to use XMPP (if there is better solution, please tell me). It seems to be quite easy to develop client side (probably there is some intent generated when messages come in and it is some method to use to send message), but how about server? I will use PHP and some database on server. Do I need to have my own XMPP server or can I use GTalk? If I think correctly, clients should send data to some GTalk user account (eg. name it: andr...@gmail.com) which is used by server to gather and send data from/to clients. Are there any libraries to use in PHP or C which can be used to receive messages passed to the account (ando...@gmail.com in our example) and to send messages to users from the account (ando...@gmail.com)?
Thanks in advance for answers.
Regards,




