Back to Blog
Windows sticky notes earth widget6/22/2023 Outlook Calendar – This shows upcoming events in the calendar.Family Safety – Brings up recent activities from members in the family group of your Microsoft account.Entertainment – Displays trending movies, and clicking each item will open the Microsoft Store with different ways to acquire the movie.Sports – Shows game results and schedules.Tips – Surfaces tips to use Windows 11.To Do – Displays tasks from your Microsoft To Do lists.Weather – Brings the current weather information based on your location, and you click the widget, the forecast will open in the browser.Gaming – Presents information about gaming.Traffic – Displays the current traffic information based on your location.Start reading has already published the documentation that developers can use to bring third-party widgets to Windows 11, but at the time of this writing, you can use these: In addition can start a timer to switch LED on and off. Turn an LED connected to PIN1 (Physical Pin is 18) on and off. #LED On Off Widget (Raspberry Pi Experimental) Tested between Raspberry Pi (as Server) and Windows (as Client), between Windows (as server) and Windows (as Client) and between Raspberry Pi's. On the client, connect to the server and ready to chat. The settingsfile are for the chatserver t (define the chatname) and for the chatclient t (define the chatname and the server IP address).Īfter setting the right server IP address on the client, start the server first (java -jar chatserverwidget.jar) and then the client (java -jar chatclientwidget.jar). Popserver =, user =, password = YYYY, popport = 995, deletefromserver=0|1 (to delete the emails after checking), interval = milliseconds If clicked, means emails checked, the email list is cleared and the button turns green.Ī label below the button shows if messages have been found from last server check for emails. If new email(s) found on the server, the From and Subject will be shown in a list.Ĭlicking on a list entry, the From and Subject are showin in a Message Window.Ī button indicates new emails (turning red). Smptserver =, user =, password = YYYY, smtpport = 465, interval = milliseconds Send an email composed out of field To, Subject and Body. Read the first line of a logfile on a webserver (as an example, can be any file) The woeids are defined in the settings, like WOEIDS=2, WOEID1=656958,Hamburg (Germany), WOEID2=753057,Arrecife (Spain) To change the layout, lookup widgetcode.bas. Obtain Weather information from Yahoo using the Where On Earth ID (Woeid). Select a time zone from a combobox and display time pls GMT information. The time zones are defined in the settings, like Clocks=2, Clock1=Europe/Madrid, Clock2=America/Chicago The settingsfile is t.ĭisplay actual time for multiple timezones. Start the B4J IDE and load the widgetname.b4j. Rename templatewidget.b4j to the new widgetname, like logwidget.b4j. To define specific settings for the new widget, use a settingsfile t, like t. To develop other widgets, copy the folder templatewidget to a folder of choice, like logwidget.Īdd the functionality of the new widget to widgetcode.bas. This to use to stop the widget if required ($kill pid). To start the Widget as a process, run as: Important to set and use Keys in lowercase! The last position will be set when starting the widget. The other settings are stored when closing the widget. Use a texteditor to change the settings interval and stayontop. In addition, widget specific settings are set. Stored for all widgets are version, timer intervall (ms), position x,y and width, height, stayontop (1 for Yes or 0 for No). Settings (key=value) are stored in a textfile t in the dirapp folder. When the widget is set to undecorated mode (on the RPi, right mouse click), to close the widget, double click on the message label. The frame has a utility style with a title and one close button. The message editorpane has a scrollbar for multiline text and it accepts url's. The labels accept HTML formatted text, like Hello World!, but also CSS can be used. Note that this depends on the type of widget. The Widget frame is composed out of a Frame Title, Heading Label and Message Editorpane. Note: The Widgets also run under Windows (8.1 tested with JDK8) - other OS not tested. The result is a rather small jar, running with good performance on the Raspberry Pi 2. It has a simple layout with few controls only. A widget could be a Clock, EMail Listener, Chat, RSS Feed, LogViewer, Notifications, Weather Info, Info Screens etc.ī4J Non-UI app (=Standard Java) having an UI interface based on jFrame. While working with the Raspberry Pi (Rpi), thought it would be helpful to have Widgets showing information at hand on a position at the screen.
0 Comments
Read More
Leave a Reply. |