title: How to get a list of installed android applications packages on chromebook?
body: <p>I know how to extract list of installed android apps in normal android device but is it possible to get list of installed android apps in chromebook? </p>
  
  <p>Here is my code to get installed packages...</p>
  
  <pre><code>public static List&lt;String&gt; getInstalledAppsPackages(Context context) {
      List&lt;String&gt; packages = new ArrayList&lt;&gt;();
      List&lt;PackageInfo&gt; packs = context.getPackageManager().getInstalledPackages(0);
      for (int i = 0; i &lt; packs.size(); i++) {
              PackageInfo packageInfo = packs.get(i);
              packages.add(packageInfo.packageName);
          }
      }
      return packages;
  }
  </code></pre>