Thanks s.seshu, It's great help, but how can i restrict the user to not go to next Activity when this error occurs and the user remain in the same activity when ever the user not activate their network connection,
Thanks and Regrds, umer > Date: Thu, 23 Feb 2012 01:51:37 -0800 > Subject: [android-developers] Re: when int ernet connection don't exists, > show me massage. please help!! > From: s.seshu...@gmail.com > To: android-developers@googlegroups.com > th > then show the alert box dialog. > > i.e., > > AlertDialog.Builder alertbox = new AlertDialog.Builder(this); > alertbox.setMessage("Alert"); > alertbox.setTitle("Network Connection not found"); > alertbox.setNeutralButton("OK", new > DialogInterface.OnClickListener() { > > public void onClick(DialogInterface arg0, int arg1) { > > } > }); > > alertbox.show(); > > On Feb 23, 2:45 pm, Muhammad UMER <muhammad.ume...@hotmail.com> wrote: > > hi s.seshu, > > But i want to show message when internet connection not > > found before closing the app. > > > > 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 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 -- 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