yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] dr71399:
Aww that sucks it worked before what happened? That's the best part to see the windshield whiper and rain drops when it's raining on my home screen now that's gone? Is there a way to fix it? Even if i have to pay its worh it to me....
[Android Apps and Games] akatarmo:
Ok, I have tested version 4.0.8 on an old smartphone with Android 6.0.1 and the animations work when unlocking the phone. So, maybe it's a permissions problem in newer versions of Android, like v12 which is the one I use (and the animation when unlocking also doesn't work for me).

There is an apk that I have tried, which looks like a Fancy Widget clone and the animations work. It is in the Play Store although you may not be able to install it if your Androir version is recent. Then, you will have to look for it through "unofficial" channels.

Beautiful Widgets Pro
[Android Apps and Games] Surmoka:
I tried it on my Android 10 phone and animations also work when unlocking the phone. I remember FW having a hidden option somewhere that specifically asks if animations should be enabled when waking up.
[Android Apps and Games] akatarmo:
Yes, there is a specific option in the Animation Settings. But the author already warns that it is "Experimental". I have tried on my wife's phone (also Android 10) and the animation when unlocking does not work.
[Android Apps and Games] The Diplomat:
Is someone experiecing issues updating the sunrise and sunset information for the day where you are?

For example you enter Fancy Widgets, and today it's Tuesday, you see the sunrise and sunset time for a previous day which is not today (it shows the info for the day when I installed the app) but if you click the following days at the forecast (Wednesday, Thursday...) the sunset and sunrise info is OK.

Very strange...
[Android Apps and Games] akatarmo:
Do you have the Location (GPS) activated? If not, maybe there is the problem, Fancy Widgets does not work well with Location OFF.
[Android Apps and Games] The Diplomat:
Yes, it's activated. I have reinstalled again Fancy Widgets and now it's showing sunrise and sunset hour correctly for today, but I think that it will fail again tomorrow...
[Android Apps and Games] akatarmo:
Remember (very important) to put Fancy Widgets in the battery list for non-optimized apps
[Android Apps and Games] The Diplomat:
Yes, it doesn't have any battery optimization, it's at the "without restrictions" list.

I will tell you tomorrow if it's working fine.
[Android Apps and Games] itsallwright:
I observed that sunrise and sunset were always current even though I was loading the previously posted static XML. The XML does not appear to contain those details, so I wonder if they come from a separate API call.

Edit: upon a closer look, I also see the sunrise/sunset values for the current day is off. It is also worth noting that I am loading my widget from an experimental XML that I am generating from the current AccuWeather API based on the previously posted XML.
[Android Apps and Games] The Diplomat:
Do you know if the current sunrise/sunset values for the current day are off to at #85 apk ? It seems to be the issue, today it's showing the sunrise/sunset values for yesterday (when I reinstalled the app).

Is this possible to solve in any way?

Thanks.
[Android Apps and Games] akatarmo:
Hi, can you try the attached version to see if it fixes the problem?

Edit: Go to post #168
[Android Apps and Games] The Diplomat:
Hi,

I have installed the app. I will tell you the feedback tomorrow. Thanks.
[Android Apps and Games] The Diplomat:
Hi,

It isn't working. For today it's showing the sunrise/sunset time for yestersay when I installed the app :(
[Android Apps and Games] kaoow:
Can anyone help with getting this to work on Android 13? I even tried clean flashing a new rom just for this app and same thing happens anyway. I don't know what on earth I could be missing here.
[Android Apps and Games] akatarmo:
It hasn't worked for me either. Curiously, the app that I mentioned in my post #122 does not update the sunrise and sunset either. And this app I installed (not from the Play Store, as I said) without modifications.
[Android Apps and Games] The Diplomat:
It's curious because with 4.0.7 (which has stopped working a few weeks ago when subscription to Accuweather expired again) this was working fine.
[Android Apps and Games] akatarmo:
Ah, then I'll download 4.0.7 later and fix it.
[Android Apps and Games] The Diplomat:
Thanks!

Another question, when I had the app installed at Xiaomi Mi6 it wasn't needed to have the GPS activated in order to update the location at the widget (only checked at the app geolocation option, press update and the location updated), but with Xiaomi Mi11 I must activate GPS if I want to change the location at the widget, if the GPS it's not activated and you press "update" the location remains the same.

Mi11 has Android 11

Mi6 has Android 8

Anything about Android or the smartphone itself?
[Android Apps and Games] itsallwright:
I have found that adding sunrise/sunset data to the day element corrects this.

<forecast>
<url></url>
<day number="1">
<url></url>
<obsdate></obsdate>
<daycode></daycode>
<sunrise></sunrise>
<sunset></sunset>
<daytime>
<...>
</daytime>
<nighttime>
<...>
</nighttime>
</day>
</forecast>
[Android Apps and Games] akatarmo:
Ok, here is version 4.0.7 fixed. When this version is installed, it says that it was designed for an older version of Android. On my Samsung A52s with Androd 12

it works perfectly

. We have to wait until tomorrow to see if it updates the sunrise and sunset correctly.

Oh and by the way, in this version the animation works when unlocking phone. I don't know exactly what improvements there are in version 4.0.8 in relation to this one, but obviously, we better continue with this one, which apparently works much better.

Especially if we can confirm that sunrise and sunset are updated correctly.

You can also test if this problem has been fixed. I have tried but I do not have a conclusive answer. I press update (with GPS disabled) but I don't know exactly if it does.

Edit: Go to post #168 for download last updates.
[Android Apps and Games] akatarmo:
But this is because you are making your own PHP script with your own API, right? Can you share here how you are doing? I already published the way to get the responses in XML format but it takes a lot of patience to be able to adapt it to our own API.
[Android Apps and Games] The Diplomat:
Hi,

I have installed it. Let's see tomorrow if the sunrise/sunset it's been fixed. I will try the location update (without the GPS activated) when I go out of the city and I will tell the feedback.

I have checked and with Fancy Widgets 4.0.8 (which stopped working when the subscription expired a few months ago) at Xiaomi Mi6 with Android 8 the location update worked fine without the GPS activated.
[Android Apps and Games] itsallwright:
Not exactly, but I am working on a serializable .NET class that can produce the XML expected by the widget from the current Json returned by the Accuweather API. The work I am doing does not require any changes to the APK other than updating the URL that it calls to get the XML input.

Your post #104 was extremely helpful in getting this started since I do not have access to a working account to get that expected XML myself. The example you provided does not have a sunrise/sunset element and I discovered that element can be used by the widget.

It also appears that moon data may be used and I plan to play with that next (I didn't even realize the moon features in the widget until I saw this). The following link clued me into these possible extra elements: https://gist.github.com/eladkarako/88e4e68ef5872e31778b633d0e1516a8

I am not familiar with PHP, but I will be happy to share the .NET class and/or code if I get it to a usable point and people are interested in it.
[Android Apps and Games] akatarmo:
I am doing the same as you, but in PHP. But I'm behind. My script, for now, just gets the information from the AccuWeather servers, writes it to an XML file, and displays the information to FW. But this information is still not in the format that FW expects to receive.

If it were, in fact, I could already replace the current internal FW call with the call to my server and the FW would fully work with my API. This way (you can click):

https://www.keylandata.com/acu-api/acuinfo.php?lat=52.520008,&lon=13.404954

And this is the PHP script, a bit more elaborate than the first one I posted above.

Spoiler content hidden.
[Android Apps and Games] &Delinquent[$]:
Oh nice! I was playing around with doing this in jquery instead, to avoid the requirement to install php. WeatherAPI is still missing a few values, which would have meant no moon/sun images, and I was looking for a way to fix that.

Only thing I can see with your script is that it doesn't properly specify that it's an XML document -

header('Location: '.'http://www.keylandata.com/acu-api/forecast.xml');

should be

header('Location: http://www.keylandata.com/acu-api/forecast.xml');

iirc. It's not necessarily a problem, but nginx might not like it.

Scratch that, the latest example seems fine. PHP is a hateful langauge.
[Android Apps and Games] dr71399:
Yup I have that 1 as well but unlock animations don't work, only live wall paper. It's running constantly its a battery drainer that why I loved FW unlock animations. But thanks for helping out I wonder what in android 13 which is what I got is messing with the unlock animations?
[Android Apps and Games] dr71399:
Wow I'm so so happy 4.0.7 unlock animation is working perfectly you are the man.... And remember I'm running android 13 with one U.I. 5.1
[Android Apps and Games] Surmoka:
Hi, I've reviewed your PHP script. I mostly understand it, however I have a few comments/questions:

you are doing $_GET[]s on "slat" and "slon". I suppose these are the input parameters of the script, coming from the URL? The comments above it with the URL don't reflect this.

you are calling arrayToXml() from arraytoXML(), but it's not defined. Are you defining it somewhere else which is not included in your post?

in the statements "print_r($xml->asXML('XXX.xml'))", print_r does nothing since you are specifying a filename for asXML(), so it won't return a string for print_r to be printed.

You don't need it to print anything anyway, you are only using your whole script to write the xml file to disk to where you then redirect the browser. But I suppose you could omit the redirection and just simply put out the result with a simple print() (without _r), so your script would result in the URL fetch just directly outputting the desired XML without any intricacies. Plus, you wouldn't need a temporary forecast.xml for that at all. But I may have misunderstood this logic because I don't see the file current.xml used anywhere, just created. Why are you creating it?
[Android Apps and Games] danielpm_87:
My fancy widgets does not update when I unlock the phone or after 15 minutes as I have it set up. I downloaded version 4.0.8 from post #85. from this site

I leave screenshots for you to tell me that I have to modify the settings so that it updates itself and not when I open it and press update.

As this app did until February 2023.

I only use the 2x1 widget

thanks.
[Android Apps and Games] Surmoka:
Did you exclude it from battery optimization?
[Android Apps and Games] danielpm_87:
I think it is here.

It's in Spanish language. sorry XD
[Android Apps and Games] Surmoka:
Sorry, no idea then. I typically experienced this exact problem when optimization was enabled.
[Android Apps and Games] The Diplomat:
Hi,

The issue it's still happening, I have checked and the sunrise/sunset that is showing for today it's from the day when I installed the app :(
[Android Apps and Games] Surmoka:
Same here.
[Android Apps and Games] Surmoka:
BTW do you have any documentation on what FW wants to see in an API response?
[Android Apps and Games] akatarmo:
1) Yes, slat and slon is how FW makes the call internally. But it's irrelevant because when we can use our own API we can put the parameters we want and that which will be read later in our PHP script.

2) No, everything is in the script. And it's working fine.

3) This command print_r is writing the received response to a file, I can assure you. I am doing this to be able to analyze in detail all the received parameters.

4) I am redirecting because if I try to print the response in the browser screen in the normal way then I get an error. I don't understand why, but it is so. So, I thought of redirecting the browser to see the response I want. And, really, the redirect is effective, Fancy Widgets can read the result in the tests I've done. I am recording the other .xml files so that, as I said, I can analyze them. And I think it is necessary to extract some information from them to create the

definitive

.XML file before our free API introduced in FW can reads it in the format he expects
[Android Apps and Games] akatarmo:
Look at my post #104, I have updated it. There is the original response (.XML format) that FW uses with its internal call. Also the responses that are obtained with the free API (JSON format).

And here, general information about the AccuWeather free API.

https://apidev.accuweather.com/developers/locationAPIparameters
[Android Apps and Games] akatarmo:
Yes, this is happening to me too, sunrise/sunset does not update for the current day. At the moment, I don't know why this happens (I'm not an app developer).

But let's not forget that we are using an app that has been out of date for some time.
[Android Apps and Games] akatarmo:
You have to use exactly the instructions posted in post #91. And, of course, make sure the app is

not battery optimized

, as you have already been told. All the other screenshots you've posted are fine (maybe you could edit your post and delete them, they're too big, they're hogging the thread and creating a bit of confusion)
[Android Apps and Games] Surmoka:
2) it's not defined in the script that I downloaded from your post a few days ago. I'm not trying to say it cannot work, it's just not there and I wanted to see its contents.

3) print_r does not write anything to a file, I can assure you. The function asXML() does. You can try it without print_r, you'll get the same result in the file.

4) maybe the error is because the <?xml version="1.0" ...> tag is missing from the beginning of the direct output? Just guessing.

Thanks for the pointer to #104.
[Android Apps and Games] Surmoka:
I'm looking into fetching data from Open-Meteo instead of Accuweather. Accu is terribly inaccurate most of the time.
[Android Apps and Games] akatarmo:
3) Ok, not print_r but $xml->asXML('filename.xml');

How to echo XML file in PHP

How to echo XML file in PHP - HTTP URLs can be used to behave like local files, with the help of PHP wrappers. The contents from a URL can be fetched through the file_get_contents() and it can be echoed. or read using the readfile function.Below is a sample code to do the same −$file =...

www.tutorialspoint.com

PHP: SimpleXMLElement::asXML - Manual

www.php.net

4) No, my script declares

$xml = new SimpleXMLElement('<?xml version="1.0" encoding="UTF-8"?><root></root>');

And then I can see that that line is written in the .XML output file that I have saved, for example "forecast.xml".
[Android Apps and Games] akatarmo:
I agree. As I said in another post,

I don't use

Fancy Widgets. Just because my wife likes it. I use a widget created by me (and only for me) with KWGT and I use OpenWeather (openweathermap.org) as provider (with my API) which is very accurate because it gives me the weather forecast of local PWS stations. They are stations that are in my neighborhood, very close to my home.
[Android Apps and Games] The Diplomat:
Yes. Let's see if someone can find the root cause for this and is able to fix it, it will be nice to see the sunrise/sunset for the current day correctly.
[Android Apps and Games] Surmoka:
So far I couldn't find where FW might get the sunrise/sunset information from. The XML coming from the API doesn't seem to contain it, at least the XML I've seen in this thread
[Android Apps and Games] itsallwright:
See post #140... I commented on this and it seems to work fine for me.
[Android Apps and Games] akatarmo:
Hi, I found the problem although for obvious reasons I prefer to be discreet about the solution. I am attaching all three versions, in which sunrise/sunset is updated correctly.

2024-02-21 Updated the three apks

to introduce compatibility with Android 14. All tested on my Samsung A52s with OneUI 6.0 (Android 14) and all install and work fine. Some users, however, report that they do not work on some Smartphone models.

2023-07-31 Updated the three apks

2023-07-30 Updated the three apks

2023-07-08 Updated the three apks

Very important: uninstall any previous version before installing the updated version.

v4.0.8 allows you to save the configuration (create a file fwsettings.bak in the path sdcard/android/fancywidgets). And restore it, of course. You can also put skins in the clockskins and weatherskins folders within the same path. It

does not allow

animations when unlocking. Download as (attached) .zip file.

v4.0.7

allows animations

when unlocking the screen, but does not allow using the path sdcard/android/fancywidgets (as in version 4.0.8) for save config and put skins. Update: now works the same as version 4.0.8.

v3.5.6 is an older version that I have tested on an old Samsung Note 4 running Android 6.0.1 and everything works too.

Make sure that on your mobile you have enabled the option to install apks from unknown sources (that have not been downloaded from the Play Store).

Remind everyone once again that, once installed, you have to run the app BEFORE creating the first widget, p

roviding manually all the necessary permissions

. And, very important, put Fancy Widgets on the list of apps not optimized for battery use.

Also say that Fancy Widgets needs the Location service activated to obtain the LatLon coordinates and, from there, all the data. Supposedly, it could also work without Location active (getting coordinates via cell antennas and/or WIFI and others) but it doesn't always work. Configured like this, in the app Locate configuration:

Climate Provider: Accuweather

Geocoder: Climate provider

Geolocation: ticked

Use GPS: ticked

About skins

--- If you have Android 12 or below, then:​

--- For 4.0.8 internal memory/data/fancywidgets (config backup file is also stored there)​

--- For 4.0.7 and 3.5.6 Internal storage/Android/Data/fancywidget (config backup file is also stored there)​

--- If you are on Android 13,

skins will not work.

​

​

This is not final. For example, in my tests amartphone with Android 12 I can see the list of skins but the clock disappears when I select one other than the one the app has built-in.
[Android Apps and Games] akatarmo:
Ok, I can't upload v4.0.8 (.apk) in the above post, I don't know why. Let's see if I can put it in this post.

2024-02-21 Finally, I can now upload v4.0.8 without the need to compress in .zip format in the previous post
[Android Apps and Games] akatarmo:
Hi, I need clarification on your post. So, this solution is using your own API and using your own server, right?
[Android Apps and Games] The Diplomat:
Thanks a lot. I will try it and give you feedback tomorrow.
[Android Apps and Games] The Diplomat:
Hi @akatarmo , I confirm that the sunrise/sunset info is working fine for the current day.

The only thing that it's not working yet it's the location when GPS it's not activated, but that worked on my Xiaomi Mi6 getting the coordinates from cell antenas and wifi and at Xiaomi Mi11 it seems that you need to activate GPS, for example Google Maps it isn't working also without GPS activated.
[Android Apps and Games] PIYIRIO:
v4.0.8 is fully functional without animations. Thanks!

FYI: v4.0.7 fails to install on my S21 Ultra bone stock ROM w/latest build (Android 13). No specific error, just "failed to install". Other versions of FW were uninstalled before attempting install.

I'm not sure if anyone else has an issue with the skins. When unzipped in the correct folder, all are shown on the skins page. When I change the skin, the clock goes blank but I can still see the weather. Removing and re-adding widget did not help. Really strange but I'm just thrilled the main app is functional again so thanks again.
[Android Apps and Games] fieryjack55:
4,0,8 installed on android 6 marshmallow,everything is working including animations,just one thing and that is that it won't display my city name,I checked the weather forecast with other services and the correct forecast for my city is being received.

Installed on an android 12 phone and although it installs without error,almost nothing works.

I have set FW to not be included in battery optimization and have manually created the skin folders but still nothing works.
[Android Apps and Games] akatarmo:
Updated post #168, about v4.0.7, new version.
[Android Apps and Games] akatarmo:
The same for me. If I don't have the GPS activated, the data is not updated (Samsung A52s, Android 12). It is very difficult to be able to fix this without having the source code. Maybe some experienced developer can do it.

Interestingly, this clone of FW (or maybe FW is the clone, I don't know) does update data even with the GPS off.

Beautiful Widgets Pro - Aplicaciones en Google Play

Beautiful Widgets, la aplicación de widgets perfecta

play.google.com
[Android Apps and Games] akatarmo:
@dr71399 said in the post #168 that v4.0.7 worked fine for him on Android 13. Have you tested it?

As for the skins, the same thing happens to me. I can see the skins installed and select one, but the clock disappears in the widget. Only the default skin seems to work.
[Android Apps and Games] The Diplomat:
Hi,

Thanks for the feedback, but I can't download this app from google play store because it says that is developed for an Android version older than mine :-(. Somewhere where I can get it and I will give it a try?
[Android Apps and Games] akatarmo:
Hello, I sent you a private message.
[Android Apps and Games] akatarmo:
v3.5.6 works perfectly on my old Samsung Note 4 (Android 6.0.1). And v4.0.8 also perfect on my Samsung A52s (Android 12). Have you run the app BEFORE creating the Widget (to grant permissions) ?

>>> almost nothing works

Can you be a little more explicit and detail what works and what doesn't ?
[Google Pixel 6 Pro] DinarQ8:
I live in the Middle East and received OTA 016.A1.

I was wondering what is the difference in A4 for EMEA, does it activate VoLTE/5G for unsupported countries or just a code name?

Thanks
[Google Pixel 6 Pro] iliya8801:
I also had it in mind. some one can confirm?
[Google Pixel 6 Pro] intothemild:
There seems to be a bunch of people who recieved the A1 Update in europe.

Reddit thread

https://www.reddit.com/r/GooglePixel/comments/rg3du0
[Google Pixel 6 Pro] cd993:
Hmm I'm UK here and I manually flashed the A1 version. So I should have flashed the EMEA one??

All seems well with no issues, but if this is the case perhaps I should flash this European one
[Google Pixel 6 Pro] Morgrain:
Unbelievable, now Google is pushing out the wrong firmwares o.o

There's so much going wrong with Google products in 2021...
[Google Pixel 6 Pro] henihazbay:
yes indeed.
[Google Pixel 6 Pro] cd993:
Thanks, will do!
[Google Pixel 6 Pro] Mic Muted:
I flashed A1 at first myself and it seemed to be fine but when I noticed that A4 was for UK, IRL,FR, DE etc I went and flashed A4 to be safe. No issues as of yet.
[Google Pixel 6 Pro] maxv2002it:
On my pixel 6 pro 256gb from the German Google store via ota it automatically downloaded the A1 firmware ... I don't notice any kind of problem though ....
[Google Pixel 6 Pro] pa.pn2:
Same here.no probs with A1
[Google Pixel 6 Pro] DinarQ8:
I just flashing OTA A4 manually to i be in safe when i out the signal not drop
[Google Pixel 6 Pro] Quinny899:
EMEA = Europe, Middle East and Africa, it's an acronym of regions not a codename ;)
[Google Pixel 6 Pro] DinarQ8:
Yas i know. But my question was what difference. And if it Google activated VoLTE/5G for more regions
[Google Pixel 6 Pro] faisal400:
was it activated in your country after using EMEA?