Fix weather icon issue
- using openweather's one

1. Support unread message notification on widjet
This commit is contained in:
Joel,Kim
2022-04-26 16:43:11 +09:00
parent eaba23783d
commit 8b0160bfda
6 changed files with 86 additions and 20 deletions

View File

@@ -1425,10 +1425,11 @@ HotelTV.hcap = (function() {
console.log("onSuccess");
hcap.system.getScreenCaptureImage({
"onSuccess": function(s) {
var _fileName = (new Date()).toISOString().slice(0, 19).replace(/[-:]/g, "").replace("T", "_");
console.log("onSuccess : uri = " + s.uri);
hcap.file.downloadFileToUsb({
"uri": s.uri,
"path": "/tmp/usb/sda/sda1/youtube_s3.png",
"path": "/tmp/usb/sda/sda1/" + _fileName + ".png",
"onSuccess": function() {
console.log("onSuccess");
},