I am not an expert on this, but am pretty sure you will have to implement onDestroy() and do an orderly close on the sockets you are using.
On Feb 18, 2:30 am, Nitin Gaikwad <nitin.m.gaik...@gmail.com> wrote: > 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en