×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Nokia Developer Champion
    Join Date
    Nov 2012
    Location
    Karachi
    Posts
    89

    J2ME ACCELEROMETER GAME - Phone Lock Problem

    Hello,
    I am developing a J2ME ACCELEROMETER GAME.

    The problem I am facing is,
    During gameplay, after certain seconds 2 things happening
    1 - the display of screen gets dimmer
    2 - then the phone locks

    which is causing great inconvenience in gameplay .. the user had to unlock the device and resume the game.

    This is happening because there is no touch input in my game, it is just aan accelerometer based game.

    Is there any way around I can avoid phone lock during gameplay.

    Thanks!
    Shayan Rais (0344-2621149)
    Undergraduate - Computer & Information Systems Engineer (NED University)

    Facebook : https://www.facebook.com/messdevelopers
    Twitter : https://twitter.com/messdevelopers

  2. #2
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,169

    Re: J2ME ACCELEROMETER GAME - Phone Lock Problem

    have you checked our wiki for exampleas already, here couple links to get you started:
    http://developer.nokia.com/Community...e_screen_saver
    http://developer.nokia.com/Community...ngs_in_Java_ME

  3. #3
    Nokia Developer Champion
    Join Date
    Nov 2012
    Location
    Karachi
    Posts
    89

    Re: J2ME ACCELEROMETER GAME - Phone Lock Problem

    Quote Originally Posted by symbianyucca View Post
    have you checked our wiki for exampleas already, here couple links to get you started:
    http://developer.nokia.com/Community...e_screen_saver
    http://developer.nokia.com/Community...ngs_in_Java_ME
    A 1 line of code solved my problem ..
    thank you so much symbianyucca
    Last edited by Shayan Rais; 2013-07-21 at 10:48.
    Shayan Rais (0344-2621149)
    Undergraduate - Computer & Information Systems Engineer (NED University)

    Facebook : https://www.facebook.com/messdevelopers
    Twitter : https://twitter.com/messdevelopers

Similar Threads

  1. How to lock my nokia phone via j2me application?
    By mohammad_kaied in forum Mobile Java General
    Replies: 1
    Last Post: 2010-12-13, 08:58
  2. Problem with Background music in j2me game-Plz reply ASAP
    By revathi_srikrishna in forum Mobile Java Games
    Replies: 13
    Last Post: 2010-07-01, 06:02
  3. Replies: 2
    Last Post: 2006-05-02, 07:19
  4. How to send game in game file of phone
    By icq98hk in forum Mobile Java Tools & SDKs
    Replies: 1
    Last Post: 2003-06-03, 11:10

Posting Permissions

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