Discussion Board

Results 1 to 3 of 3

Thread: Error in menu

  1. #1
    Registered User
    Join Date
    Aug 2008

    Error in menu

    Hi! Help me please!
    I cant to great menu. Phone say, that error is in unicode string!

        reps = (
            (u'SMS', rsms),
            (u'Dial', rdial))
        use = (
            (u'Send sms', lambda: sendsms(1)),
            (u'Dial to', dial),
            (u'Send number via SMS', lambda: sendsms(2)))
        goto = (
            (u'Top', top),
            (u'End', end))
        tools = (
            (u'Save phonebook', saveall),
            (u'Restore backup from..', backup),
            (u'Settings', sett))
        menul = [
            (u'Search..', search),
            (u'Use number', use),
            (u'Go to', goto),
            (u'Reports', reps),
            (u'Tools', tools),
            (u'Exit', exit)]
        appuifw.app.menu = menul
    But, if i great menu in first, menu greated ok, next i make another menu, ok too:

        menu = [
            (u'Send', lambda: sendd(head, body, foot)),
            (u'Back', main)]
        appuifw.app.menu = menu
    But, if i try to great first menu again, application say error!

  2. #2
    Nokia Developer Champion
    Join Date
    Feb 2008
    Ahmedabad, Gujarat, India

    Re: Error in menu

    hello night_amir

    sorry i am not exactly getting you. So a clear cut exlplanation will be most better.

    And it seems the problem with menus so you can take a look at this article, not sure but i feel that will help you.


  3. #3
    Super Contributor
    Join Date
    Oct 2007
    Deva, Romania

    Re: Error in menu

    You should post the entire code you're using, if possible, and say exactly what error you're getting.

Similar Threads

  1. dynemic menu
    By pankaj gupta55 in forum Symbian
    Replies: 1
    Last Post: 2008-09-20, 11:33
  2. How to desactivate the Menu Key ?...
    By GeKI in forum Symbian User Interface
    Replies: 3
    Last Post: 2007-10-22, 10:02
  3. creating menu and sub menu
    By hasiamar in forum Symbian User Interface
    Replies: 3
    Last Post: 2006-10-23, 16:21
  4. slide menu in j2me
    By afka in forum Mobile Java General
    Replies: 4
    Last Post: 2006-09-04, 09:10
  5. Menu bar in FEP
    By kdinn in forum Symbian
    Replies: 0
    Last Post: 2004-05-27, 08:07

Posting Permissions

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