Tuesday, June 28, 2011

[android-developers] Maintaing Socket Connections

Hi Folks,

I have an application (written for Windows Mobile) that make a socket
connection to a Server. The Server Windows Service detects whether to
send data back to the calling client. If data (image) then sends that
image. If no image available sends 2 bytes back to signify no image.
When the client either finishes downloading the image or acknowledges
no image is available it sends 2 bytes to the Server to start the
whole process cycle again.

1) Is this the right approach? Bearing in mind this application has to
receive images as best to real-time as it can manage.

2). Whilst i may get away with this in WM can i implement the same
design pattern in Android (my test mobile target).

Best....

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

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate