Thank you for replying. But, the connection is failing when I try to reconnect with a new socket.
On Jun 28, 5:58 pm, Mark Murphy <mmur...@commonsware.com> wrote: > You will need to reconnect if your socket connection is dropped due to > a change in connectivity, as your IP address will be different. > > > > > > > > > > On Tue, Jun 28, 2011 at 8:41 AM, Ajay <aja...@gmail.com> wrote: > > Hi, > > > I have an app that uses sockets in JNI and also HTTP connections in > > Java. I have been observing that I have connectivity issues in my app > > whenever I switch from WiFi to 3G or vice versa. At the same time, I > > am able to browse the Internet using the browser. Is there anything > > that the app needs to take care of such scenario or anything that may > > be missing in my app? > > > Thank you, > > AJ > > > -- > > 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 > > -- > Mark Murphy (a Commons > Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy > > Warescription: Three Android Books, Plus Updates, One Low Price! -- 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