title: Solving "Package manager has died" RuntimeException
body: <p>I have an Android app that should list all installed apps on a device (no root). I have tried both <code>getInstalledApplications(0)</code> and <code>getInstalledPackages(0)</code> methods of <a href="http://developer.android.com/reference/android/content/pm/PackageManager.html"><code>PackageManager</code></a>, but on some devices, which do apparently have too many apps installed, I'm getting "Package manager has died" <code>RuntimeException</code> (I receive them via error reporting service of Google Play). This is due to a well-known limitation of 1MB per 1 call in IPC used internally by Android.</p>
  
  <p>How to workaround this? I don't mind to request the long list by chunks, but I don't see any means for that. Only 2 abovementioned methods are available.</p>