Sandin is right, of course - the resources beyond ./res will be copied to the root of the jar, so res/icon.png can be accessed by "icon.png" - in my projects I do not use /icon.png, just icon.png.
Sandin Diego-WDS057 schrieb: > On WTK you must put the / before the icon name. > > I believe that the folder res is not created in the deployed jar file. > Try using /icon.png > > Diego Madruga Sandin > > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Markus Sinner > Sent: Monday, September 08, 2008 7:01 PM > To: [email protected] > Subject: Re: [Eclipseme-users] application icon problem > > It could be dependent of what phone you use. Some phones do not display > icons that do not have the correct size. A size of 48x48 has worked on > many devices for me. On what phones did you test? > > Frank Nguyen schrieb: > ------------------------------------------------------------------------ >> *From:* Frank Nguyen [mailto:[EMAIL PROTECTED] >> *Sent:* Monday, September 08, 2008 2:27 PM >> *To:* '[email protected]' >> *Subject:* application icon problem >> >> >> >> I plan to use 1 of my icon images, under ./res directory, as an >> application icon (to be shown on mobile device w/ the application >> name). I edited Project.jad file to include res/icon.png in Midlets >> and Optional tabs but when the package is built (jar/jad) and >> installed on the mobile, the icon is never showned (all application >> icons displayed correctly in the app when it's launched)! I tried to >> put in the full path of the icon; i.e. >> C:/Blablabla/Project/res/icon.png as well as the short path; i.e. >> icon.png but none worked. Did I do it right? >> >> >> >> Frank Nguyen >> >> YouCaddy, Inc. >> >> 1741 Saratoga Ave. Suite 107 >> >> San Jose, CA 95129 >> >> (408) 725-1997 (Office) >> >> (408) 836-6235 (Mobile) >> >> [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> >> >> >> >> >> >> >> Internal Virus Database is out-of-date. >> Checked by AVG. >> Version: 7.5.432 / Virus Database: 270.6.14/1543 - Release Date: >> 8/30/2008 12:00 AM >> >> >> Internal Virus Database is out-of-date. >> Checked by AVG. >> Version: 7.5.432 / Virus Database: 270.6.14/1543 - Release Date: >> 8/30/2008 12:00 AM >> >> > ------------------------------------------------------------------------ >> > ------------------------------------------------------------------------ > - >> This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge >> Build the coolest Linux based applications with Moblin SDK & win great > prizes >> Grand prize is a trip for two to an Open Source event anywhere in the > world >> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >> > ------------------------------------------------------------------------ >> _______________________________________________ >> Eclipseme-users mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/eclipseme-users >> > > ------------------------------------------------------------------------ > - > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the > world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Eclipseme-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/eclipseme-users > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Eclipseme-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/eclipseme-users -- ********************************* [EMAIL PROTECTED] http://www.psitronic.de psitronic IT-Solutions Markus Sinner W-Rathenau-Str. 14 - 68642 Bürstadt Tel.: (+49)6206 / 963513 Fax: (+49)6206 / 963514 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Eclipseme-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/eclipseme-users
