Re: [Proposal - New Feature] Add tag to config.xml to handle images

2016-07-21 Thread julio cesar sanchez
Resurrecting this old thread I think we need a resource-file tag on the config.xml (as the one on plugin.xml) to copy resources to the projects, not just images as this thread started. Examples: Images for push notifications Sounds for push notifications .plist and .json files with user data now

Re: [Proposal - New Feature] Add tag to config.xml to handle images

2015-05-04 Thread Karen Tran
Yes, I agree, and the notification icon is a good example. There is nothing in config.xml that currently does just a copy over, which is why I'm proposing to add this functionality in. I am actually just using a hook script to copy the images over right now, but I figure it might be beneficial to

Re: [Proposal - New Feature] Add tag to config.xml to handle images

2015-05-03 Thread Darryl Pogue
One example that comes to mind is notification icons for Android. It used to be fine to reuse the app icon, but as of Lollipop notification icons are only transparent and white. If your app icon is square, your notification icon will be a white square unless you provide a different one. Currently

Re: [Proposal - New Feature] Add tag to config.xml to handle images

2015-05-03 Thread Karen Tran
Buttons were just an example. The image could really be of anything the user wants in the application. What's in cordova now in config.xml is: icon src=res/android/button.png platform=android density=mdpi / The line above will copy button.png into the drawable-mdpi directory and rename it to

Re: [Proposal - New Feature] Add tag to config.xml to handle images

2015-05-02 Thread julio cesar sanchez
But you want it for native buttons? If not, you can just put the images on the www folder El viernes, 1 de mayo de 2015, Karen Tran ktop...@gmail.com escribió: I am looking for a way to be able to specify an image in the config.xml and have it be placed in the drawable directory. Under my

Re: [Proposal - New Feature] Add tag to config.xml to handle images

2015-05-02 Thread Karen Tran
I am looking for a way to be able to specify an image in the config.xml and have it be placed in the drawable directory. Under my circumstances, I have to assume that when the user creates a cordova project, he/she only knows how to modify the config.xml, so that's why I'm pushing for a way to do

[Proposal - New Feature] Add tag to config.xml to handle images

2015-05-01 Thread Karen Tran
Hi dev-list, I wanted to get your input on a feature I want to add to the config.xml. Currently there are only the icon tag and splash tag that allows the user to specify the icon and splash image in the config.xml respectively. I want to be able to specify multiple images that will be used in

Re: [Proposal - New Feature] Add tag to config.xml to handle images

2015-05-01 Thread Jesse
What is the use for the images? Is this for a plugin, or an app template? I can think of a couple ways to do this, but none would affect configure.xml. I suggest you look at how the splash screen plugin does this for android. On May 1, 2015, at 8:39 AM, Karen Tran ktop...@gmail.com wrote: