×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Regular Contributor
    Join Date
    Apr 2004
    Posts
    68

    Unhappy Problem in Call Interrupt in Game

    Hi
    I have developed a game on k500i.its work fine,but problem occutrs when u are playing game and a call is come.if i am reject the call there is no problem,but i a attend the call and after finishing call the game page is changed and game is hange.i have wrriten code in hidnotify() and shownotify().

    protected void showNotify()
    {
    //currentMode =5;
    //myTimer.enable();

    switch(parent.canvas.page)
    {
    case 1:
    Display.getDisplay(parent).setCurrent(parent.canvas);
    break;
    case 73:
    Display.getDisplay(parent).setCurrent(parent.canvas.MainList);
    break;
    case 5:
    Display.getDisplay(parent).setCurrent(parent.canvas.PosList);
    break;
    case 6:

    parent.canvas.ShowSelectPosList(parent.canvas.cata1);
    break;

    case 61:
    //cata1 = PosList.getSelectedIndex() ;
    parent.canvas.ShowSelectPosList(parent.canvas.cata1);

    }



    protected void hideNotify()
    {
    if(currentMode == 5)
    {
    textLoaded = false;
    scrollVal =0;
    currentMode =3;

    }
    }

    Plz help me.

    regards
    Anupam

  2. #2
    Regular Contributor
    Join Date
    Mar 2005
    Posts
    249
    Not familiar with the pausing and restarting of apps, but try setting the Command Listener. Perhaps that is why your game hangs?

    Good luck.

Posting Permissions

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