0
votes

I am using cordova for native packaging. Questions regarding below config.xml

  1. What is res/android/ and Where this path exist of i need to create ?
  2. Can we give any xyz.png instead of instead of xhdpi.png , if yes then where to keep those *.png(splash screen icons)
  3. oes all this override icon and startup image given in app.js (sencha generated default app.js)?
  4. How to give app icon instead of using default cordova icon ?
<platform name="android">
    <icon src="res/android/ldpi.png" density="ldpi" />
    <icon src="res/android/mdpi.png" density="mdpi" />
    <icon src="res/android/hdpi.png" density="hdpi" />
    <icon src="res/android/xhdpi.png" density="xhdpi" />
</platform>
1

1 Answers

0
votes

Configuration of Cordova icons and splash screens for Sencha Touch apps is done in the same way as for any other Cordova app, the documentation here covers this in detail.

You don't say which version of Cordova you are using, what does:

cordova -v

output? This may change how splash screens and icons are configured in your project - over time this has changed. You can look at the version of the above documentation link for your version of Cordova and it will tell you how to do this.