title: Android - Implementing icon pack support
body: <p>I'm trying to implement icon pack support in my application so that the same icon packs which works with Apex, Nova, ADW etc..  Will also work with my application.
  Using this code, to find the appfilter xml file and then parse it to get the drawable names, I've been able to get this working with free themes:</p>
  
  <pre><code>Context context = createPackageContext(packageName, Context.CONTEXT_IGNORE_SECURITY);
                  Resources res = context.getResources();
                  String str = "";
                  res.getAssets().list(str);
  </code></pre>
  
  <p>However with Paid icon packs this doesn't work.  The assets returned are 0.  I believe this is because of the forward locking present on paid apps on JB+ which makes the assets private. (Outlined here: <a href="https://stackoverflow.com/questions/12716607/accessing-assets-of-other-android-app-on-jelly-bean">Accessing assets of other Android app on Jelly Bean</a>)</p>
  
  <p>I haven't been able to find any information on how to support an icon pack and decompiling an icon pack apk I can see no content provider so I can only assume these launcher apps are using a method similar to mine to retrieve the assets.</p>
  
  <p>Is anyone able to give me any info on how this can be done or point me in the right direction?</p>