How can I get a list of apps installed, but not including system apps?
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/8784505/how-do-i-check-if-an-app-is-a-non-system-app-in-android">How do I check if an app is a non-system app in Android?</a>  </p>
</blockquote>



<p>At the moment this code returns everything including system apps like the Android System and clock.</p>

<pre><code>public List&lt;ApplicationInfo&gt; getApps() {
        final PackageManager pm = context.getPackageManager();
        List&lt;ApplicationInfo&gt; packages = pm
                .getInstalledApplications(PackageManager.GET_META_DATA);
        return packages;
    }
</code></pre>

<p>How can I differentiate between these and user-installed apps?</p>
