How to create new XML resource ids at runtime?
<p>I want to create new XML resource IDs at runtime. Just generic XML resources like in the res/xml folder, but from a file on an SD card or anywhere in the filesystem.</p>

<p>I found this solution that says it's possible: <a href="http://stackoverflow.com/questions/4591696/android-how-to-generate-xml-resources-on-runtime">Android: How to generate xml resources on runtime?</a>.</p>

<p>It says to: </p>

<ol>
<li><p>Save XML into another external folder (SD card or so)</p></li>
<li><p>Create AssetManager over those file(s)</p></li>
<li><p>Then create Resources which can be later used as ordinary Android resource stored in APK</p></li>
</ol>

<p>I don't understand step 2 since there is no constructor for AssetManager. How do I create an AssetManager for external files?</p>

<p>Thanks in advance,</p>

<p>Barry</p>
