Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: possible to decode VectorDrawable from byte array? #26

Open
AndroidDeveloperLB opened this issue Nov 17, 2019 · 0 comments
Open

Comments

@AndroidDeveloperLB
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant