×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    May 2011
    Posts
    1

    Version from info.plist

    Hi,

    I'm looking to do something whicxh i thought was quite simple.

    Read the version from the info.plist file.

    I've looked at a few samples and not found that one that does it.

    Just wondering if anyone has code to do it?

    Cheers

    James

  2. #2
    Registered User
    Join Date
    Apr 2008
    Posts
    35

    Re: Version from info.plist

    I don't think it's possible with WRT. You don't have access to the filesystem through javascript, and the web browser can't access files within C:\private\ which is where your info.plist is located. Maybe you could build something in C++ and use ApiBridge.

  3. #3
    Nokia Developer Expert
    Join Date
    Jun 2008
    Location
    Tampere
    Posts
    833

    Re: Version from info.plist

    Hi,

    The easiest way is just to hard code the version string into a .js file as a plain variable. There is no method to get it form info.plist.

    Please see following wiki article:
    http://wiki.forum.nokia.com/index.ph...ng_WRT_widgets

    -Ilkka

Similar Threads

  1. help for widget's info.plist file
    By jotaneeya dipak in forum Symbian
    Replies: 1
    Last Post: 2010-01-05, 11:41
  2. Replies: 0
    Last Post: 2009-03-26, 16:30
  3. Seeking DTD for Widget's info.plist file
    By afbarstow in forum Symbian
    Replies: 2
    Last Post: 2008-11-16, 20:01
  4. Version info S60 3rd MR
    By Zdenko61 in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 1
    Last Post: 2006-07-06, 16:31
  5. Accessing network info from Java and location based info in Australia
    By T-Funk in forum Mobile Java Tools & SDKs
    Replies: 1
    Last Post: 2002-12-09, 09:57

Posting Permissions

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