apk-parser icon indicating copy to clipboard operation
apk-parser copied to clipboard

Request/question : how to change SDK, to only parse APK files for intent-filters, for fastest&most efficient parsing ?

Open AndroidDeveloperLB opened this issue 9 years ago • 3 comments

Suppose all I need is to parse the APK files to get their intent-filters, can you please suggest what I could do to make it work faster, and with less memory usage ?

So far, in order to make it work this way, I've made "parseResourceTable" do nothing, which made parsing about 5 times faster and also use much less memory.

This is good, but I'd like to know if there is even more that I can do.

AndroidDeveloperLB avatar Jul 24 '16 21:07 AndroidDeveloperLB

Instead of using getManifestXml to get manifest file, you can impl XmlStreamer, retrieve intent-filters from xml tag stream. Beside this, I'm afraid there are no more actions can be done.

hsiafan avatar Jul 27 '16 01:07 hsiafan

What do you mean by " impl XmlStreamer" ?

AndroidDeveloperLB avatar Jul 27 '16 05:07 AndroidDeveloperLB

Take a look at ApkMetaTranslator, it is a good sample to follow.

hsiafan avatar Jul 28 '16 02:07 hsiafan