Languages

Menu
Sites
Language
Exit from App on Phone Call

I have a html pase and javascript in my app which have some sounds . Now i want that when there is call my app should terminate . I serached on it but did not find any same thing to onPause and OnResume state in Tizen . Any help

Edited by: Brock Boland on 17 Mar, 2014 Reason: Paragraph tags added automatically from tizen_format_fix module.

Responses

7 Replies
Lakshmi Grandhi
Hi Noureen, The middleware component for media will take care of pausing and resuming, i guess you no need to do it from Web Application. Have you test it from on real device this scenario.
Noureen Akhter
I did not tested it on real device yet. But i have given my app for testing to tizen testing department and rejected due to that eror: Abnormal operation when hold interruption occurs
Lakshmi Grandhi
Can you check for more formation in tizen store.
Noureen Akhter
I don't understand your point . Which thing i should chek on tizen store?
Lakshmi Grandhi
In Tizen store, you can ask for more information why your app has been rejected, since from statement "Abnormal operation when hold interruption occurs" we doesn't know full information.
Jihoon Chung
Hi, How about using webkitvisibilitychange? In case of web application move to pause state, visibility will be changed to hidden.
konduri sai swathi
Hi , Kindly try the below code for page visibility state
function handleVisibilityChange(){
         if (document.hidden || document.msHidden || document.webkitHidden){
                console.log("Page is now hidden");
            } else {
                console.log("Page is now visible");
            }
            
        }
        document.addEventListener("msvisibilitychange", handleVisibilityChange, false);
        document.addEventListener("webkitvisibilitychange", handleVisibilityChange, false);