PhoneGap的+安卓:2'WWW'文件夹中的源$ C $ C:哪些修改? [英] PhoneGap + android: 2 'www' folder in source code: which to modify?
问题描述
当从头开始创建的PhoneGap 3应用程序,我加入Android平台,并打造专业化+效仿。
When create from scratch a phonegap 3 application, i add platform android and buid + emulate.
看到这里,正式入门指南:的http://docs.phonegap.com/en/edge/guide_cli_index.md.html#The%20Command-line%20Interface
See here, official getting started guide: http://docs.phonegap.com/en/edge/guide_cli_index.md.html#The%20Command-line%20Interface
我开始修改code和我注意到,有主目录下的hello一个'WWW'文件夹,一个在平台\机器人\资产
I start to modify code and I notice that there is a 'www' folder under "hello" main directory, and one under platforms\android\assets
哪一个我必须修改?
如果再添加其他平台?我修改code将被传递到其他平台上的code?
If then I add another platform ? My modification to code will be passed to other platform's code ?
推荐答案
修改在第一个www的文件夹中的文件(在你的主目录下)。
Modify the files in the first "www" folder (in your main directory).
每个 PhoneGap的运行Android
将覆盖东西在平台/机器人。
Each phonegap run android
will overwrite the stuff in "platforms/android".
这篇关于PhoneGap的+安卓:2'WWW'文件夹中的源$ C $ C:哪些修改?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!