hi All..
I Know how to check network status,connectivity and that type of things,Is there any option available to get Providers network status (means in terms of percentage or in terms of numbers???)because i need to show the network on my application,because I removed the Status bar from my application!!!How can i archive that?? Any solution?please Help thanks in advance Binil.. On Nov 6, 11:16 pm, redmapleleaf <[EMAIL PROTECTED]> wrote: > Here is the stack trace: > > Thread [<3> main] (Suspended) > ActivityThread.performLaunchActivity(ActivityThread$ActivityRecord) > line: 2138 > ActivityThread.handleLaunchActivity(ActivityThread$ActivityRecord) > line: 2156 > ActivityThread.access$1800(ActivityThread, ActivityThread > $ActivityRecord) line: 112 > ActivityThread$H.handleMessage(Message) line: 1580 > ActivityThread$H(Handler).dispatchMessage(Message) line: 88 > Looper.loop() line: 123 > ActivityThread.main(String[]) line: 3742 > Method.invokeNative(Object, Object[], Class, Class[], Class, int, > boolean) line: not available [native method] > Method.invoke(Object, Object...) line: 515 > ZygoteInit$MethodAndArgsCaller.run() line: 739 > ZygoteInit.main(String[]) line: 497 > NativeStart.main(String[]) line: not available [native method] > > and here are the log messages: > > 11-06 12:59:19.899: WARN/ActivityManager(52): Launch timeout has > expired, giving up wake lock! > 11-06 12:59:20.200: WARN/ActivityManager(52): Activity idle timeout > for HistoryRecord{4355d4f8 {com.google.android.polyglotz/ > com.google.android.polyglotz.Polyglotz}} > 11-06 13:11:57.649: WARN/PackageManager(52): Attempt to re-install > com.google.android.polyglotz without first uninstalling. > 11-06 13:12:02.478: ERROR/dalvikvm(721): pthread_setspecific failed, > err=22 > 11-06 13:12:04.909: WARN/ActivityThread(740): Application > com.google.android.polyglotz is waiting for the debugger on port > 8100... > 11-06 13:12:14.490: WARN/ActivityManager(52): Launch timeout has > expired, giving up wake lock! > 11-06 13:12:14.875: WARN/ActivityManager(52): Activity idle timeout > for HistoryRecord{43574a38 {com.google.android.polyglotz/ > com.google.android.polyglotz.Polyglotz}} > > On Nov 6, 10:09 am, szeldon <[EMAIL PROTECTED]> wrote: > > > What kind of crash was it? Was it an exception? If so, what exception > > was it and what info it had? > > On Nov 6, 4:04 pm,redmapleleaf<[EMAIL PROTECTED]> wrote: > > > > Hi all, > > > > would someone kind enough to let me know what I am doing wrong with > > > the following code. I would like to get thenetworkstatus using the > > > ConnectionManager, but everytime I made call to it crashed: > > > > ConnectivityManager cm = > > > ConnectivityManager)mActivity.getSystemService(mActivity.CONNECTIVITY_SERVICE); > > > > NetworkInfo netinfo = cm.getActiveNetworkInfo(); <<<< > > > IT CRASHED > > > HERE > > > > if(netinfo.getState() != NetworkInfo.State.CONNECTED){ > > > // displaynetworknot available alert > > > return null; > > > > } > > > > Thank you very much for your help, --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---