×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Regular Contributor
    Join Date
    Mar 2003
    Location
    Rome, Italy
    Posts
    53

    phone call incoming

    which method is called by j2me application when a phone call is received by the mobile phone?thanks

  2. #2
    Registered User
    Join Date
    Mar 2003
    Location
    London
    Posts
    37

    very urgent !!

    Haveyou solved this problem, I,ve finished my game and this is the big problem I receive and incoming call and I can restart my game, I must reboot the phone

    Thanks

  3. #3
    Registered User
    Join Date
    Mar 2003
    Posts
    7

    Solution

    Hi,

    I'd the same problem and found an alternative soultion: the Canvas class has an isShown method and you able the switch to paused state your application.

    Regards,
    Laszlo Sera
    sera@insync.hu

  4. #4
    Registered User
    Join Date
    Mar 2003
    Location
    London
    Posts
    37
    With isShown() method you receive a call, can you restart the application later ???

  5. #5
    Super Contributor
    Join Date
    Mar 2003
    Location
    Israel
    Posts
    2,280
    I am also using isShown() since using pauseApp() or hideNotify has been giving me problems on Series 60 phones (specifically the 7650).
    With isShown() you don't really pause the application - the game thread will keep running in the background, but it has all it's code inside a big
    Code:
    if (gameCanvas.isShown())
    so when you receive a call no game processing is done (since the canvas isn't shown), even if it is really still running in the background....

  6. #6
    Registered User
    Join Date
    Mar 2003
    Location
    London
    Posts
    37
    Hello , yes I'm programming with 7650.
    I'm using isShown method but once I've received a call and I close the midlet I can't reopen and I must to reboot the device.
    I've tested another midlet and occurs too I don't know if this is a big bug.
    This issue occurs in yours midlets ?????
    Last edited by gpg15600; 2003-03-30 at 19:31.

Posting Permissions

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