You can use a socket on android, although you must be a client for it to
work reliably.
You cannot and should not act as a server on the android side.

To use a socket, simply connect to the ip of the server you are trying to
connect to.

On Tue, May 17, 2011 at 1:04 PM, ingy abbas <[email protected]> wrote:

> what about socket ..........it is  not connected What ip address i
> must put ?!!!
>
> On 17 مايو, 19:16, Nicholas Johnson <[email protected]> wrote:
> > Yes, it can be done. You can exchange data between a server and an
> Android
> > app in any way that you want. I prefer encoding the communication/data in
> a
> > JSON object.
> >
> > Nick
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
~ Jeremiah:9:23-24
Android 2D MMORPG: http://solrpg.com/,
http://www.youtube.com/user/revoltingx

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to