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

Request to add a resource. #3246

Open
patryk84a opened this issue Oct 7, 2024 · 4 comments
Open

Request to add a resource. #3246

patryk84a opened this issue Oct 7, 2024 · 4 comments

Comments

@patryk84a
Copy link
Contributor

Can you add an xml file to the xml folder that will allow the application to be detected by android auto or automotive?

xml/automotive_app_desc.xml :

Or maybe a better idea would be to push out a PR that added the ability to add resources to the extension?

@ewpatton
Copy link
Member

I thought that someone had implemented a @UsesXml annotation, but I cannot find any reference to it. If someone wants to work on this as a feature to support extensions then that should be fine.

@patryk84a
Copy link
Contributor Author

I've seen PR about adding resources from an AAR library. I haven't seen anything about @UsesXml. I'll try to search.

@XomaDev
Copy link
Contributor

XomaDev commented Oct 20, 2024

Hello! I can work on this 😊

@patryk84a
Copy link
Contributor Author

patryk84a commented Oct 21, 2024

I think @UsesXml wouldn't be as good as automatically adding resources from AAR files, but I think it would give a lot more possibilities than we have now. We could define not only xml files but also layouts or drawables which could also be downloaded from the xml folder.

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

No branches or pull requests

3 participants