I have created new Android phonegap project using eclipse and put my existing WWW folder of my iphone phonegap project.
I have all the icons and screen added for android device inside Android folder as show here.. and also added it to my config.xml
For HDPI I have following icon and screen.
assetswww
esiconandroidicon-72-hdpi.png
assetswww
esscreenandroidscreen-hdpi-portrait.png
When I run the application in Emulator, it keep showing the default PhoneGap icons and splash screen.
I have added icons and screens for LDIP, MDPI, HDPI, XHDPI.
here is my config.xml
<icon src="icon.png" />
<icon src="res/icon/android/icon-36-ldpi.png" gap:platform="android" gap:density="ldpi" />
<icon src="res/icon/android/icon-48-mdpi.png" gap:platform="android" gap:density="mdpi" />
<icon src="res/icon/android/icon-72-hdpi.png" gap:platform="android" gap:density="hdpi" />
<icon src="res/icon/android/icon-96-xhdpi.png" gap:platform="android" gap:density="xhdpi" />
Is there anything I need to set to use assetswww
es folder instead of the default eclipse EclipseProjectRoot
esdrawable folder ?
Thanks
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…