title: Android: how to get icon for any file in android?
body: <p>Is there a way to get the icon for any file in Android? I am building a file browser app. I tried this... but the ApplicationInfo object is setting to null.</p>
  
  <p>PackageInfo pkgInfo = getPackageManager().getPackageArchiveInfo(currentPath+pathName, 0);
  ApplicationInfo appinfo = pkgInfo.applicationInfo;</p>
  
  <p>Thx!
  Rahul.</p>