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 <[email protected]> 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 [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

Reply via email to