Hi,

The Browser checks for the ActiveNetworkInfo .. and if its false it throws
that error...

Does the NetworkDataTarcker or MobileDataTracker know that net is available?

          ConnectivityManager CM;
          CM =
(ConnectivityManager)mContext.getSystemService(Context.CONNECTIVITY_SERVICE);

          NetworkInfo ni;
          ni = CM.getActiveNetworkInfo();
          if(ni == null)
               Slog.e(TAG, "Network ni is NULL .......................");
          if (ni != null && ni.isConnectedOrConnecting())
               Slog.e(TAG, "Network Connected .........................");
          else
               Slog.e(TAG, "Network Not Connected .......................");


Check what gets printed for the below code...


Are the set.dns1 and set.dns2 set?


--------------
Regards

Vikas KM


On Fri, Apr 20, 2012 at 4:04 PM, Jagadish Paul <jagsp...@gmail.com> wrote:

> Hi,
>
> I have a rooted android 2.3 tab (COBY MID 7022).
> I have made a dialer scripts with pppd and for my CDMA USB modem.
> After dialing I get ppp0 interface is running and could able ping
> google.com with ip address. But when I open browser android OS showing
> a message box for no internet connection.
>
> I understand I need to set something on android OS through ip-up file.
> But I don't have any information regarding this.
>
> Can any body help me to write a ip-up file so that applications can
> find ppp0 interface running.
>
> Thanks & regards
> jags
>
> --
> unsubscribe: android-porting+unsubscr...@googlegroups.com
> website: http://groups.google.com/group/android-porting
>

-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting

Reply via email to