Installed application is third-party or not
<p>How can i get the list of installed third-party applications on android phone.</p>

<p>I am able to get the list of application from below code but i want only third-party applications.</p>

<pre><code>PackageManager pm = context.getPackageManager();
appInstalModel.setAppName(p.applicationInfo.loadLabel(context.getPackageManager()).toString());
appInstalModel.setAppPkg(p.packageName);
appInstalModel.setAppVersionName(p.versionName);
</code></pre>
