×

Discussion Board

Results 1 to 12 of 12
  1. #1
    Registered User
    Join Date
    Nov 2009
    Posts
    38

    Question Slide in/out event in N97 using J2me

    Hi,

    Is it possible to get N97 slide in/out event using J2me?

    I am able to get landscape/portrait mode event but if slider is out or in is still confusing.

    Regards,
    Rajiv

  2. #2
    Registered User
    Join Date
    Feb 2008
    Posts
    8

    Re: Slide in/out event in N97 using J2me

    I think in J2ME it's impossible. Though try to check Nokia UI API which supports some additional extras - probably it might be helpfull (I doubt)

  3. #3
    Super Contributor
    Join Date
    Nov 2003
    Location
    Bangalore , India
    Posts
    4,430

    Re: Slide in/out event in N97 using J2me

    If I remember correctly, I have never came across a way to capture Keyboard Slide events.

    Regards
    Gopal

  4. #4
    Registered User
    Join Date
    Nov 2009
    Posts
    38

    Re: Slide in/out event in N97 using J2me

    Thanks,

    But is there any way to identify in N97 like devices that keyboard is active.
    I am using virtual keyboard and on slide out event I want to hide it .

    If keyboard is slide in and application in landscape mode than I want to show virtual keyboard.

    So is that possible?

    Please let me know

  5. #5
    Super Contributor
    Join Date
    Jun 2003
    Location
    Cheshire, UK
    Posts
    7,395

    Re: Slide in/out event in N97 using J2me

    No, I'm afraid it is not possible.

    Series 60 5th Edition devices do allow you to detect the keyboard type, but not the slide status.

    Graham.

  6. #6
    Registered User
    Join Date
    Nov 2009
    Posts
    38

    Re: Slide in/out event in N97 using J2me

    Is it possible using midpjni???

  7. #7
    Super Contributor
    Join Date
    Nov 2003
    Location
    Bangalore , India
    Posts
    4,430

    Re: Slide in/out event in N97 using J2me

    Just trying to understand : What is your exact use case ? What are you trying to achieve out of that ?

    Regards
    Gopal

  8. #8
    Registered User
    Join Date
    Nov 2009
    Posts
    38

    Re: Slide in/out event in N97 using J2me

    Hi,

    I have an J2ME application where on click on textfield virtual keyboard pops out.
    On orientation change event (portrait/landscape) keyboard also gets changed from Alphanumeric/QWERTY.

    portrait mode: Alphanumeric
    landscape mode: QWERTY

    N97 like devices having physical keyboard also.
    And It's not feasible to show virtual keyboard when physical is on.

    In landscape mode (sizechange event) I can hide virtual keyboard but N97 provides functionality such as,
    sensor on for orientation.

    So I want to get the slide in/out event to show/hide my virtual keyboard.

  9. #9
    Registered User
    Join Date
    Nov 2009
    Posts
    38

    Re: Slide in/out event in N97 using J2me

    Will it generated any keypressed event? (I have tried but couldn't get any event there)

    Somewhere I read that its possible for nokia device to get slide in/out event.
    So is there any work around for that?

  10. #10
    Super Contributor
    Join Date
    Jun 2003
    Location
    Cheshire, UK
    Posts
    7,395

    Re: Slide in/out event in N97 using J2me

    Quote Originally Posted by rajivmodh View Post
    Will it generated any keypressed event? (I have tried but couldn't get any event there)
    If you tried, and you didn't get an event, then you've answered your own question.

    Quote Originally Posted by rajivmodh View Post
    Somewhere I read that its possible for nokia device to get slide in/out event.
    I suspect you found relating to native C++ applications, not Java.

    Graham.

  11. #11
    Super Contributor
    Join Date
    Mar 2008
    Location
    The Capital of INDIA
    Posts
    4,328

    Thumbs up Re: Slide in/out event in N97 using J2me

    Quote Originally Posted by rajivmodh View Post
    Hi,

    In landscape mode (sizechange event) I can hide virtual keyboard but N97 provides functionality such as,
    sensor on for orientation.
    Hi Rajiv,
    As you above said that you have hide the virtual keyboard when device mode is landscape. For the showing the same on the portrait mode just do the reverse.
    Is this makes sense?
    Thanks with Regards,

    R a j - The K e r n e l


    Join Delhi-NCR Nokia Developer's Community,

  12. #12
    Registered User
    Join Date
    Nov 2009
    Posts
    38

    Post Re: Slide in/out event in N97 using J2me

    Hi,

    @raj: As far as I got your point, you mean to say that I hide/show keyboard on orientation change.
    It's working but problem is with physical keyboard. I am not able to get any event for that.

    Anyways ..thank you all.
    I just thought other way round that will hide virtual keyboard on click of any physical key.
    Hope it work out for me.

    Thank you.

Similar Threads

  1. N97 not playing sound in J2ME application
    By t.kumar in forum Mobile Java General
    Replies: 3
    Last Post: 2010-02-26, 13:08
  2. How can the WAP browser communicate to J2ME application?
    By hbfornies in forum Mobile Java General
    Replies: 20
    Last Post: 2007-03-02, 16:32
  3. J2ME Polish 1.0 RC1!
    By enough in forum Mobile Java General
    Replies: 1
    Last Post: 2004-06-15, 02:53
  4. TinyLine SVG Minute Toolkit: Optimizing SVG for J2ME
    By girow in forum Mobile Java Media (Graphics & Sounds)
    Replies: 0
    Last Post: 2003-05-05, 18:44
  5. TinyLine SVG Minute Toolkit for J2ME: version 1.4 released
    By girow in forum Mobile Java General
    Replies: 0
    Last Post: 2003-05-05, 16:25

Posting Permissions

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