Friday, February 17, 2012

[android-developers] The service restart but not retaining socket

Hi Friends,
1 I am developing one application where i write one service using
broadcast receiver.
2 In this service i use the socket programing where i communicate with
client.
3 the application works like after the device boot the service will
start and listen the port to get the data.
4 this will work normally but problem come when the service restart
means when there the memory low (multiple application open that time)
service will restart automatically.
5 Here when service again goes to try to connect to socket this not
working

so is there any thing missing or should i need to do anything in code
please let me know.

thanks
Nitin Gaikwad

--
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

No comments:

Post a Comment