Closed qvas-zz closed 10 years ago
I have the same behavior on Xperia Z and after a bit of investigation found that it's a problem with the theme / skin. The AndroidManifest.xml file that is obtained from each package is not the intended one but rather an injected one from the applied skin package.
With some experimentation I managed to make it work properly - it involves using the openXmlResourceParser(int cookie, String filename) and using cookie = 0, 1, ... to access the multiple AndroidManifest.xml entries that exist on the packageContext. Once we find one that is indeed for package=... then that's the one where the receivers can be found.
I'm not sure if the tool is still being maintained, but wanted anyway to leave this tip.
Thanks for figuring it out, very helpful.
Despite the app works perfect on HTC Hero 2.2, it is absolutely nonfunctional on Sony Xperia S 4.03