First check that intrrnet is on. If not then display toast message. Then
open the network setting screen. Use handler postDelayed method to open
network setting. So toast message will be displayed to screen
On Dec 24, 2012 10:36 AM, "sree android" <android.sreeni...@gmail.com>
wrote:

> when i am working webservices,internet is mandatory.If without internet
> connection i would like to connect my app,at that scenario the TOAST
> message will display like "YOUR APP  HAS REQUIRE INTERNET CONNECTION "
> .After display the message my app will exist or it will goes to network
> connection settings and where i write these code.
>
> sorry for my english,please help me any one
>
> --
> 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

Reply via email to