[android-porting] How to update the Connectivity Manager?

2012-04-29 Thread Vikas KM
Hi All, I am trying to update the connectivity Manager saying that internet is available.. but its returning null. Any Help? -- Regards Vikas KM -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting

Re: [android-porting] How to update the Connectivity Manager?

2012-04-30 Thread Robert Greenwalt
Can you explain yourself a bit more? How are you updating the connectiivtyManager? How is it returning null? On Wed, Apr 25, 2012 at 11:51 PM, Vikas KM wrote: > Hi All, > > I am trying to update the connectivity Manager saying that internet is > available.. but its returning null. > > Any Help

Re: [android-porting] How to update the Connectivity Manager?

2012-05-04 Thread Robert Greenwalt
On Fri, May 4, 2012 at 4:15 AM, Vikas KM wrote: > HI Robert... > > Below is the code > > ** > > ConnectivityManager CM; > CM = (ConnectivityManager)mContext.getSystemService(Context. > CONNECTIVITY_SERVICE); > CM.reportIn

Re: [android-porting] How to update the Connectivity Manager?

2012-05-04 Thread Vikas KM
HI Robert... Below is the code ** ConnectivityManager CM; CM = (ConnectivityManager)mContext.getSystemService(Context. CONNECTIVITY_SERVICE); CM.reportInetCondition(CM.TYPE_MOBILE, 100); NetworkInfo ni;

Re: [android-porting] How to update the Connectivity Manager?

2012-05-04 Thread Vikas KM
Hi All, Below is the error log.. *** I/pppd( 1874): ppp/ip-up script ended D/pppd( 1830): Script /etc/ppp/ip-up finished (pid 1854), status = 0x0 D/Tethering( 1245): MasterInitialState.processMessage what=3 D/AndroidRuntime( 1336): Shutting down

Re: [android-porting] How to update the Connectivity Manager?

2012-05-08 Thread Robert Greenwalt
>From MountService? Does that sound like a networking device? Your 3g modem should have a DataStateTracker class associated with it (MobileDataStateTracker?) instantiated by ConnectivityService. It reports to ConnectivityService when it's connected or disconnected and is told to teardown or reco

Re: [android-porting] How to update the Connectivity Manager?

2012-05-09 Thread Vikas KM
Hi Robert, I am trying to run this from MountService.java... I am running 3G Modem to get the internet connection. I want to show the 3g icon in status bar with the connectivity is available for other apps... -- Regards Vikas KM On Fri, May 4, 2012 at 9:26 PM, Robert Greenwalt w