Discussion Board

Results 1 to 4 of 4
  1. #1
    I need to give user ability to enter a time in form hh:mm:ss (with appropriate validation of course). And standard function appuifw.query(u'Label', 'time') works almost fine except that it allows to enter only hours and minutes (hh:mm). So I want to look though its source and write my own that allows to enter seconds as well.

    I've found file epoc32\winscw\c\resource\appuifw.py that comes with PyS60 SDK extension but it only contains constructor implementation (__init__).

    So the question is where to find sources of platform's standard functions (particularly appuifw.query).

    Thanks in advance.

  2. #2
    Nokia Developer Moderator bogdan.galiceanu's Avatar
    Join Date
    Oct 2007
    Location
    Deva, Romania
    Posts
    3,471
    Hi,

    You can find the PyS60 source on maemo garage, here (the pys60-1.9.6_src.zip file) or on sourceforge, here (the pys60-1.4.5_src.zip file). In it you can find a number of files related to appuifw; you're probably looking for appuifwmodule.cpp which seems to contain the appuifw.query implementation.

    Best of luck

  3. #3
    Super Contributor Rafael T.'s Avatar
    Join Date
    Feb 2008
    Location
    Belo Horizonte, Brazil
    Posts
    744
    Quote Originally Posted by White Elephant View Post
    I need to give user ability to enter a time in form hh:mm:ss (with appropriate validation of course). And standard function appuifw.query(u'Label', 'time') works almost fine except that it allows to enter only hours and minutes (hh:mm). So I want to look though its source and write my own that allows to enter seconds as well.

    I've found file epoc32\winscw\c\resource\appuifw.py that comes with PyS60 SDK extension but it only contains constructor implementation (__init__).

    So the question is where to find sources of platform's standard functions (particularly appuifw.query).

    Thanks in advance.
    As far as I know, it would be necessary to modify the C++ code of the appuifw module and recompile it to make this possible. As Bogdan said, the C++ source file would be appuifwmodule.cpp


    BR,
    Rafael.

  4. #4
    Thanks, that's what I've been looking for.

Similar Threads

  1. Issue when trying to generate .sis file
    By rmulam in forum Symbian Tools & SDKs
    Replies: 9
    Last Post: 2009-08-13, 14:10
  2. Using standard c functions
    By lucafr in forum Symbian C++
    Replies: 1
    Last Post: 2008-08-30, 21:33
  3. about using c standard functions
    By ram4soft in forum Symbian C++
    Replies: 4
    Last Post: 2007-07-18, 08:17
  4. Some C Standard functions don't work
    By lazmous in forum Symbian C++
    Replies: 1
    Last Post: 2005-03-04, 19:42
  5. Using the standard VC++ functions
    By giudicea in forum Symbian C++
    Replies: 4
    Last Post: 2003-10-02, 12:20

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved