title: Installed application is third-party or not
body: <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 with the code below 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>