>> Have you checked whether the icons in
[your-project-folder]/res/drawable* are the ones you expected?
I did not got what you are asking here ?


If you are asking content inside "res" folder then here is the answer.
In my project at following location "your-project-folder]/res/" . Under res
i have "Android" folder.
And under "Android" folder i have 4 more folders. I have following
structure of folder & files inside them :--

your-project-folder]/res/Android/drawable-hdpi/screen.png
your-project-folder]/res/Android/drawable-ldpi/screen.png
your-project-folder]/res/Android/drawable-mdpi/screen.png
your-project-folder]/res/Android/drawable-xdpi/screen.png
your-project-folder]/res/Android/icon/icon.png

Please suggest is it right ? Its working for screen & my cordova+croswalk
app shows the right screen.
Even you can see my config.xml file in my first mail.

Regards,
Dinesh

On Fri, Apr 24, 2015 at 1:37 PM, Li, Guangzhen <[email protected]>
wrote:

>  Have you checked whether the icons in
> [your-project-folder]/res/drawable* are the ones you expected?
>
>
>
> *From:* Dinesh Guleria [mailto:[email protected]]
> *Sent:* Friday, April 24, 2015 3:58 PM
> *To:* Li, Guangzhen; [email protected]
>
> *Subject:* Re: [Crosswalk-help] phonegap › crosswalk + cordova --- icon
> issue
>
>
>
> I am able to get right Icon by replacing right Icon image in following
> Path :--
>
> platforms\android\CordovaLib\res\drawable-hdpi
>
> platforms\android\CordovaLib\res\drawable-ldpi
>
> platforms\android\CordovaLib\res\drawable-mdpi
>
>
>
> But i think this is not the right way to do it.
>
>
>
> Anyone who can suggest on my last mail. I am not a Android expert so
> getting difficult to get right way to do it it.
>
>
>
> Regards,
>
> Dinesh
>
>
>
> On Thu, Apr 23, 2015 at 11:30 AM, Dinesh Guleria <[email protected]>
> wrote:
>
>   >>  Would you please have a check whether icon part is right in
> AndroidManifest.xml?
>
>   <application
>
>       Andoird:icon=”@drawable/icon”>
>
> Yes, AndroidManifest.xml file have icon defined the same way you told.
>
>
>
> Please suggest how to get it working ?
>
>
>
> This is how my Androidmanifest.xml file looks like :---
>
>
>
> ==============================================
>
> <?xml version='1.0' encoding='utf-8'?>
>
> <manifest android:hardwareAccelerated="true" android:versionCode="1" 
> android:versionName="0.0.1" package="com.Dinesh_Guleria.GSM_Immobilizer_App" 
> xmlns:android="http://schemas.android.com/apk/res/android";>
>
>     <supports-screens android:anyDensity="true" android:largeScreens="true" 
> android:normalScreens="true" android:resizeable="true" 
> android:smallScreens="true" android:xlargeScreens="true" />
>
>     <uses-permission android:name="android.permission.INTERNET" />
>
>     <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
>
>     <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
>
>     <application android:hardwareAccelerated="true" 
> android:icon="@drawable/icon" android:label="@string/app_name">
>
>         <activity 
> android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale" 
> android:label="@string/activity_name" android:launchMode="singleTop" 
> android:name="GSMImmobilizerApp" 
> android:theme="@android:style/Theme.Black.NoTitleBar" 
> android:windowSoftInputMode="adjustResize">
>
>             <intent-filter android:label="@string/launcher_name">
>
>                 <action android:name="android.intent.action.MAIN" />
>
>                 <category android:name="android.intent.category.LAUNCHER" />
>
>             </intent-filter>
>
>         </activity>
>
>     </application>
>
>     <uses-sdk android:minSdkVersion="10" android:targetSdkVersion="19" />
>
> </manifest>
>
>
>
> ==============================================
>
>
>
> On Wed, Apr 22, 2015 at 10:43 AM, Dinesh Guleria <[email protected]>
> wrote:
>
>  >>  Would you please have a check whether icon part is right in
> AndroidManifest.xml?
>
>   <application
>
>       Andoird:icon=”@drawable/icon”>
>
> Yes, AndroidManifest.xml file have icon defined the same way you told.
>
>
>
> Regards,
>
> Dinesh
>
>
>
> On Tue, Apr 21, 2015 at 8:26 PM, Li, Guangzhen <[email protected]>
> wrote:
>
>  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]>
> 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]" 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

Reply via email to