VectorMaster icon indicating copy to clipboard operation
VectorMaster copied to clipboard

Question: possible to decode VectorDrawable from byte array?

Open AndroidDeveloperLB opened this issue 6 years ago • 0 comments

Sadly starting from Android Q (or later, if you use the legacy flag), Google forces to use SAF instead of File. This means that parsing APK files is almost impossible, so I plan to use apk-parser library.

Sadly, the library doesn't offer to parse the VectorDrawable of the app-icons (written about here), but instead if offers its data as byte array.

My question: Does this library provide a way to get an instance of VectorDrawable from byte-array? If so, how?

If not, do you know perhaps of a way to do it? Maybe via the support library?

AndroidDeveloperLB avatar Nov 17 '19 08:11 AndroidDeveloperLB