javascript - How to launch Chrome packaged app by clicking on a button in a html page -



javascript - How to launch Chrome packaged app by clicking on a button in a html page -

i have created chrome packaged app , when execute next line in command prompt, launches packaged app:

"c:\program files (x86)\google\chrome\application\chrome.exe" --load-and-launch-app="chrome-app-path-goes-here"

how can launch chrome app clicking on button in html page? javascript or jquery way of doing this?

yes, it's possible.

requirements:

specifically whitelisting domain in manifest knowing app's id (you can pin development) having app installed.

take @ externally_connectable: docs, example.

what can send message app, wake event page. there, can open app's window usual.

javascript jquery html google-chrome-app

Comments

Popular posts from this blog

formatting - SAS SQL Datepart function returning odd values -

c++ - Apple Mach-O Linker Error(Duplicate Symbols For Architecture armv7) -

php - Yii 2: Unable to find a class into the extension 'yii2-admin' -