Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

android.app.IntentReceiverLeaked: Activity

 
Senthil Ganesan
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

friend's , I'm facing the problem in map view,initially i have map view with search option in header for searchin up content i'm using here my code for search...


after clicking it the code below is executed

where here i fetch search list data from database. search option provides search map result has well and in search page there again search option in header and have back button ,when click back button either from UI or device it backs well to previous mapview and again back button in first mapview,when click back it throws an Activitythread exception, 09-16 16:04:17.088: ERROR/ActivityThread(425): Activity com.example.brown.Bru_Maps_Result has leaked IntentReceiver android.net.NetworkConnectivityListener$ConnectivityBroadcastReceiver@43898578 that was originally registered here. Are you missing a call to unregisterReceiver()? i think i have to override Onpause(),OnReceive() methods,but i dont know how to implement it.help me to fix this issue.
 
Monu Tripathi
Rancher
Posts: 1369
1
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As the exception logs suggest, it seems that an IntentReceiver registered from Java code was not unregistered. Have you registered the mentioned IntentReceiver in your code? Maybe, it is a part of MapActivity?

Check if there are issues in the Android issues database against MapActivity mentioning this error.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic