×

Discussion Board

Results 1 to 12 of 12
  1. #1
    Registered User
    Join Date
    Sep 2006
    Posts
    39

    Want to use SVG Icon in progress note

    I am using imagefile, imageid and imagemask of AVKON_NOTE control to define my own bitmap for the progress note.
    This looked fine for 2nd Edition. Now I am having problems with 3rd Edition cause the icon looks bad in some screen resolutions.

    Is it possible to use a SVG icon? How can I do that?

  2. #2
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,165

    Re: Want to use SVG Icon in progress note

    Have you tried on replacing your mbm files with mif files ?

    Basically you could put SVG-T files to multi-image-file similarly as with bmp with mbm's.

    yucca

  3. #3
    Registered User
    Join Date
    Sep 2006
    Posts
    39

    Re: Want to use SVG Icon in progress note

    Yes, I tried that once but I got general system error or something like that.

  4. #4
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,165

    Re: Want to use SVG Icon in progress note

    did you use the zero based index, or did you use the index-numbers made for the mif file ?

    With MIF files the index doesn't necessarily start from zero, thus using zero would most likely cause crash.

    yucca

  5. #5
    Registered User
    Join Date
    Sep 2006
    Posts
    39

    Re: Want to use SVG Icon in progress note

    I have only one SVG icon in my mif. I tried it with ID 0.

  6. #6
    Registered User
    Join Date
    Sep 2006
    Posts
    39

    Re: Want to use SVG Icon in progress note

    How can I get the real index number of the icon? What index should I set for the mask ID?

  7. #7
    Registered User
    Join Date
    Sep 2006
    Posts
    39

    Re: Want to use SVG Icon in progress note

    Btw it's system error -1 what I get, so not found. But what? The file? The icon?

  8. #8
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,165

    Re: Want to use SVG Icon in progress note

    have a look into the converter you use, you could define it to make the header for the index number with '/h' option, also you should define it to make the mask, so you would get index for it as well.

    yucca

  9. #9
    Registered User
    Join Date
    Sep 2006
    Posts
    39

    Re: Want to use SVG Icon in progress note

    Fantastic! I have it and it looks so cool now. Thank you very much.

  10. #10
    Registered User
    Join Date
    Sep 2006
    Posts
    39

    Re: Want to use SVG Icon in progress note

    I have another problem with that. If I create the mif file from the command line, it's no problem to create the header.
    But when I try the same in the icon.mk file, the header isn't created.
    Any ideas?

    TARGETDIR=$(ZDIR)\RESOURCE\APPS
    ICONTARGETFILENAME=$(TARGETDIR)\myapp_aif.mif

    HEADERDIR=$(EPOCROOT)epoc32\include
    HEADERFILENAME=$(HEADERDIR)\myapp_aif.mbg

    RESOURCE :
    mifconv $(ICONTARGETFILENAME) /h$(HEADERFILENAME) \
    /c8,8 ..\gfx\myapp_tiny.svg

  11. #11
    Registered User
    Join Date
    Sep 2006
    Posts
    39

    Re: Want to use SVG Icon in progress note

    Hmm, it work when I compile for gcce. But when compiling for winscw udeb neither the mif not the mbg is being created.
    Please help me.

    ifeq (WINS,$(findstring WINS, $(PLATFORM)))
    ZDIR=$(EPOCROOT)epoc32\release\$(PLATFORM)\$(CFG)\Z
    else
    ZDIR=$(EPOCROOT)epoc32\data\z
    endif

  12. #12
    Registered User
    Join Date
    Sep 2006
    Posts
    39

    Re: Want to use SVG Icon in progress note

    Sorry, I solved it. There was a problem in my bld.inf which had nothing to do with the .mk file but stopped it from creating the files.

Similar Threads

  1. GoogleIt
    By deepika.mangla in forum Symbian
    Replies: 5
    Last Post: 2011-05-28, 11:04
  2. need information about j2me polish
    By rathikathangaraj in forum Mobile Java General
    Replies: 4
    Last Post: 2007-12-19, 09:01
  3. Replies: 7
    Last Post: 2007-09-05, 10:38
  4. N80 midlet icon problem revisited... questions
    By kounapuu in forum Mobile Java General
    Replies: 1
    Last Post: 2006-10-07, 20:15
  5. TinyLine SVG Minute Toolkit: Optimizing SVG for J2ME
    By girow in forum Mobile Java Media (Graphics & Sounds)
    Replies: 0
    Last Post: 2003-05-05, 18:44

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×