Software Archive
Read-only legacy content
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
17060 Discussions

Build Crosswlak Android is not showing the icons and splashs

Hamilton_Tenório_da_
Valued Contributor I
662 Views

I noticed today that all Crosswalk Android building is not showing the icons and splash used (see image).

Is it a new version or a problem?

The list of used images during the build is a good way to confirm that all files are present.

0 Kudos
4 Replies
Nadeem_N_
New Contributor I
662 Views

is the default intel icons showing instead?

If yes than go to project tab maximise launch icons and splash screen n than select android crosswalk n than add ur icons respectively. I hope it will help.

0 Kudos
Hamilton_Tenório_da_
Valued Contributor I
662 Views

Sorry, I didn´t explain correctly. All the icons and splahs were used correctly  (I guess). But they didn´t show on the log. 

Every build I verify if all images were used based on log. If there a red line, I correct the files.

Now, no line about these images are showed.

Until yesterday they are showed. I realized this missing today.

Running on device, to test, the icon and splash are showed.

 

0 Kudos
PaulF_IntelCorp
Employee
662 Views

The build system has been modified to rely 100% on Cordova CLI to manage the icons, in order to improve the compatibility with Cordova and support ALL resolutions of icons. In past versions of the build system we had to manage those icons outside of the CLI, because older versions of Cordova CLI did not manage them properly. You saw those extra operations in the summary build page. Since those operations are no longer performed, you now only see the operations inside the detailed build log. The icons should still be present in your app and should still appear when loaded onto a real device.

One of the benefits of this change is that you can now specify the use of XX and XXX size icons for Android devices, using something like this inside your intelxdk.config.additions.xml file:

<!-- alternate way to add icons to Cordova builds, rather than using XDK GUI -->
<!-- especially for adding icon resolutions that are not covered by the XDK GUI -->
<!-- Android icons and splash screens -->
    <icon platform="android" src="pkg/android/icon-ldpi.png" density="ldpi" />
    <icon platform="android" src="pkg/android/icon-mdpi.png" density="mdpi" />
    <icon platform="android" src="pkg/android/icon-hdpi.png" density="hdpi" />
    <icon platform="android" src="pkg/android/icon-xhdpi.png" density="xhdpi" />
    <icon platform="android" src="pkg/android/icon-xxhdpi.png" density="xxhdpi" />
    <icon platform="android" src="pkg/android/icon-xxxhdpi.png" density="xxxhdpi" />
    <splash platform="android" src="pkg/android/splash-320x426.9.png" density="ldpi" orientation="portrait" />
    <splash platform="android" src="pkg/android/splash-320x470.9.png" density="mdpi" orientation="portrait" />
    <splash platform="android" src="pkg/android/splash-480x640.9.png" density="hdpi" orientation="portrait" />
    <splash platform="android" src="pkg/android/splash-720x960.9.png" density="xhdpi" orientation="portrait" />

 

0 Kudos
Hamilton_Tenório_da_
Valued Contributor I
662 Views

Thank you for the explanation. I will use this new way.

0 Kudos
Reply