Results 1 to 2 of 2

Thread: Detect return to app after phone call.

  1. #1
    Sencha User
    Join Date
    Dec 2010
    Posts
    80
    Vote Rating
    1
      0  

    Default Detect return to app after phone call.

    Hello,

    I was wondering if this was possible. I have a webapp that allows the user to make a phone call using...
    window.location = 'telprompt://5552065555';... The app promps with call or cancel and returns to the app correctly after the call was made. Is it possible to detect when the user returns to the app?

    thanks

  2. #2
    Sencha User
    Join Date
    Dec 2010
    Posts
    80
    Vote Rating
    1
      0  

    Default

    Hello everyone,

    I got it working. It is not a Sencha based solution (I would still like to know of one), it works.

    Code:
    document.addEventListener("resume",function(){console.log('im back!');},false);

Posting Permissions

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