How would I go about getting the package names of the applications that can be Home on android
<p>My activity gets set as the default Home by the user, but I want to be able to launch the default Home from within my activity as well.  I've tried hard coding the following: </p>

<blockquote>
  <p>Intent intent = new Intent(Intent.ACTION_MAIN);
  intent.addCategory(Intent.CATEGORY_HOME);
  PackageManager pm = getPackageManager();
  String packageName = "com.android.launcher";
  String className = "com.android.launcher.Launcher";
  final ComponentName cn = new ComponentName(packageName, >className);
  intent.setComponent(cn);</p>
</blockquote>

<p>This seems to work on my droid, but force closes on the HTC Ally.  I'm thinking there's an easier way to just get a list of the apps that have the category Home and Default.</p>

<p>For those that have used the Home Swittcher app.  I essentially want to generate that list of installed default Home activities on the phone.</p>
