Kodi Community Forum

Full Version: add icon, notification to home screen?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I have a script which starts and stops a VPN, is it possible to add an icon to the home screen to indicate if the VPN is connected?

I guess I could actually just write an rss feed and have that on the homescreen, but an icon may be easier to identify
I guess you want to send XBMC a 'notification'.

Quote:Notification(header,message[,time,image]) | Will display a notification dialog with the specified header and message, in addition you can set the length of time it displays in milliseconds and a icon image.

That uses the DialogKaiToast.xml to display your message and image.