cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Husting (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (CB-7809) Put default app images in www/res
Date Mon, 20 Oct 2014 18:04:35 GMT

    [ https://issues.apache.org/jira/browse/CB-7809?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14177203#comment-14177203
] 

Steve Husting edited comment on CB-7809 at 10/20/14 6:03 PM:
-------------------------------------------------------------

Clarification: When we do a cordova platform add android, all the screen and icon files are
generated in the /platforms/android folder. To encourage people to use the config.xml page,
all icon and screen folders should be generated in a myApp/res/screen/android/* folders. People
would see that folder and the config.xml page and understand where to put their icons and
screens. 

Right now they see the icons and screens in the current /platforms/android/* locations and
wonder how to use the config.xml for icons and screens. If the myApp/res/* folder was created
upon cordova platform add android, there would be no doubt, and the workflow would simply
work. 


was (Author: websteve):
Clarification: When we do a cordova platform add android, all the screen and icon files are
generated in the /platforms/android folder. To encourage people to use the config.xml page,
all icon and screen folders should be generated in a myApp/res/screen/android/ folder. People
would see that folder and the config.xml page and understand where to put their icons and
screens. 

Right now they see the icons and screens in the current /platforms/android location and wonder
how to use the config.xml for icons and screens. If the myApp/res/ etc. folder was created
upon cordova platform add android, there would be no doubt, and the workflow would simply
work. 

> Put default app images in www/res
> ---------------------------------
>
>                 Key: CB-7809
>                 URL: https://issues.apache.org/jira/browse/CB-7809
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: CordovaLib
>    Affects Versions: 3.5.0
>         Environment: Any Environment
>            Reporter: Steve Husting
>            Priority: Trivial
>              Labels: icons, splashscreen
>
> People are confused about how to update the splash screens during their Android build.
Why not place all the default app helloCordova icons and splashes in the location you recommend,
in /helloCordova/android/res/* instead of in /helloCordova/platforms/android/res/*? Then fill
the config.xml with the lines needed to port the files over to Android via CLI as you recommend.

> This example of proper placement and config.xml usage will remove all users' doubts about
where to put the icons and splashes. 
> I assume you could programmatically set up the default app so that the entire /platforms/android/res
folder structure is reproduced in /helloCordova/android/res/ to make it easy to understand
where to put the user's own files. They'll replace those icon.pngs and screen.pngs with their
own. You would program the same thing with iOS files in /hellocordova/ios/res/ .
> Just a suggestion! 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message