Sorry for late answer but I was busy with my family the last days.
JD-Gui seems to be the most used tool of all B4A library developers
I will explain the history behind the RHelper class. I got the idea when I have seen Erels nine patch images tutorial. This was the first time I have seen that it was possible to access the Android Resource files from within B4A. It was clear, when it is possible to access them from B4A it should be also possible to access them from within a library.
Because in the tutorial Erel used reflection to access the IDs I tried this approach in the AHActionBar library, too, and it worked very well.
I think I even borrowed the GetStaticField method from agrahams Reflection library. But If you google for "accessing static field with reflection" you will find hundreds quite similar solutions. I have changed my code a few days ago to a recursive approach so it isn't a copy of agrahams code anymore.
Overall I think the whole solution is not magic and is quite simple. So I don't mind if you copy it from me. An even better solution seems to be the approach from barx with the static BA.applicationContext field. The result should be the same.
If anybody wants to copy a part of my libraries, just do it. You don't need to ask for it. The only exception where you should ask is if you copy the whole library, make some minor changes and then want to release it again. In this case I think it is better if you ask me to merge your changes into my original library.
Attached is the latest version of the RHelper class but I think I should change it again to the BA.applicationContext version.