×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Aug 2008
    Posts
    1

    Resume MIDlet after phone call using platformRequest

    Hi,

    I have created a MIDlet where I use the platformRequest to make a phone call.
    This works fine, but i want my MIDlet to get focus after the call has ended. (which is how it works SonyEricsson devices)

    I have done some tests using MIDlet.resumeRequest(), but the only way I have been able to maximize my midlet is by setting Display.setCurrent to my canvas.
    This does not fix my problem since I want it to maximize after the call has ended, and I don't think that is possible on Nokia S60 devices?

    Does anyone have a solution for this problem?

    Thanks

    (Using S60 3rd FP1 devices)

  2. #2
    Super Contributor
    Join Date
    Mar 2008
    Location
    The Capital of INDIA
    Posts
    4,328

    Thumbs up Re: Resume MIDlet after phone call using platformRequest

    Hi,
    Can you please refer the link below,
    http://discussion.forum.nokia.com/fo...d.php?t=162876
    Thanks with Regards,

    R a j - The K e r n e l


    Join Delhi-NCR Nokia Developer's Community,

  3. #3
    Registered User
    Join Date
    Sep 2007
    Location
    Bangalore
    Posts
    868

    Re: Resume MIDlet after phone call using platformRequest

    Hi occe,
    read the platformRequest() method documentation
    It says :
    If the platform has the appropriate capabilities and resources available, it SHOULD bring the appropriate application to the foreground and let the user interact with the content, while keeping the MIDlet suite running in the background. If the platform does not have appropriate capabilities or resources available, it MAY wait to handle the URL request until after the MIDlet suite exits. In this case, when the requesting MIDlet suite exits, the platform MUST then bring the appropriate application (if one exists) to the foreground to let the user interact with the content.

    example code look like this
    boolean result = parent.platformRequest(url);
    if(result){
    // Show alert to user like before to open this link you need to exit the application
    }else{
    parent.notifyPaused(); // It will bring back the midlet
    }

    It means to do the patformRequest it require some capabilities from the phone. It's totally dependents on the capabilities. In the newer Nokia phones S40 mobiles it will bring the midlet back

Similar Threads

  1. MIDlet doesn't work on Phone
    By NFC_Man in forum Near Field Communication
    Replies: 1
    Last Post: 2007-10-16, 08:32
  2. 技术文档:MIDP 2.0安全机制 与 MIDlet 数字签名
    By wotrust in forum [Archived] Other Programming Discussion 关于其他编程技术的讨论
    Replies: 0
    Last Post: 2006-12-30, 07:42
  3. Problem in makeing Phone Call in 2nd edition
    By yogesh.bhople in forum Symbian
    Replies: 4
    Last Post: 2006-11-18, 08:47
  4. Detecting call status of the phone
    By jkekoni in forum Symbian Networking & Messaging (Closed)
    Replies: 6
    Last Post: 2004-10-11, 08:07
  5. 'Response Unknown' when downloading midlet
    By Weevil in forum Mobile Java General
    Replies: 3
    Last Post: 2004-05-30, 17:01

Posting Permissions

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