Languages

Menu
Sites
Language
HW KEY
타이젠에서 HWKEY를 누른 경우 특정 앱을 실행하는 방법이 있나요?

Responses

15 Replies
daniel kim

안녕하세요..

아래와 같이 launch method를 이용하여 실행이 가능합니다.

      function onsuccess() {
              console.log("Application has launched successfully");
      }
      tizen.application.launch("tlp6xwqzos.Calculator", onsuccess);
 

https://developer.tizen.org/community/tip-tech/application-api-guide

 

 

진성 박

앱이 백그라운드 상태일때 특정 키(BACK키를 길게 누른경우)를 누른 경우 앱을 포그라운드 상태로 전환할 수 있는 방법이 있나요?

 

daniel kim

background running상태인 app을  tizen.application.launch()로 해당 app을 call하면 foreground running으로 전환되는 것으로 알고 있으니 참조하시면 될것 같습니다.

진성 박

언급하신 내용은 앱에서 특정 앱을 실행하는 것으로 알고 있습니다.

궁금한 것은 하드웨어 키 (예를들면 BACK)를 길게 누른 경우 특정 앱을 실행할려면 어떻게 해야 하는지요?

 

앱이 포그라운드 상태가 아니라서 키 이벤트 수신이 안되는 것으로 알고 있습니다.

서비악해야 하나스 앱을 만들어서 키가 눌린것인지 파요? 만약 그렇다면 서비스앱에서 키 이벤트를 어떤 API로 확인이 가능한가요?

아니면 앱 설치 시 특정 키 이벤트에 대한 등록을 할 수 있는지요?

 

daniel kim

안녕하세요..

Foreground상태에서 window가 focus되어야 hw key event listen이 가능하므로,web 앱에서는 background running상태에서 hw key를 listen할수 있는 방법은 없는 것 같습니다.

service앱의 경우도 ui가 없기 때문에 key event listen은 불가능할 것 같습니다.

Brandi Duncan

There are many different types of hardware keys. To verify the identity of a software user, hardware keys were previously used. It's common to hear these software protection tools referred to as a dongle or just a security device

Brandi Duncan

By their very nature, network adapters are encrypting devices that can be used for software authentication trap the cat

jane donna

Your blog provides a lot of useful and practical information

jane donna

Thank you for sharing the story. 

suka sukamin

The forum content you shared with me has provided me with a wealth of useful knowledge. I really hope you will start posting updates more often nytimes crossword.

Theodore Evans

I'm so lucky to have found this site, which gave me easy access to good information

 

Raymond Faulkner

These courses will help prepare you for the various roles required as a  auctioneer.

Byrd Franklin

Your sharing of forum content has provided me with a wealth of beneficial information. I sincerely hope you will begin publishing updates more frequently. 

Charles

love what you share