Dave -

OK, here's the poop from my tests.  This is iPhone 4 running iOS 4.1(8B117).

You are quite correct.  DECLINE a call and the Web-App is deader than a 
doornail.  None of the active control work and time has stopped passing.  You 
must reload the Web-App manually.  If you ANSWER the call, when the call ends 
your Web-App is automatically reloaded from scratch.

However ----

Do the same tests in Safari, and the DECLINE returns you to where you were, and 
the ANSWER/END also picks up right where you were with no reload.

This does seem like a real bug in the Web-App handling.  Most likely, since the 
Javascript engine is running without the magical protective envelope of Safari 
the behavior is not quite what would be desired.

-----

For your convenience, you can play with a page I have under development at
    http://wisen.us/timeline/

The clocks are quite convenient, since they are synced to the second and do not 
use the abysmal telco network time.  Also, on the setup screen there is a 
running-time value that lets you see the pause caused by answering a call.

Hope this helps...

Brian




________________________________
From: DaveInATL <[email protected]>
To: iPhoneWebDev <[email protected]>
Sent: Wed, October 13, 2010 9:41:17 AM
Subject: Re: My web app becomes unresponsive or restarts after an incoming call

I cannot believe that nobody knows anything about this. Can you at
least tell me if this is a problem that only I am experiencing? How
does YOUR web app behave when a call comes in and the user declines
it?

Here is a restatement of the problem:

After an incoming call is declined, the iPhone web app that I've
developed completely becomes unresponsive. The app is written in HTML,
CSS, JavaScript, jQuery, and jQTouch.

If the call is accepted, then the app restarts after the call ends.
I’ve read that it is normal for iOS to terminate your app when a call
is accepted. (I do not know if the expected behavior is for iOS to
return the user to the iPhone home page or perhaps to kick off the web
app again.)

I doubt, though, that it is normal for the app to freeze if the call
is declined.

Does anyone know what to do about this?

Is there even a way that my web app can know that a call is coming in
and take action accordingly?

-- 
You received this message because you are subscribed to the Google Groups 
"iPhoneWebDev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/iphonewebdev?hl=en.


      

-- 
You received this message because you are subscribed to the Google Groups 
"iPhoneWebDev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/iphonewebdev?hl=en.

Reply via email to