[
https://issues.apache.org/jira/browse/CB-5145?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13895623#comment-13895623
]
Andrew Grieve commented on CB-5145:
-----------------------------------
I think that matches my understanding. Until CLI adds support for splashscreen
& icons, then those will have to come from the platform templates. I don't
think having them in the CLI template ever had an effect.
> Why are non-android resources included in platforms/android assets folder?
> --------------------------------------------------------------------------
>
> Key: CB-5145
> URL: https://issues.apache.org/jira/browse/CB-5145
> Project: Apache Cordova
> Issue Type: Bug
> Components: CLI
> Affects Versions: 3.1.0
> Environment: Windows
> Reporter: Peter
> Assignee: Andrew Grieve
> Priority: Minor
> Fix For: 3.2.0
>
>
> The online guide
> http://cordova.apache.org/docs/en/edge/config_ref_images.md.html says
> {quote}
> When working in the CLI, icon source files are located within various
> platform-specific subdirectories within the project's www/res/icons
> directory. Newly created projects come with a default set of Cordova icons
> for you to replace for the platforms you wish to target.
> {quote}
> OK.
> But if I've only added the *android* platform to my CLI project then why
> would I want _non_-android resources copied into my
> platforms/_android_/assets/www/res folder?
> For example,
> {code}
> D:\IMAPS\peter>cordova create myapp com.peter myapp
> D:\IMAPS\peter>cd myapp
> D:\IMAPS\peter\myapp>cordova platform add android
> D:\IMAPS\peter\myapp>tree platforms/android/assets/www/res
> Folder PATH listing
> Volume serial number is AAB8-3216
> D:\IMAPS\PETER\MYAPP\PLATFORMS\ANDROID\ASSETS\WWW\RES
> +---icon
> ¦ +---android
> ¦ +---bada
> ¦ +---bada-wac
> ¦ +---blackberry
> ¦ +---blackberry10
> ¦ +---ios
> ¦ +---tizen
> ¦ +---webos
> ¦ +---windows-phone
> +---screen
> +---android
> +---bada
> +---bada-wac
> +---blackberry
> +---blackberry10
> +---ios
> +---tizen
> +---webos
> +---windows-phone
> D:\IMAPS\peter\myapp>
> {code}
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)