×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Nov 2007
    Posts
    18

    Red face Problem Regarding Accessing the Keycodes and Disbling the Camera

    Hi,

    I want to acess the KeyPress Event using keycode...So in which Item(Canvas,Form, List) is it accessblie to use it?

    I m newbie for the j2me and i have to make 1 application in which i have to disable the Nokia N-series(N-72) Menukey,Exit key(Red Key),Music Playe Key, and Camera with Shutter to access my application.

    While My Application is running this four fetures which i have described Before Must be off or Disable.

    So,I want the Keycodes for that MenuKey,Exit (red ) Key and Music Key for Nokia N-Series Mobile ?

    if u have anycode for that disabling the keys then Pls send me the code or Link ...

  2. #2
    Nokia Developer Expert
    Join Date
    Aug 2007
    Posts
    1,595

    Re: Problem Regarding Accessing the Keycodes and Disbling the Camera

    Hello talk2mishal,

    to start with, for using keyPressed(int keyCode), you need a Canvas (i.e. either as a Displayable or as a CustomItem which is appended to a Form).

    An example app for using keyPressed(int):

    http://www.jappit.com/blog/2008/05/1...l-your-canvas/

    Regards,
    r2j7
    [URL="http://library.forum.nokia.com/java"][B] >>> Java Developer's Library <<<[/B][/URL]
    [URL="https://www.developer.nokia.com/Resources/Support/Technical_support.xhtml"] [B]>>> Technical Support for Java ME development <<<[/B][/URL]
    [URL="https://publish.ovi.com/info/"][B]>>> Nokia Publish: reach millions of Nokia users worldwide through Nokia Store <<<[/B][/URL]

Posting Permissions

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