Hi Sasikumar,

appears that you created more intentReceivers than Android can handle. As it
is suggesting, you should use unregisterReceiver() whan you don't need more
the Receiver.

Regards,

Rogerio

2010/2/11 Sasikumar.S <sasikumar.it1...@gmail.com>

> Hi,
>
> What's this Exception?
>
> 02-11 11:56:59.015: ERROR/ActivityThread(850): Activity
> com.pack.MyJavaClass has leaked IntentReceiver
> android.net.networkconnectivitylistener$connectivitybroadcastrecei...@43c33978that
>  was originally registered here. Are you missing a call to
> unregisterReceiver()?
> 02-11 11:56:59.015: ERROR/ActivityThread(850):
> android.app.IntentReceiverLeaked: Activity com.pack.MyJavaClass has leaked
> IntentReceiver
> android.net.networkconnectivitylistener$connectivitybroadcastrecei...@43c33978that
>  was originally registered here. Are you missing a call to
> unregisterReceiver()?
> 02-11 11:56:59.015: ERROR/ActivityThread(850):     at
> android.app.ActivityThread$PackageInfo$ReceiverDispatcher.<init>(ActivityThread.java:797)
> 02-11 11:56:59.015: ERROR/ActivityThread(850):     at
> android.app.ActivityThread$PackageInfo.getReceiverDispatcher(ActivityThread.java:608)
> 02-11 11:56:59.015: ERROR/ActivityThread(850):     at
> android.app.ApplicationContext.registerReceiverInternal(ApplicationContext.java:724)
> 02-11 11:56:59.015: ERROR/ActivityThread(850):     at
> android.app.ApplicationContext.registerReceiver(ApplicationContext.java:711)
> 02-11 11:56:59.015: ERROR/ActivityThread(850):     at
> android.app.ApplicationContext.registerReceiver(ApplicationContext.java:705)
> 02-11 11:56:59.015: ERROR/ActivityThread(850):     at
> android.content.ContextWrapper.registerReceiver(ContextWrapper.java:308)
> 02-11 11:56:59.015: ERROR/ActivityThread(850):     at
> android.net.NetworkConnectivityListener.startListening(NetworkConnectivityListener.java:138)
> 02-11 11:56:59.015: ERROR/ActivityThread(850):     at
> com.google.android.maps.MapActivity.onResume(MapActivity.java:232)
> 02-11 11:56:59.015: ERROR/ActivityThread(850):     at
> android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1149)
> 02-11 11:56:59.015: ERROR/ActivityThread(850):     at
> android.app.Activity.performResume(Activity.java:3763)
> 02-11 11:56:59.015: ERROR/ActivityThread(850):     at
> android.app.ActivityThread.performResumeActivity(ActivityThread.java:2937)
> 02-11 11:56:59.015: ERROR/ActivityThread(850):     at
> android.app.ActivityThread.handleResumeActivity(ActivityThread.java:2965)
> 02-11 11:56:59.015: ERROR/ActivityThread(850):     at
> android.app.ActivityThread$H.handleMessage(ActivityThread.java:1889)
> 02-11 11:56:59.015: ERROR/ActivityThread(850):     at
> android.os.Handler.dispatchMessage(Handler.java:99)
> 02-11 11:56:59.015: ERROR/ActivityThread(850):     at
> android.os.Looper.loop(Looper.java:123)
> 02-11 11:56:59.015: ERROR/ActivityThread(850):     at
> android.app.ActivityThread.main(ActivityThread.java:4363)
> 02-11 11:56:59.015: ERROR/ActivityThread(850):     at
> java.lang.reflect.Method.invokeNative(Native Method)
> 02-11 11:56:59.015: ERROR/ActivityThread(850):     at
> java.lang.reflect.Method.invoke(Method.java:521)
> 02-11 11:56:59.015: ERROR/ActivityThread(850):     at
> com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860)
> 02-11 11:56:59.015: ERROR/ActivityThread(850):     at
> com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
> 02-11 11:56:59.015: ERROR/ActivityThread(850):     at
> dalvik.system.NativeStart.main(Native Method)
>
>
> --
> Thanks & Regards
> Sasikumar.S
>
> --
> 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<android-developers%2bunsubscr...@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