×

Discussion Board

Results 1 to 8 of 8
  1. #1
    Regular Contributor
    Join Date
    Sep 2006
    Posts
    51

    Question Svg- icon and 3rd? Py2sis 3rd status?

    Hi,
    how to get icon with an Python application (3rd)?
    I can, with ensymble, create a working sis-file.
    The tool has option for icon creation, don't work
    for me.
    If I use some tool as "Inkscape" to creare an icon
    svg- file, no success. I tried to use also svg2svgt- tool
    no success, even Inkscape understands my effort
    and tells correct file created.

    How to get it to work?
    (is it 64x64?)

    An other question about 3rd py2sis current status.
    To my understanding somebody tells it works but
    again: I have problems. It creates always 2nd- style
    pkg- file to py2sis/temp folder.

    Any step by step guide available?
    Do I need a mif-file then? How to create it if I have svg-file?
    Why I ask about that, even ensymble works fine, is
    that ensymble cannot put pyc, pyd files to RESOURES yet.


    Thanks

  2. #2
    Super Contributor
    Join Date
    May 2006
    Location
    Oulu, Finland
    Posts
    622

    Re: Svg- icon and 3rd? Py2sis 3rd status?

    Hi big_pig

    I don't have solution for your icon issue since I haven't been through that yet.

    About the 3rd edition py2sis: do you have both 2nd and 3rd edition installed on the same machine? I've had some similar problems and the solution was that the 2nd edition devices was by default when I tried to make a sis for 3rd edition.

    So if it is the case just check which device is the default one in the command prompt:
    Code:
    ...\>devices
    S60_2nd_FP2:com.nokia.Series60 - default
    S60_3rd_MR:com.nokia.s60
    And then set the proper one
    Code:
    ...\>devices -setdefault @S60_3rd_MR:com.nokia.s60
    ...\>devices
    S60_2nd_FP2:com.nokia.Series60
    S60_3rd_MR:com.nokia.s60 - default
    That could solve your problem.

    Then try again the py2sis.

    Please, need help on svg conversion

    LFD
    Devices:
    Nokia E61 3rd Edition - pys60 1.4.0

    Tips and modules:
    http://www.lfdm.net/thesis

  3. #3
    Registered User
    Join Date
    Feb 2005
    Location
    Belgium (Europe)
    Posts
    1,352

    Re: Svg- icon and 3rd? Py2sis 3rd status?

    to LFD :

    There's a better solution for easily changing SDK version : EnvSwitch from another FNC Vinod Kumar

    links : EnvSwitch executable
    pys60 1.4.5 and 2.0.0, pygame, PyS60 CE on E90 and 5800 !

    Find my pys60 extension modules on cyke64.googlepages.com

  4. #4
    Super Contributor
    Join Date
    May 2004
    Location
    Tampere, Finland
    Posts
    524

    Re: Svg- icon and 3rd? Py2sis 3rd status?

    About SVG icons: SVG files from Inkscape do not normally have the "viewBox"-attribute, causing icon rendering to fail. See this Forum Nokia Technical Library page (KIS000398) for details:

    http://www.forum.nokia.com/document/..._attribute.htm

    Also, current 3rd Edition phones cache icons and do not re-render them, even if an application is removed and reinstalled. The only way to see the new icon take effect is to restart the phone.

    Using SVG2SVGT is not strictly necessary, although it does make the icon files smaller. I've succesfully taken SVG files from http://www.openclipart.org and used them as icons, without running them through SVG2SVGT. Converting SVG (or SVG-T) files into MIFs is done using the mifconv.exe tool from S60 3rd Edition SDK. Ensymble, however, uses SVGs (or SVG-Ts) directly, and converts them to MIFs internally.

  5. #5
    Super Contributor
    Join Date
    May 2006
    Location
    Oulu, Finland
    Posts
    622

    Re: Svg- icon and 3rd? Py2sis 3rd status?

    Sweet cycke64!

    Very nice, I saw once a screen shot of that application but I didn't have to to check what it was about and after I just forgot all about it

    LFD
    Devices:
    Nokia E61 3rd Edition - pys60 1.4.0

    Tips and modules:
    http://www.lfdm.net/thesis

  6. #6
    Registered User
    Join Date
    Aug 2008
    Posts
    28

    Re: Svg- icon and 3rd? Py2sis 3rd status?

    Quote Originally Posted by jethro.fn View Post
    Also, current 3rd Edition phones cache icons and do not re-render them, even if an application is removed and reinstalled. The only way to see the new icon take effect is to restart the phone.
    Big thanks! I was freaking out using other apps SVG icons for testing how to use ensymble, and my application always kept the default Python icon.. Something so simple as reboot.. Heh Thanks once again

    What are the requirements on the SVG file to be displayed correctly in the phone?
    I've been trying a few SVGs I find online but none worked, except the ones I find in public SVNs for other symbian apps..
    Are there some characteristics I should check on the SVG before packing it? Because this trial and error takes quite some time, needing to reboot the phone (damn slow E65)
    Last edited by skewlboy; 2008-08-24 at 20:33.

  7. #7
    Super Contributor
    Join Date
    May 2004
    Location
    Tampere, Finland
    Posts
    524

    Re: Svg- icon and 3rd? Py2sis 3rd status?

    Quote Originally Posted by skewlboy View Post
    Are there some characteristics I should check on the SVG before packing it?
    Check for the viewBox attribute, as explained above.

  8. #8
    Nokia Developer Moderator
    Join Date
    May 2007
    Location
    21.46 N 72.11 E
    Posts
    3,777

    Re: Svg- icon and 3rd? Py2sis 3rd status?

    Quote Originally Posted by jethro.fn View Post
    About SVG icons: SVG files from Inkscape do not normally have the "viewBox"-attribute, causing icon rendering to fail. See this Forum Nokia Technical Library page (KIS000398) for details:

    http://www.forum.nokia.com/document/..._attribute.htm
    The link doesn't work for me.

    Here is a working link
    http://wiki.forum.nokia.com/index.ph...wBox_attribute

    Best Regards,
    Croozeus
    Pankaj Nathani
    www.croozeus.com

Similar Threads

  1. Replies: 7
    Last Post: 2007-09-05, 10:38
  2. SVG Icon problem for 3rd edition
    By techietintu in forum Symbian C++
    Replies: 8
    Last Post: 2007-01-12, 12:39
  3. Replies: 0
    Last Post: 2006-12-30, 20:49
  4. py2sis and 3rd?
    By big_pig in forum Python
    Replies: 2
    Last Post: 2006-12-13, 12:58
  5. Replies: 7
    Last Post: 2006-09-22, 03:27

Posting Permissions

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