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

Outdated link on the chunk documentation #6

Open
egslava opened this issue Jul 27, 2017 · 5 comments
Open

Outdated link on the chunk documentation #6

egslava opened this issue Jul 27, 2017 · 5 comments

Comments

@egslava
Copy link

egslava commented Jul 27, 2017

Hey there!
In readme.md there's a link:

https://android.googlesource.com/platform/frameworks/base/+/master/include/androidfw/ResourceTypes.h
But it's broken. Perhaps, could you describe the chunk format if you have already done some researches about it and ready to share it?

Thank you! :)

@egslava
Copy link
Author

egslava commented Jul 30, 2017

Hey there!
Any info? :)

@egslava
Copy link
Author

egslava commented Jul 31, 2017

=( Anatolii, I'd be really glad to discuss it with you :/

@egslava
Copy link
Author

egslava commented Aug 14, 2017

@Anatolii ping

@Anatolii
Copy link
Owner

@egslava sorry for not replying for quite some time.
Google changed implementation, so now I can't find that easy previous explanation in master branch anymore
I found this version of the file thought https://android.googlesource.com/platform/frameworks/base/+/56a2301/include/androidfw/ResourceTypes.h
New implementation I believe is here
https://android.googlesource.com/platform/frameworks/base/+/master/libs/androidfw/ResourceTypes.cpp
I wonder it with new Android O mine will still work.

@Miha-x64
Copy link

I've used your code as a reference to generate my own 9-patch native chunk, everything works fine on my Android 8.1.

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

3 participants