hi S.Seshu,
Thanks for your great help, Please tell me how to exit form
app when it return false.Thanks again.
Regards,
umer
> Date: Wed, 22 Feb 2012 23:36:02 -0800
> Subject: [android-developers] Re: when internet connection don't exists, show
> me massage. please help!!
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
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 0
hi,
I have done something like this on the onCreate() method. when the
activity created it first check the network availability if not then show
dialog and the finish the application. Is it true approch?
if(isNetworkAvailable()!= true)
{
AlertDialog
You're doing a lot of stuff just to kill the app off before anything
can happen. This just seems like a hacky solution. Why don't you
just do it properly and handle the exception by telling the user that
the connection died (via a toast, something in the UI, or a
notification) and ask them if the
5 matches
Mail list logo