Languages

Menu
Sites
Language
tizen.application.getCurrentApplication().exit(); 명령어를 백그라운드로 보낸 앱에서 실행이 가능한지 궁금합니다.

자세히 설명을 드리자면

 

다른 앱을 종료시키고자 하는 앱을 실행하고, 백그라운드로 보낸 뒤, 다른 앱실행 시 종료를 시킬 수 있는지 궁금합니다.

Responses

1 Replies
Armaan-Ul- Islam

As Far as I have seen the Application API documentation my findings are:

 

1. You can Launch any application from your app using appID and launch() function of Application API

function onsuccess(){
    console.log("App launched successfully");
}

tizen.application.launch("org.samsung.gearManager", onsuccess);

 

Link: https://developer.tizen.org/development/api-references/web-application?redirect=https://developer.tizen.org/dev-guide/3.0.0/org.tizen.web.apireference/html/device_api/mobile/tizen/application.html#ApplicationManager::launch

 

2. You can only exit the current application, Not just any application using appId or any other attribute.

tizen.application.getCurrentApplication().exit();

Link: https://developer.tizen.org/development/api-references/web-application?redirect=https://developer.tizen.org/dev-guide/3.0.0/org.tizen.web.apireference/html/device_api/mobile/tizen/application.html#Application::exit

 

3. You can only hide the current application, Not just any application using appId or any other attribute.

tizen.application.getCurrentApplication().hide();

Link: https://developer.tizen.org/development/api-references/web-application?redirect=https://developer.tizen.org/dev-guide/3.0.0/org.tizen.web.apireference/html/device_api/mobile/tizen/application.html#Application::hide