Register one receiver for "Network Changed action" , so from this u will come to know any changes in the network happened or not?
After that in that receiver check the Network is connected or not thro Wi-fi or Mobile networks , then display the message On Thu, Feb 23, 2012 at 12:56 PM, [email protected] < [email protected]> wrote: > Hi, > My app is depends on internet, so I want that if the mobile is not > connected to internet then my app show the message to the user that > "internet not connected" and exit the application. give me any > suggestion. > > > > Thanks and Regards, > > > umer > > -- > 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 > -- 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

