Topic Options
#165166 - 11/07/09 02:41 AM Including SVG icon to JAR file
MJK


Registered: 06/30/06
Posts: 143
Each JAR file compiled in MMF2 has icon.png. What I'd like to do is to include also icon.svg to the jar package and then put this line to the JAD file:

Code:
Nokia-Scalable-Icon-MIDlet-1: /icon-inside-jar.svg


That would make my app to use scalable svg icon on the devices I'm developing for, which looks much better than the bitmap icon. The bitmap icon is never used in 100% size, it's either larger or smaller and looks very rough.

Is it possible?

Top
#165169 - 11/07/09 03:08 AM Re: Including SVG icon to JAR file [Re: MJK]
Looki


Registered: 08/27/06
Posts: 1864
Loc: Duisburg, Germany
Well, open the JAD, add the line, rename the JAR to ZIP, put your icon-inside-jar.svg in it and rename it back to JAR. That should do it.
_________________________
Lukas Meller
Developer - AquadaSoft

You can get all my latest stuff at clickteam.info!

Top
#165201 - 11/07/09 09:02 AM Re: Including SVG icon to JAR file [Re: Looki]
MJK


Registered: 06/30/06
Posts: 143
Thanks, it worked. smile

I highly recommend this technique for developers who are developing for S60 phones or others supporting svg. Svg icons look so much better than the bitmaps, and if the phone doesn't support svg, it shows the bitmap icon instead. For some phones, you will need to convert the svg file to svgt (svg-tiny) to make it appear.

Top


Site Links
Forum Index

Home Page
Online Store
Tutorials
Download Center
French Forum
Quick File Links
Multimedia Fusion 2
Updates - build 248
Standard Version
Developer Version

Extension Packs
Bonus Pack 1
Bonus Pack 2
z33z Extension Pack
LIJI Extension Pack

The Games Factory 2
Latest Update - build 248
Community Links
MFA Repository
GameBuilder
Klikdisc
The Daily Click
Madword Arcade

Extensions
Neatwares Extension List
Extension Updater

Lacewing & Moo Server
Klikfarm
Click Chat
10 People are chatting
Game Builder
Latest Game

Wheel of Words

Latest News
Blue Friends 1.4!
GameBuilder Chat BETA!
PRC BETA IS OUT!