×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Aug 2013
    Posts
    37

    [moved] increasing scrolling speed in j2me.

    I want to increase my scrolling speed in canvas of j2me.. I have used keyPressed() and keyRepeated() method but it scrolls by the default speed of my phone.. But i have some midlets which can scroll really very fast so i want the procedure how to increase the speed of scrolling in j2me canvas..

  2. #2
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,693

    Re: [help] increasing scrolling speed in j2me.

    Speed depends on movement amount over some time. You can either increase the movement amount ("step size") or reduce the time passing between steps. As you mention key handlers, their invocation frequency is probably constant, so you can may want to experiment with increasing the step size of the translation when you detect repeated keypresses. When the scrolling is over, reset the step size to its original value.

    EDIT: thread is moved to the Java boards now. Consider asking further Java ME questions there.
    Last edited by wizard_hu_; 2013-09-04 at 16:14.

Similar Threads

  1. print GPS speed from j2me emulator
    By souhir in forum Mobile Java General
    Replies: 1
    Last Post: 2010-07-13, 06:59
  2. How to increase speed of J2ME application
    By j.wawdhane in forum Mobile Java General
    Replies: 6
    Last Post: 2009-01-05, 08:53
  3. [moved] Can pc-connect affect program speed?
    By zhongxg in forum Symbian
    Replies: 0
    Last Post: 2008-07-11, 08:59
  4. Horizontal Scrolling in J2ME Polish?
    By matifk in forum Mobile Java General
    Replies: 2
    Last Post: 2008-05-10, 11:13

Posting Permissions

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