Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User ajitkumar26's Avatar
    Join Date
    Nov 2009
    Posts
    188
    Hi Skalogir,
    Sorry to create a new thread for this but I didn't able to reply to the below linked thread.


    http://www.developer.nokia.com/Community/Discussion/showthread.php?231026-How-to-disable-long-click-event-on-touch-screen-phone


    I tried with the SCREEN command but it is not working properly.
    All the commands are coming as Options only even if there are only two commands in the screen.
    What exactly my requirement is Option should be available only if there are more than 2 commands are present on the screen.

    Please help me how to resolve this issue...


    Thanks & Regards,
    Ajit

  2. #2
    Nokia Developer Expert skalogir's Avatar
    Join Date
    Aug 2011
    Posts
    547
    Hi Ajit,

    Is your problem the fact that long pressing shows your Commands on the screen, or is it that when adding two Commands, the options menu is being displayed?

    What is the target device? Are you using high-level (Form, List, TextBox), low-level (Canvas) LCDUI components or another external library (LWUIT, J2MEPolish)?

  3. #3
    Registered User ajitkumar26's Avatar
    Join Date
    Nov 2009
    Posts
    188
    Hi Skalogir,
    My problem is that when adding two Commands, the options menu is being displayed.
    Target device is NokiaC5-03.I am using low level Canvas components.

    Please help me to resolve th eissue..

    Thanks & Regards,
    Ajit

  4. #4
    Nokia Developer Expert skalogir's Avatar
    Join Date
    Aug 2011
    Posts
    547
    Hi Ajit,

    The link you provided was about the pop up options menu, which is a slightly different case than yours.

    This should work in your case:
    Code:
      Command cmd1=new Command("Cmd1", Command.EXIT,0);
      Command cmd2=new Command("Cmd2",Command.STOP,1);

  5. #5
    Registered User ajitkumar26's Avatar
    Join Date
    Nov 2009
    Posts
    188
    Thanks Skalogir for your response.
    I allready solved the issue by creating command in the following way
    Command cmd2=new Command("Cmd2",Command.BACK,1);

    Thanks & regards,
    Ajit

Similar Threads

  1. How to disable long click event on touch screen phone?
    By noksi in forum Mobile Java General
    Replies: 8
    Last Post: 2011-12-01, 19:54
  2. Touch/Click event over QVideoWidget
    By roguel6 in forum Qt
    Replies: 4
    Last Post: 2011-01-21, 15:46
  3. Replies: 5
    Last Post: 2009-11-06, 11:13
  4. Image click Event in mobiles without touch screen
    By swarna.nokia in forum Mobile Java Media (Graphics & Sounds)
    Replies: 2
    Last Post: 2009-06-16, 14:50

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