Discussion Board

Results 1 to 13 of 13
  1. #1
    Registered User dittostudios's Avatar
    Join Date
    Oct 2003
    Posts
    6
    having trouble with a nokia n90.

    i have two games which are very similar.

    problem is when twisting the screen(to camera mode) one application will crash the phone (pull the battery is the only way to resolve) and the other will continue to work as normal.

    Both games continue to work fine when any other interupt is performed.

    The crash occurs when twisting the phone screen back. The screen will just be a blank.

    firmware is v 3.0535.4.3

    anyone any ideas what could cause such a crash?

    Cheers
    RC
    Last edited by dittostudios; 2006-03-03 at 12:18.

  2. #2
    Nokia Developer Champion hartti's Avatar
    Join Date
    Apr 2003
    Location
    USA, CA
    Posts
    7,192
    Are you accessing / trying to access camera on either of those applications?

  3. #3
    Nokia Developer Champion balagopalks's Avatar
    Join Date
    Nov 2003
    Location
    Bangalore , India
    Posts
    4,427
    Could you please mention which games you have tried / more details of the applications that you have tried ? Or if you could send me the apps may be I could try to reproduce it here..

    Regards
    Gopal

  4. #4
    Registered User dittostudios's Avatar
    Join Date
    Oct 2003
    Posts
    6
    I'm not trying to access the camera at any stage in either game.

    The crashing occurs at in stage in one game. I would be surprised if it was a memory issue becuase the smaller of the two games is the one that crashes

    i'm sorry to be so indescript but i can't release too much information about the games.

    Non-working game
    The hidenotify seems to work because when the screen is twisted the camera works 100%. when the screen is turned back the phone will instantly cease. It won't even make key tone sounds.


    Canvas class extends microedition canvas
    Sound - was using nokia sound, but it was removed and now has no sound.

    run loops looks like

    public void run(){
    done = false;
    while(!notdone)
    {
    if(!paused)
    {
    updateGame();
    updateScreenBuffer();
    }
    if(!paused){
    repaint();
    serviceRepaints();
    }
    if(Interrupted){
    Interrupted = false;
    if(game != null)
    game.intterupted();
    resetKeyboard();
    }
    if(Finished)
    done = true;

    performWait();
    }
    perfomCloseDown();
    }


    /* SHOW NOTIFY */

    protected void showNotify()
    {
    paused = false;
    }
    /* HIDE NOTIFY */
    protected void hideNotify()
    {
    if(audio != null)
    audio.stop();
    paused = true;
    Interrupted = true;
    }



    Working Class
    Canvas class extends full canvas ( i did try full canvas on the non working calss with no success).
    Sound is javax.

    the run method is the same execpt for :-
    if(!paused)
    {
    updateGame():
    updateBuffer();
    if(!pause){
    repaint();
    serviceRepaints();
    }
    }


    /* SHOW NOTIFY */
    protected void showNotfiy()
    {
    paused = false;
    setRedraw(); //method states to the game that certain elements need to be redrawn (other game will always redraw all)
    }

    protected void HideNotify()
    {
    if(!paused)
    {
    paused = true;
    interupted = true;
    }
    stopSound();
    }


    Cheers for any help

    RC

  5. #5
    I've noticed this issue too, including on games that have been java verified and released. Did you ever find a resolution?
    AdyW.

  6. #6
    Registered User dittostudios's Avatar
    Join Date
    Oct 2003
    Posts
    6
    Still having the issue on games we are working on now. Tried everything i could think of without much success.

  7. #7
    and the usual silence from nokia
    The only game I've found that behaves correctly is the preinstalled snakes, which I'm not sure is j2me.

  8. #8
    (Retired) Nokia Developer Admin. Nokia Ron's Avatar
    Join Date
    Jan 2006
    Location
    Michigan
    Posts
    4,664
    Quote Originally Posted by AdyW_RP
    and the usual silence from nokia
    The only game I've found that behaves correctly is the preinstalled snakes, which I'm not sure is j2me.
    Actually someone from Nokia did respond earlier

    Please understand that this is neither end user support nor developer's technical support. The Forum Nokia discussion board is a place for users to help others. There seems to be both a developer's question as well as a end user question here. So here is a long winded response.

    If you are looking for product support for applications or hardware you should go to Nokia's online support sites http://www.nokia.com/support not here in Forum Nokia. Or for a discussion board there is one localized one in the UK http://discussions.nokia.co.uk/discussions/ they may be able to help.

    If you are looking for developer support for Games you might want to post this in the Mobile Java > Games topic. instead of the General area. Still we moderate and try to help when we can using our Forum Experts but mainly we hope that support is provided by Forum Champions and your peers. Our technical support is available in other areas of Forum Nokia.

  9. #9
    Registered User RobJSmith's Avatar
    Join Date
    Apr 2006
    Posts
    1
    Does this mean that nokia are aware of the problem?

    Do you know how to fix it, or what causes it?

    Any work around knowledge would be helpful.

    Is it a firmware issue which has been resolved on later phones?

  10. #10
    My mistake, I didn't notice the "forum nokia expert" replies the tags are easy to overlook not like the sigs on the Hybrid forum.
    This is purely a developers problem as far as I can see, although I thought that general was the correct place as it's labeled "Discussion about general issues in J2ME/MIDP application development for Java-enabled devices".
    This might not be just a game issue it could in theory occur in any J2ME/MIDP application, it just so happens that we are games developers.

  11. #11
    Registered User siva_guduru's Avatar
    Join Date
    Apr 2006
    Posts
    32
    Hello,
    i am sorry that i cannot help u with ur question but i want a help from u as i am using N70 and i am not able to close the connection http/stream.

    when i am trying to download and if i want to cancel the download once it starts i am not able to do it.

    can u pls suugest me the way to do it.

    thaking you,
    siva_guduru.

  12. #12
    Hi Siva, it might help if you asked this in a new thread rather than posting into a non-related issue.
    Regards,
    Ade

  13. #13
    Registered User dittostudios's Avatar
    Join Date
    Oct 2003
    Posts
    6
    I have found a way to "fix" the issue.

    I flooded the code with

    while(AppPaused);
    {
    try{
    Thread.sleep(10L);
    }catch(Exception e){}
    }

    I don't believe this is a full fix but it seems to reduce the problem significantly

Similar Threads

  1. NOKIA N90 and live video feed
    By skanki in forum Streaming and Video
    Replies: 9
    Last Post: 2007-08-14, 07:37
  2. Theme Studio 3 and n90 / n70 Problems
    By Ezz666 in forum Streaming and Video
    Replies: 0
    Last Post: 2006-02-04, 13:18
  3. application crash and database related issue
    By mayankkedia in forum Symbian C++
    Replies: 2
    Last Post: 2004-08-24, 05:00
  4. Security code issue for 6230
    By kababoom in forum General Development Questions
    Replies: 1
    Last Post: 2004-08-19, 05:39
  5. 6600 Connection URL with semicolon (;) issue
    By msilvest@confsystem.com in forum Mobile Java Networking & Messaging & Security
    Replies: 1
    Last Post: 2004-08-17, 11:47

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