×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Regular Contributor
    Join Date
    Jan 2004
    Posts
    125

    eSWT and Tactile

    Hi,

    I make a midlet with the eSWT user interface on a Nokia 5800 (5th edition). It is just a form with a button and several commands (menu)... So, to display the menu I have to click on the <options> command at the bottom of the screen (in the left). On the button, no listener is defined. If I click on the button with the finger, there is no reaction (it is what I want). If I click with the stylus on the button during more than one second (a circle is growing), the menu is displayed (I never want and code this)... So I suppose this is a default mechanism of eSWT... Is it possible to deactivate this ? Or to change the sensibility ?

    Thanks
    Last edited by frasene; 2010-07-23 at 19:14.

  2. #2
    Nokia Developer Expert
    Join Date
    Nov 2008
    Posts
    72

    Re: eSWT and Tactile

    The long tap pop up menu is active if you have a Menu of pop up type set for the Control (in your case Button) or a Command has the Button as its parent. I think in your case you just need to change the parent of the Commands to Shell to achieve the desired behavior.
    --
    Gorkem

  3. #3
    Regular Contributor
    Join Date
    Jan 2004
    Posts
    125

    Re: eSWT and Tactile

    Thanks for your answer...

    The component hierarchy in my midlet is like this :

    1. Shell (FillLayout)
    1.1. Composite (GridLayout)
    1.1.1. Button1
    1.1.2. Button2
    1.2. Command1
    1.3. Command2

    So I have buttons in a composite in a Shell and commands menu associated directly to the Shell... So I think that the parent of my command is directly the Shell...

    I will try to realize a simple midlet with the same problem and I will put the code...

    Thanks

  4. #4
    Regular Contributor
    Join Date
    Jan 2004
    Posts
    125

    Re: eSWT and Tactile

    The use of Menu and MenuItem instead of Command resolve the problem of the displaying of the long tap popup menu (it doesn't appear now) but it is not possible to put one option on the right button and another on the left... All the entries are concentrated on the left in an "options" menu.

    No one knows how to prevent the displaying of the long tap popup menu with commands ?

    Thanks
    Last edited by frasene; 2010-10-11 at 09:22.

  5. #5
    Regular Contributor
    Join Date
    Jan 2004
    Posts
    125

    Re: eSWT and Tactile

    Hi. This problem of long tap seems to be corrected on N8 (test with RDA) .

    But I have no solution for others S60 5th... An idea ?
    Last edited by frasene; 2010-10-12 at 15:11.

  6. #6
    Regular Contributor
    Join Date
    Jan 2004
    Posts
    125

    Re: eSWT and Tactile

    Hi,

    I am back for my previous question :

    1. Shell (FillLayout)
    1.1. Composite (GridLayout)
    1.1.1. Button1
    1.1.2. Button2
    1.2. Command1
    1.3. Command2

    If I made a long tap on the button1 and if I intercept the event at the button level, are the mouse events are sent to the composite and to the shell and higher ?

    If yes, how to prevent the mouse event to go to the composite, shell ?

    Perhaps it will prevent to display all the menu during a long tap ?

    Thanks

Similar Threads

  1. Tactile Feedback no Working on N97mini
    By abernardo in forum Symbian
    Replies: 3
    Last Post: 2010-06-21, 08:58
  2. Tactile feedback N97 not working
    By isydor in forum Symbian
    Replies: 3
    Last Post: 2010-05-22, 07:46
  3. Replies: 6
    Last Post: 2009-01-27, 08:40
  4. How capture tactile feedback in console?
    By the3sky in forum Symbian User Interface
    Replies: 1
    Last Post: 2008-10-18, 09:17
  5. Vibetonz Tactile Feedback
    By netbsd37 in forum Symbian
    Replies: 1
    Last Post: 2007-08-03, 01:40

Posting Permissions

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