Wow, that seems really messy. If you're just after the API key or whatever, wouldn't reversing the Android app be simpler? As far as I know, you can't do all these low-level tricks on the Java platform.
Apple have no such system as far as I can know, and if they do, don't share it with 3rd party developers.