Hi Dinesh,
Would you please have a check whether icon part is right in
AndroidManifest.xml?
<application
Andoird:icon=”@drawable/icon”>
If it’s Ok, you need to reboot your phone. As I know, there are some bugs on
some Android Launcher caused by icon cache.
Wish this can help you.
Br.
Guangzhen
From: Crosswalk-help
[mailto:[email protected]] On Behalf Of Dinesh
Guleria
Sent: Tuesday, April 21, 2015 9:06 PM
To: [email protected]
Subject: Re: [Crosswalk-help] phonegap › crosswalk + cordova --- icon issue
I am referring this link :--
https://crosswalk-project.org/documentation/cordova/migrate_an_application.html
On Tue, Apr 21, 2015 at 6:35 PM, Dinesh Guleria
<[email protected]<mailto:[email protected]>> wrote:
Hi,
I am integrating crosswalk with my existing cordova project.
My splash screen image is as per expectation.
But my icon image is coming as default Cordova icon image.
Why the final cordova app is not taking image from this location
"res/android/icon/icon.png" as per config.xml file ?
this is my config.xml file :---
<?xml version='1.0' encoding='utf-8'?> <widget
id="com.Dinesh_Guleria.GSM_Immobilizer_App" version="0.0.1"
xmlns="http://www.w3.org/ns/widgets"
xmlns:cdv="http://cordova.apache.org/ns/1.0">
<name>GSM Immobilizer App</name>
<description>
A sample Apache Cordova application used to communicate with GSM Gateway ECU
onto the vehicle.
</description>
<author
email="[email protected]<mailto:[email protected]>"
href="http://www.renesas.in/">
Dinesh Guleria
</author>
<content src="index.html" />
<access origin="*" />
<icon src="res/android/icon/icon.png" width="57" height="57" density="mdpi" />
<feature name="SplashScreen">
<param name="android-package"
value="org.apache.cordova.splashscreen.SplashScreen" />
</feature>
<platform name="android">
<!-- you can use any density that exists in the Android project -->
<splash src="res/android/drawable-xhdpi/screen.png" density="land-hdpi"/>
<splash src="res/android/drawable-xhdpi/screen.png" density="land-ldpi"/>
<splash src="res/android/drawable-xhdpi/screen.png" density="land-mdpi"/>
<splash src="res/android/drawable-xhdpi/screen.png" density="land-xhdpi"/>
<splash src="res/android/drawable-xhdpi/screen.png" density="port-hdpi"/>
<splash src="res/android/drawable-xhdpi/screen.png" density="port-ldpi"/>
<splash src="res/android/drawable-xhdpi/screen.png" density="port-mdpi"/>
<splash src="res/android/drawable-xhdpi/screen.png" density="port-xhdpi"/>
</platform>
<preference name="SplashScreen" value="screen" />
<preference name="SplashScreenDelay" value="10000" />
</widget>
Please suggest.
Regards,
Dinesh
_______________________________________________
Crosswalk-help mailing list
[email protected]
https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-help