yashsingh1/xdaforums huggingface dataset:
[Amazfit] Damoedge:
Hello all...

This maybe a bit off topic but I know they are a lot of pace users on here ?

I'm wondering which is the best color that stands out the best on the watch face when the screen is in standby mode?

There are so many watch faces available for this amazing watch...I'm just wondering which best color combination stands out the best so the time is clearly seen when the screen is in standby mode...is there a high definition or high contrast watch faces available?....

Thanks for your help all...

?
[Amazfit] atreyunext:
hello again,

GreatApo, any news about " New xdrip values widget (will be supported with Xdrip by Klaus3d3)" ?

Nowadays the watchface is not able to show any glucose value even if it has the xdrip of klaus3d3.

Hopefully soon there is news. I want to be able to finally use greatfit.

thank you very much and thank you for your work again
[Amazfit] GreatApo:
Klaus has done an excellent work forwarding and getting the data, and his watchface a must for diabetics.

Unfortunately for GreatFit, I will have to implement the whole transfer library to get the data.

An alternative could be the data using a feature of xDrip that transmits the data locally to phone and push them to watch through Amazmod along with battery etc, but that may be a deal breaker (data would be every X min and not on the fly, will that be useful?).

These are theoretical, an additional problem is that I can not test these since I don't have a device to connect on xDrip Despite that, GreatFit still needs a lot of work because of the latest updates, eg seconds in SLPT are not working. I really don't know when I will have the time and how I can approach the subject.
[Amazfit] panais86:
Amazmod compatibility with iPhone

I have an iPhone 7 so I can't edit settings from my phone. I installed the Amazmod service on Stratos but the only thing I can see that confirms is on phone is the attached image when I slide. Can't open that to edit some settings from there or to check if this is installed correctly.

How can I check if it is installed correctly and how can I change settings in the service?
[Amazfit] GreatApo:
You need both watch and phone app of amazmod for the phone battery/alarms to work. Phone app is the transmitter and watch app the receiver of the data. Unfortunately Amazmod is not available for iOS, hence, you can't use these features. Despite that, notifications counter will work.

Maybe I should clarify that in the first post because it is not mentioned :/
[Amazfit] urinamess:
yes sir, i've read the description. i've uninstalled & installed it couple times already but to no avail. still the same error. also tried rebooting before attempting to install, and still have that error.
[Amazfit] PatriceLoco:
Do this and you can reinstall it.
[Amazfit] GreatApo:
You can't install the new version over the old one because I compile the app without using a signature key, that depends of the machine I use and back then I was using a different PC. I don't think it's a big deal.

The number one reason people can't resolve this error is because they are using Amazfit Tools or an APK installer/uninstaller. This is fine but with Amazfit there is a problem when it comes to uninstalling, for some reason the APK is not completely uninstalled with those programs (no idea why). This is why I am writing to uninstall with ADB. Follow the instructions PatriceLoco provided.

If this is not the case, let me know. Additionally, resetting the watch and installing after will 99.99% fix the problem (mind that you will lose the installed apks).
[Amazfit] panais86:
Factory reset applied and then install the watchface. Cleaned memory and again it drains the whole battery in maximum 2 days. Something is wrong i guess here as I do not have any other option to apply
[Amazfit] GreatApo:
Since you reset the watch you didn't had to clean the memory.

Reset again but do not reload your data when sync with phone. Then, install whatever you like but close all features that drain more battery.

Amazfit is many times unstable in terms of battery, we can't do sth about that. However, what happens to you is situational unless your battery has taken water.
[Amazfit] panais86:
Yeah i know that i didnt had to do it. What are the features that drain more battery though? It's only in the GreatFit watch face as when I change watchface everything works perfect
[Amazfit] GreatApo:
Only with altitude/pressure widget you can see a noticeable difference in battery life.
[Amazfit] PatriceLoco:
GreatFit MOD

Hello, I modified the source code and generated an alternative GreatFit, the PatriceFit, compatible with GreatFit.

Download: PatriceFit 3.8

The most significant changes I have made are:
[Amazfit] GreatApo:
Link to your post added on first post. Thanks for sharing :good:
[Amazfit] PatriceLoco:
Thanks to you for the source code. ;)
[Amazfit] rjafonso:
Hello,

Just installed GreatFit.3.8-Pace-Stratos.apk on my Stratos with 2.3.7.0.

I noticed that:

1-World time widget does not update properly

2- The world time is in a very smal font size, almost unreadable at a normal distance you use to check time.

3- Also the hour:minutes font is too "thin" comparing to the greatfit apk for the 2.3.8 and higher.

So, can you please check the world time so its updates every hour?

Can you also make one of the 5 widgets pré-programmed to have a bigger size font?

Can you make the hour:minutes to use the same font that is used in Greatfit for 2.3.8.0 and higher?

Also another sugestion is to make a new watchface dedicated to thos who needs to have a Local time, but also always an second timezone (UTC) on their watch?

This is an great watchface, thank you for youe work.
[Amazfit] giol:
Great app. Second time zone is the main reason I use it. I agree with above that second time zone should be bigger to be readable. Any guide on how to change that myself using the source code ?
[Amazfit] krepsz:
Please for Verge too!
[Amazfit] GreatApo:
I am aware of that. The update is not stable. It is in my bug list.

I totally agree with you but I am committed to not making UI changes of GreatFit. This is because 1 UI can not satisfy everyone. The goal is to have options for everything however that needs more work and time. On the other hand, I fully support modding the code, this is one of this project's goal.

Just change the font size in one of the widgets. You need to change this file:

Sources Folder/app/src/main/res/values/arrays.xml

Find the widget you want to change (eg. Widget 1), you will see some parameters of the widget, just change the font_size to a bigger number (ex. 24px->30px). Compile the app, uninstall GreatFit, install your version and repeat if you need it bigger :)

Feel free to share your mod :)

I have ported the libraries but I have to adjust the UI.

I have been really busy the previous months, this is why I haven't developed the project even more.
[Amazfit] javiermontanov:
Add widget to convert daily steps to Kilometers or miles

Hello, I want to know if we have an option to convert the daily steps to kilometers or miles, or what I need to change/add and where to the code?

Thanks in advance.
[Amazfit] giol:
dual zone large font

I compiled a new apk with Dual zone time visibility. Select World time in widget 4 to check it out.

google drive link https://drive.google.com/file/d/1GndFjMxFZozr9AOqY6E5NpRYoeOf5uVR/view?usp=sharing
[Amazfit] GreatApo:
That is a little tricky because daily steps are auto updated. To make it work, you need to make a new widget. I would suggest starting by changing the world_time widget (it is in "app/src/main/java/com/dinodevs/greatfitwatchface/widget/GreatWidget.java"), grab the daily data (see code bellow) multiply them with your step's length (with a quick google, I found this article saying "Men should multiply 0.415 by their height in centimeters") and just print this value instead of the time. That will get you started, the widget will be updated every hh:00 and hh:30 (like the world time widget), you can adjust that or make it automatic within the same file (customRefresher function).

I will not get into more specific code details since you need these knowledge to code this feature (it will take me more time explaining than actually coding it :P)

//ADB test, not sure if this is the saved location (I don't remember and can't test it right now)
adb shell content query --uri content://com.huami.watch.health/daily_motion

// Getting data in Java, you need something like this
Uri CONTENT_DAILY_MOTION_URI = Uri.parse("content://com.huami.watch.health/daily_motion");
paramContext = paramContext.getContentResolver().query(CONTENT_DAILY_MOTION_URI , null, null, null, "utc_time DESC LIMIT 1");

Added in the first post! [MENTION=1331424]rjafonso[/MENTION] you will probably be interested in this.
[Amazfit] Fabio.it:
Dual time zone

Can you please share an image?
[Amazfit] giol:
https://photos.app.goo.gl/5BnAtcjzNu9iyW4Q9
[Amazfit] XXX-Man26:
Hi.

I have a problem using this face.

When installed my Pace becomes very slow and freezes often. Any advice?

Sent from Redmi Note 5 Pro using Tapatalk
[Amazfit] giol:
Compiled a new version of the app with dual zone in mind. Changed the package name to clonefit (you can install it without affecting Great fit), changed the background and some more cosmetic changes.

https://drive.google.com/file/d/1BhwyVcqaf9OL-5ARA0DlUxP14zlnhis8/view?usp=sharing

image https://photos.app.goo.gl/5MRvYkvNSu8D5gT47
[Amazfit] Fabio.it:
Well done! Tnks
[Amazfit] GreatApo:
Do a couple of restarts. Do you use an particular custom widgets? (any of the non-default)

Added in the first post
[Amazfit] XXX-Man26:
I did and it was impossible to use watch even after restart, it would freeze after 5 seconds and then black screen or launcher crash.

Only way to make it work again was uninstall with amazfit tool.

I used only default widget and settings.

No other apps but Amazmod.
[Amazfit] GreatApo:
Wow, sorry about that. I don't know what may happen. On the other hand, watch's system is very unstable. You can try to install it again
[Amazfit] XXX-Man26:
I try 3-4 times and always the same. Works for 2-5 minutes and then it just freezes.
[Amazfit] GreatApo:
Are you on the official ROM?
[Amazfit] XXX-Man26:
Yes, official rom us-2.8.3.0
[Amazfit] GreatApo:
I am out of ideas... Can you pull a log?
[Amazfit] stratos44:
hey [MENTION=3668555]GreatApo[/MENTION]!

Thank you for sharing your work with us. GreatFit is great indeed! :D

I have some ideas and a bit rusty basic android experience so I plan to look into your code deeper, If I find the time.

I have a couple of questions in advance whether do you think they are achievable:

- Id like to plot some graph based on historical HR data. (similar to Continuous HR page), so are those data available for the watchface or could the current and past values stored as variables?

- is it possible send an alert (vibrating) when the HR exceeds a pre-defined limit ?

- i am thinking about a faster way to swap wathcfaces - for example with the bottom or middle button when the watch is inactive.

Thank you, and if you have some clue where to look material that might help with these, don't hold it back! :D
[Amazfit] GreatApo:
To start with, SLPT mode (screen-off) limits your capability to plot sth easily (unless it's a static image). This means that the easiest you can do is have a finite number of bars that you will update (like a bar chart). Now, I can thing of 2 ways to continue.

1 way: Getting the data is quite easy, there are 2 locations where heart data are saved and you can grab both easily: (first: all heart rate data, second: last 12 measurements)

adb shell content query --uri content://com.huami.watch.health.heartrate/allday_heartrate_history/
adb shell content query --uri content://com.huami.watch.health.heartdata

Now read what I am writing here. You need to do something similar, not a new widget but you need to use the code I have for "world time".

2 efficient way: Firstly all you have to do is manually restart the whole SLPT screen after getting a heart rate value (so your bar chart is updated and not only the heart-rate number which is automatic) and make sure that data keep coming when screen if off. You need to edit this file: GreatFit/app/src/main/java/com/dinodevs/greatfitwatchface/widget/HeartRateWidget.java

In the "onDataUpdate" function you have to just reset the SLPT screen (command already there :P). You also need to edit both screen on and off functions to add your elements/bars (i am not going to get into details, see each widget for examples). You either get the data like in 1st way or you save new values in the "onDataUpdate" function BUT have in mind that screen on/off modes are 2 different intents. If I remember correctly, "onDataUpdate" is not frequently updated (or not at all) when screen is off. This means that you still need a function that will run the "onDataUpdate" when screen is off (see 1st way). Start your project with this and then see if data are updated and if you need to implement also the 1st way.

Yeah, as long as you figure the above, this is quite trivial (basic android commands).

I am not sure about that. Changing watchface is not so clear and I am not familiar with registering button actions. You can take a look at this file where I save GreatFit's settings and set/reset the watchface (search for "Restart watchface"): GreatFit/app/src/main/java/com/dinodevs/greatfitwatchface/settings/Settings.java

However, screen-off is not always set (this bug is been mentioned in the first post). I haven't found why...
[Amazfit] Damoedge:
Hi

I'm just wondering why mods by other devs are so light (like 2MB in size) compared to your app (15MB) ?
[Amazfit] GreatApo:
All the officially released versions are on GitHub where the bigger is 2.63 MB. To my knowledge I haven't release a version that big.

Maybe you are referring to the size that Amazmod shows when GreatFit is installed (I am not aware if it is the storage or the ram)? Apk watchfaces are around 10 MB there, GreatFit is around 16 MB, which is logical since GreatFit has more images and way too more code inside.

Generally speaking, I would like to reduce the current size (2.5 MB) and there are some ways to achieve that, there is always room for improvement :)
[Amazfit] Damoedge:
Yes that is where I saw the size and got a little confused lol....

Keep up the great work mate and I hope you reach goal no. 2 soon ?

Just on a side note...the other big font watch faces by other devs can't seem to fix the splt lock screen problem...any chance you could make a big font white face? ?
[Amazfit] GreatApo:
It was not in my plans however people keep asking for this. It may be available in the future but I believe the project needs a second code re-write first since I now understand better the way it works.
[Amazfit] Damoedge:
Well at least it is on your mind when you get free time ever to do it...many thanks again for your amazing work ?
[Amazfit] guanellaluigi:
Hello [MENTION=3668555]GreatApo[/MENTION] and thank you for your work.

I've forked your repo and I've been partially succesful at developing a Moon Phase widget.

However, I'm stuck with the SLPT version of the code.

I am debugging my code with Logcat prints, but the device never enters SLPT mode when connected to a USB logcat, since the USB port keeps the device awake, or triggers the charging screen.

So I'm practically blind when developing the SLPT part of the code.... do you have any suggestions?
[Amazfit] GreatApo:
Sure mate, use these:

//Enable lockscreen while charging:
adb shell setprop prop.sys.show_chargingui false
adb shell svc power stayon false
//To reverse:
adb shell setprop prop.sys.show_chargingui true
adb shell svc power stayon true

If i remember correctly, the screen on code goes to sleep when screen is off, however that doesn't happen when charging...
[Amazfit] giulival:
Hi GreatApo your apk hang but apk made from other dev from first post work. I'am on amazfit os 3.9. Any help?
[Amazfit] GreatApo:
That is weird... Can you pull a logcat?
[Amazfit] guillosantana:
Great job

Me parece la mejor watchface :good: (the best), after the update the screen goes black in stanby mode.
[Amazfit] fgrassmann:
Is there any chance an analogue watchface will make it's way into the app when you do this?

Yours,

fg

Gesendet von meinem ONEPLUS A3003 mit Tapatalk
[Amazfit] GreatApo:
On pace? Try the stratos version.

This has to be done at some point, however, I am quite busy curenty and all my free time goes to Amazmod...
[Amazfit] polrus:
I have the same problem on my pace - not sure if the latest rom update is the reason.

Is your hint above to use stratos version on pace?
[Amazfit] GreatApo:
Yes
[Amazfit] polrus:
one more thing -

sometimes instead of going black the screen displays a "screenshot" of the other watchface if some other watchface was used after reboot for some time, or sometimes if i was tracking an activity it displays the activity screen time,speed,puls for last run.
[Amazfit] GreatApo:
It's a known bug, just change to an other watchface and change back to GreatFit.
[Amazfit] GreatApo:
Yeah, this is the main problem of coding in screen off. You need to somehow update it manually. If you take a look in the world time widget (in GreatWidget.java) a function is initialised where it handles the update (uses the data update to refresh the slpt).
[Amazfit] baqn:
Is it possible to show seconds?
[Amazfit] tqf:
adding UTC time

I've used your example from the GreatWidget.java and created my own function to update the UTC time. Function is initially called every 100ms until second 0 (zero) and afterwards every 60 seconds. It works fine, just that the "seconds" freeze for 2 seconds at the beginning of each minute, I am guessing due to restart of the slpt. Any suggestions how to avoid this freeze? Do you have any other suggestions to achieve synchronized update of the UTC time?

private Handler utcHandler = new Handler();
private Runnable utcUpdate = new Runnable() {
@Override
public void run() {
Calendar calendar = Calendar.getInstance();

if (Math.abs(calendar.get(Calendar.SECOND)) != 0 && !synced)
utcHandler.postDelayed(utcUpdate, 100);
else {
utcHandler.postDelayed(utcUpdate, 60 * 1000);
((AbstractWatchFace) utcService).restartSlpt();
synced = true;
}
}
};
[Amazfit] GreatApo:
Enable seconds hand in system settings and it will be automatically enabled in GreatFit

You are correct. The freeze is from the update. You can also calculate the time for the next update but I guess your code works.

If you see my world time code, since the difference in different time zones X hours and 0 or 30 mins, you can also let the second digit of the minutes to the system :P (look at my SLPT code). Then you don't even have to update every minute. You can go directly to every 30min like I do in the world time widget.
[Amazfit] tqf:
excellent! thanks for the tip! now it updates as expected and full restart of the slpt happens every 30 min or less.:good:
[Amazfit] xdauser2019:
In low light mode (always on display) stuck seconds and is not changing. In this mode usually in all watch faces is showing only time, but in yours watch face is showing everything (weather, steps, date, battery status and ect). Just a little bit dim screen, that's all. Usually must be black background and only time in it. Will not drain battery faster for this reason watch battery? Need to fix that anyway, coz i think it's issue.

Another question: i changed colour from red to blue (clock), but wasn't changed, why?

All others things looks like working fine, but i installed just for some minutes. Did not check everything yet. But anyway thanks for beautiful watch face, as i understand it's just modded by you or yours team, but original is copied from Pace? Well it's still great watch face which i like, just need to fix mentioned issues :)
[Amazfit] GreatApo:
This a light reflective screen so it doesn't mater a lot how many things you display.

You have to click the save button at the bottom of the settings :) If the screen of color doesn't change, change to an other watchface and change back to GreatFit.

There are some bugs around for months, I just didn't have the time to fix them.
[Amazfit] xdauser2019:
Ok watch face don't "eating" more energy, but seconds is still stuck, can you fix that, looks weird when all others section is moving (time, weather information changing, heart rate and ect), but seconds showing the same stuck information.

About coulour, after every changes is need to save, but wasn't changed colour after save, but ok i will check again, maybe i really forgot to save it. I can't remember right now, you know i ran from all options so maybe i did not this step :)

Thanks

P.S. Can you do another version when time is up, minutes is down like have Sony smartphones clock? I like this, looks great.

This is just example https://www.androidauthority.com/sony-in-2018-time-for-a-change-825308/

Ok i understand you, but maybe later when you will have time, watch face really cool, i checking a lot of and yours is one of this which is very nice, but bugs/issues a little bit "killing" and will be nice without it :)
[Amazfit] GreatApo:
Seconds work, sth else probably causes the error. Try only the stock widgets and see if it properly works. As I told you, some widgets are buggy because of OS updates and Amazmod updates. The project is open source so that everyone can edit and make his own version, image me making every watchface each user requests :P
[Amazfit] xdauser2019:
Seconds working when is not activated "Always on display" mode or in other ways "Lock Screen" and "Turn off light mode regulaly" modes is disabled. I need workign second sall the time, without stuck.

I don't have 3rd parties widget at all, this watch face is yours, i'm right? I don't use Amazmod and others mentioned apps in smartphone or watch, except watch face :)
[Amazfit] GreatApo:
Yes, this project is mine :)

My bad, i was using the term widget referring to the widgets in the watchface: battery, steps etc. Probably one of them causes the stuck... I need to review again the project.
[Amazfit] xdauser2019:
I using yours watch face several days, thanks for it, i like it. But stucked seconds looks weird, they stuck only when is enabled "Turn off low light mode regularly" (lock screen option) this mode. When screen dimming. They stucking for a while, when running, again stucking and ect. But only in when is activated this mode. When watch working without this mode, with wrist up mode everythign work fine.

By the way screen (display) when is activated this mode is worst quality. With pixels. Like this must to be? Can you check these issues/bugs?

Eveything else on Verge working fine, offcourse - size of widgets can be better, for example city name, weather, steps, battery, heart rate (why with bmp words at all? It's better without it, much more then is place) in some widges can't be added, coz size too big. Everyhting else it's fine. By the way i checked colours again, working fine, just remove black, coz this color is not good looking when background is black too. More problems and ect i did not found. Thanks, great project ;) First watch face which i really like. More options is really good idea when you can change many things.
[Amazfit] GreatApo:
Oh, you are on Verge! This is not a version I released. I just provided the libraries but I have never tested and fixed it.
[Amazfit] xdauser2019:
Hm... welll.... https://amazfitwatchfaces.com/verge/view/477 a little bit strange, cos uploaded by you in this site. I don't install/add watch faces which is not compatible with my watch :)
[Amazfit] darkvoid_66:
Hi,

Great work on this watchface.

I found a visual bug on it.

When the hour tens is "2", in 20 or 22, there is no space left between the hours and the minutes!!

Example:

I'm a .net and c++ developer and I wanted to help but I never used Android studio. I'm trying to get use to it.
[Amazfit] leindx:
Phone Alarm notification

hi! i had config phone alarm as widget on my Amazfit stratos, and works fine (shows next alarm), but when alarm shows, dont send any notification to watch. exists some possibility for syncronize phone alarm with notification in the Stratos?
[Amazfit] darkvoid_66:
I just wanted to correct myself, it's NOT a matter of lack of space, in some cases they overlap: