hi drafottjr
that's not the full code..
I have a lot of apps in my device, so when load the packages and gets their info and images and create a panel for each one, it's take a long time and the app just freezing for a period of time,
so I solved this problem by using threads.
and finally I found the problem
each app I get the path and the size, just this package "com.facebook.katana" (FACEBOOK) , when I try to get it size,
it will stop and gives me "error: Exception : Package manager has died"
I solved the problem , Thank you all