mit-cml / appinventor-sources

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

Request to add a resource. #3246

Open patryk84a opened 4 weeks ago

patryk84a commented 4 weeks 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 3 weeks 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 2 weeks 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 2 weeks ago

Hello! I can work on this 😊

patryk84a commented 2 weeks 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.