Discussion Board

Results 1 to 6 of 6

Hybrid View

  1. #1
    Registered User pimol's Avatar
    Join Date
    May 2005
    Posts
    34
    Bug: it appear on my 6600, not in emulator. OS V 4.09.01 - 26.2.04, python 1.1 prealpha

    This very simple script:

    Code:
    import appuifw
    import e32
    
    def exit_key_hand():
          app_lock.signal()
    
    app_lock = e32.Ao_lock()
    old=appuifw.app.title
    appuifw.app.title=u'Title'
    tx=appuifw.Text()
    tx.color=(0,0,128)
    tx.font=u'LatinBold17'
    tx.set(u'default')
    tx.set_pos(0)
    appuifw.app.body=tx
    appuifw.app.exit_key_handler=exit_key_hand
    lmenu=[(u"Exit, don't save",exit_key_hand)]
    appuifw.app.menu=lmenu
    app_lock.wait()
    appuifw.app.title=old
    appuifw.app.body=None
    appuifw.app.exit_key_handler=None
    When I push the right arrow, font goes down to default.

    It appears if text is a only word w/o spaces. If I put the line:

    tx.set(u'default text') instead of
    tx.set(u'default')

    it run correctly.

    If I put a char into before pushing the arrow, it run correctly.
    If I push the dow, left, up arrow before the right one, it run,

    Pietro
    Last edited by pimol; 2005-07-08 at 12:31.

  2. #2
    Registered User harp73's Avatar
    Join Date
    Apr 2004
    Posts
    20
    My guess is that some of the Nokia guys want you to DL 1.1.5 and test it with that version to.

  3. #3
    Registered User pimol's Avatar
    Join Date
    May 2005
    Posts
    34
    Originally posted by harp73
    My guess is that some of the Nokia guys want you to DL 1.1.5 and test it with that version to.
    FORGOT the above.
    May be I've drunk too much.

    Pietro

    Well, I'm a little embarrassed.
    I look at the forum one more time, but it seems to me that there are nothing newer to be installed into the phone, and in the emulator the error don't raise...
    There is a SDK 1.1.5, but as SIS file, I find the same I'm using, so I think I'm updated, I don't?
    Or there is a newer SIS, and it is present only in SDK? I'm downloading it, but it as a little big, and also a little slow to come...

    Pietro
    Last edited by pimol; 2005-07-08 at 17:26.

  4. #4
    Registered User pimol's Avatar
    Join Date
    May 2005
    Posts
    34
    Originally posted by harp73
    My guess is that some of the Nokia guys want you to DL 1.1.5 and test it with that version to.
    Actually, it works properly with 1.1.5 (fast)

    Pietro

  5. #5
    Registered User pimol's Avatar
    Join Date
    May 2005
    Posts
    34
    Originally posted by pimol
    Actually, it works properly with 1.1.5 (fast)

    Pietro
    It isn't true.
    Now it appers only if I start with a empty text. Exaple:

    Code:
    import appuifw
    import e32
          
    def exit_key_hand():
        app_lock.signal()
        
    def Vis(seeit):
        
        old=appuifw.app.title
        appuifw.app.title=u'Tester'
        tx=appuifw.Text()
        tx.color=(0,0,128)
        tx.font=u'LatinBold17'
        tx.style = appuifw.STYLE_BOLD
        tx.set(seeit)
        tx.style=0
        tx.set_pos(0)
    
        appuifw.app.body=tx
        appuifw.app.exit_key_handler=exit_key_hand
    
        app_lock.wait()
        appuifw.app.title=old
        appuifw.app.body=None
        appuifw.app.exit_key_handler=None
        
    if __name__=='__main__':
        Vis('')
        Vis(u'this run, the next again, no')
        Vis('')
    The first and the last run have the default font and style. The second, the right one.

    Pietro

  6. #6
    Registered User Roberto_it's Avatar
    Join Date
    Feb 2006
    Posts
    1
    Some one help me, I use Nokia 7610, but i lost my font, now I can't write text message with word, i press out only number.
    Thank

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