mit-cml / appinventor-sources

MIT App Inventor Public Open Source
http://appinventor.mit.edu/appinventor-sources/
Apache License 2.0
1.5k stars 2.08k forks source link

Request to add a resource. #3246

Open patryk84a opened 1 month ago

patryk84a commented 1 month ago

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 commented 1 month ago

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 commented 1 month ago

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

XomaDev commented 1 month ago

Hello! I can work on this 😊

patryk84a commented 1 month ago

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.