hylander0 / Iteedee.ApkReader

.NET library written in C# for reading/parsing APK manifest (AndroidManifest.xml) and resource data (Resources.arsc)
98 stars 42 forks source link

ResourceFinder cannot handle reference to another type chunk #9

Open kkguo opened 9 years ago

kkguo commented 9 years ago

Currently, the resourceFinder can only handle reference resolve within same type chunk. But a lot of cases, the reference is pointing to another type chunk, current ResourceFinder will return a null value.

hylander0 commented 9 years ago

Thanks @kkguo I will look into this. If you find a solution just let me know.

kkguo commented 9 years ago

I think one possible solution is resolve the reference after parsing all type chunks. I don't have code yet, as I re-wrote a faster parser to jump to the target resource directly instead of parsing every resource. but it has totally different code structure. if you need a sample, you can look into google's map apk.