Reputation: 83
I want to add to my application the ability to add it to the taskbar. Is there a API such an opportunity? Sorry for my english.
Upvotes: 0
Views: 433
Reputation: 16217
(I assume by "taskbar" you mean shortcuts/favorites icons on the taskbar)
Different OS's have different ways to do this.
On Linux, chrome apps are put in the start menu under a "Chrome Apps" group. From there, right-click to create shortcuts, add to panel, or favorites.
There doesn't appear to be an api to do this automatically: https://developer.chrome.com/apps/api_index
You're best bet may be to show the user how to access the app:
Upvotes: 0
Reputation: 3740
To my knowledge there is no API for this. When it's launched, it will appear on the taskbar, and then the user can right-click on the icon and pin it.
Upvotes: 2