yashsingh1/xdaforums huggingface dataset:
[Amazfit] GreatApo:
This means the screen is long pressed...

New version 1.3 is out
[Amazfit] Quinny899:
No, there's definitely something else wrong, it triggers when you swipe off the screen on a clean install on mine, v1.3

Edit: appears to be caused by the swipe action being interpreted as a long press as you swipe away, not sure what you could do about that, maybe long press on the reset icon to open settings?
[Amazfit] GreatApo:
I really can replicate the problem... The settings open from one listener:

// Open Settings
ConstraintLayout whole_view_calendar = (ConstraintLayout) this.mView.findViewById(R.id.container);
whole_view_calendar.setOnLongClickListener(new View.OnLongClickListener() {
@Override
public boolean onLongClick(View v) {
if(widget.this.mView.findViewById(R.id.settings_box).getVisibility()!=View.VISIBLE) {
widget.this.vibe.vibrate(50);
widget.this.mView.findViewById(R.id.settings_box).setVisibility(View.VISIBLE);
}
return true;
}
});

It is clearly a long press listener :/
[Amazfit] MindlessLeadership:
I think it's caused by the swiping still passing touch events to the activity.
[Amazfit] Diginix:
Would be cool if I could change the month by swiping up/down as in version 1.0. I'm using a sidebar launcher that reserves the left border. Due to that, I can't use the up arrow.

Even a small icon for settings would be better than simple touch.

I always get the settings and have to close it on every visit of the widget.
[Amazfit] kwet:
It's good idea !
[Amazfit] GreatApo:
I had some problems coding swipe gestures which I am still trying to fix.

I really can't replicate this problem... maybe it is because I have a screen protector... Do you have one? Which ROM are you one?

The simplest solution is to either make an icon or make the long press on a smaller area (not the whole widget).
[Amazfit] Quinny899:
I have a screen protector on mine and it happens about 80% of the time

Maybe long press on the year at the top? It's a big area and it's unlikely to be swiped on
[Amazfit] GreatApo:
I would like to put a Date Picker there in the future :P

I should add a settings button or long press the refresh button for settings...
[Amazfit] Diginix:
I'm on PACEfied 1.2.50 and have no screen protector.

If swipe up/down doesn't work. The area for month browsing should be bigger. Otherwise I have to disable the sidebar launcher.

But settings shouldn't be opened on touch of the whole widget.
[Amazfit] GreatApo:
I am on the stock rom, waybe this is why i can't replicate the problem.

I must make it work :P

It opens on long press, not touch. Additionally, I don't know if i can extent the long press time...
[Amazfit] Diginix:
Ah, ok, then maybe try at least 1000 ms.

I can be a beta tester for PACEfied.
[Amazfit] Klaus3d:
Having the same issue with stratos on stock int. rom. No screen protector.
[Amazfit] rodriz:
A great contribution to Amazfit users, thanks
[Amazfit] Txingudi:
Thanks for another new update ...
[Amazfit] ViCioPT:
Will this work on Stratos?
[Amazfit] GreatApo:
Apparently :P (see bellow). Please confirm it so I can add it in the main post.

I am now looking into it. I am going to post a beta version here.
[Amazfit] ViCioPT:
As soon as you post the beta I try it on my Stratos :)

Well, I couldn't wait and I tested latest version.

The scroll on the left works, but not on the right (to move calendar to next month).

Also, if I swipe to go to next/previous app the phone vibrates and if I go back the settings menu (to setup language, color, etc) pop's up.
[Amazfit] GreatApo:
Can you try the last version 1.4? I have hard coded swipe and long press to open settings.
[Amazfit] Klaus3d:
Can confirm, it workes on Stratos. But still the same swiping issue with 1.4. Luckely Stratos has hardware buttons for Widget switching. ;)
[Amazfit] GreatApo:
Test this file: View attachment app-debug.apk

I have changed the long press from 600ms to 1001ms. Swipe up and down works well?
[Amazfit] mihail1:
still not working, always vibrates.

look

https://photos.app.goo.gl/0k6h0Fe0aSGCV30F3
[Amazfit] GreatApo:
Test this: View attachment app-debug.apk

It is suppose to stop the settings from opening when you have scrolled away, and the long press duration is raised to 2sec. I really can't understand this problem, thanks for the video :good:
[Amazfit] Diginix:
Last v1.4 works for me on Pace with PACEfied 1.2.51!

Month browsing by swiping and long press for settings. No unwanted settings caused by swiping left/right to other widgets.

Thanks for that great calendar!
[Amazfit] Saratoga79:
[MENTION=3668555]GreatApo[/MENTION]

Just report that all of your versions work on Stratos, on CN based custom 2.0.13.0 Rom, pushing the app to system/app.

Known bugs the swipe issue. Maybe the easy way to fix it is to put a settings icon near the refresh icon, and forget the long tap feature, keeping the vertical swipe to change the month, and the horizontal one to change between widgets, just the same way it works now.

Btw, great app :good:
[Amazfit] ViCioPT:
Tried to install that one on my stratos but the app doesn't show in the app menu... any idea why?
[Amazfit] GreatApo:
That's the easy fix, but I want to provide a base full feature working widget app so others can use it to make widgets :)

hmm, i did tested it on my pace and it is working. You did a restart right?

Here is the version I am having on my watch: View attachment app-debug.apk (upcoming v1.5)

It is suposed to stop the settings from loading when changing widget. It also has come more translated texts. Long press time is set to 1sec.
[Amazfit] ViCioPT:
Forgot to restart :P

It's working great. No vibration or setting when changing to another app. Swipping working ok, although it doesn't look very fluid.
[Amazfit] GreatApo:
:highfive: :victory: and the settings are working right? Why you say it does not feel very fluid? Because there are no changing animations?
[Amazfit] ViCioPT:
No, it looks sometimes it fails to scroll down/up, but it might be my problem :)
[Amazfit] GreatApo:
When you swipe, i calculate the distance between first and last touch. If that distance is big enough, I get it as a swipe. You feel that I should reduce it? You make small swipes that do not work?

I am also trying to figure out the right valuse :)
[Amazfit] ViCioPT:
yes, I think you should reduce that. But not so much. Just a small adjustment I think
[Amazfit] GreatApo:
[MENTION=4535937]ViCioPT[/MENTION] Redused from 100 to 80. View attachment app-debug.apk. It feels a little better on my Pace.
[Amazfit] ViCioPT:
Looks perfect for me :D thanks!!
[Amazfit] hjoreis:
Already answered
[Amazfit] mihail1:
Why is it constantly vibrating with me and the option window pops up?
[Amazfit] GreatApo:
Because you have Stratos, and you haven't installed version 1.5 :)
[Amazfit] Txingudi:
Could v1.5 be installed already? Thank you .

---------- Post added at 05:49 PM ---------- Previous post was at 05:34 PM ----------

I tried to put v1.5 and it gives error ..
[Amazfit] GreatApo:
Uninstall and re-install it.

I think i am making something wrong with the versions/codes so you can't just upgrade, sorry :)
[Amazfit] Quinny899:
This bug happened on the Pace too, but 1.5 did fix it for me
[Amazfit] GreatApo:
I added a check where user has scrolled away or not before opening settings. There is something wrong this though, I mean there is a problem with the ROM.
[Amazfit] Txingudi:
Ok thanks..
[Amazfit] DarkThanos:
It is not working on my Gear S3.
[Amazfit] GreatApo:
Lets start from porting android... :eek:
[Amazfit] Quinny899:
It doesn't seem to be the software though from the distribution of people with the issue

Who manufacturers the touchscreens I wonder, I know my Bip had a really sensitive screen so maybe it's a hardware fault on some?
[Amazfit] GreatApo:
Don't know man... triggering an continue touch event... anyway, we solve our part :P
[Amazfit] Diginix:
With 1.5 the settings reapear again on each widget switch. With version 1.4 all was perfect. As it seems the shorter delay for long touch is too short.
[Amazfit] GreatApo:
pf....

Is this working? View attachment app-debug.apk (delay 1sec)
[Amazfit] Klaus3d:
can't install 1.5. Neither with forced installation nor with prior deinstallation.

---------- Post added at 10:06 PM ---------- Previous post was at 10:00 PM ----------

strange, i constantly get Install_Failure_Update_Incompatible. Even when there is no calender installed.

Installation of 1.4 is ok.

---------- Post added at 10:14 PM ---------- Previous post was at 10:06 PM ----------

This one works:

But still the left/right swiping issue.

Swiping up/down works not perfect, but ok.
[Amazfit] Diginix:
The attachment is an invalid apk.
[Amazfit] GreatApo:
Sorry guys, I compiled it with my laptop's android studio. I will fix it tomorrow night.
[Amazfit] chuckiebronco:
Thanks for the great work, nice development!
[Amazfit] pmartires76:
option pop up when swype

Hi,

I've a Stratos (English version), I installed de 1.5 version (first time install) and have the same issue.

Many Thanks
[Amazfit] DarkThanos:
Need Stratos testers [v1.6-rc.1]

Can someone please test this beta version?

Please test :

Touch Events (Swipe Up / Swipe Down / Long Press)

Settings are saved (reboot to see if it remembers them)

If you experience swipe errors, please execute the scenarios and report back their result:

Tap the screen one time. (Should do nothing)

Tap and hold for a small time (0.5 sec). (Should do nothing)

Touch and move your finger in a small circle in the center of the screen (Should do nothing / Maybe trigger swipe up or down)

ADB Commands [Uninstall old version (optional), Install new version, Restart launcher]

Code live on GitHub
[Amazfit] Diginix:
Is it only for Stratos relevant?

On my Pace v1.4 was better than 1.5, because the delay for settings is too short. What is the delay with 1.6?
[Amazfit] pmartires76:
swipe problem
[Amazfit] Klaus3d:
Could you set the delay to lets say 3s. Swiping also means long touching. Maybe the listener is still to sensitiv. Or the problem is not caused by your widget, but by the launcher.
[Amazfit] jordan41:
I get the message : version 1.5 incompatible on my stratos 1619 2.3.2.7
[Amazfit] DarkThanos:
Have you tried uninstalling old version first? (If you have a previous version installed)

Edit: oh... this was the invalid apk. Try the v1.6-rc.1 (beta version)
[Amazfit] Klaus3d:
again getting the "Install_Failure_Update_Incompatible" message on stratos.
[Amazfit] Quinny899:
Did you previously have to uninstall and reinstall to install the last version? If so, that's why. You have to do it again to get back onto the right signature
[Amazfit] Klaus3d:
Sorry, i'm a bit confused... I get the message with installed old version and with deinstalled (no calender installed)
[Amazfit] Quinny899:
v1.5 was signed with the wrong signature, so you had to uninstall v1.4 (or below) to install v1.5

If you now have v1.5 installed and want to install the beta version, you will need to uninstall v1.5 to install it, as v1.5 had the wrong signature. Once you've installed the beta, future versions will install on top fine
[Amazfit] Klaus3d:
Ok, now i understand and i was trying things like this, but as i said before, i get this message with nothing installed. Same was with the invalid apk.
[Amazfit] DarkThanos:
Need Stratos testers [v1.6-rc.2]

Sorry for the signature problem, my fault.

So, we think that the problem is that when you swipe the calendar can't see the swiping because it is moving with the finger (photo example on the attachments).

We need you to test on your Stratos the long press, I prepared for you 5 versions with different constants for the finger movement tolerance when you long press.

PaceCalendarWidget-1.6-rc.2_dx10.apk - (Same as the previous versions)

PaceCalendarWidget-1.6-rc.2_dx08.apk - (Threshold 8)

PaceCalendarWidget-1.6-rc.2_dx05.apk - (Threshold 5)

PaceCalendarWidget-1.6-rc.2_dx02.apk - (Threshold 2)

PaceCalendarWidget-1.6-rc.2_dx00.apk - (Threshold 0)

I would start the tests from 5 threshold version and if it failed, move to a lower threshold.

Sorry for the inconvenience but we don't have a Stratos watch and since there are people wanting this widget on their Stratos we try to support it.

ADB Commands [Uninstall old version (optional), Install new version, Restart launcher]

Code live on GitHub
[Amazfit] Beackman:
Great APP, installed on my Pace and is working good.
[Amazfit] Klaus3d:
sorry guys, don't know if it's just me or my watch. RC2 is still not installable...same as before. tried x00 and x10
[Amazfit] DarkThanos:
Don't worry, I don't think it's your problem. These versions are just for testing and debugging Stratos watch, so I may have meshed up the signatures :P
[Amazfit] Klaus3d:
So its just my stratos? ;)
[Amazfit] selvok:
Czech lang

Hello! Thanks for your work!

I would like to add the Czech language as well; here is the translation:

Days:

Monday = Pondělí = Po

Tuesday = Úterý = Út

Wednesday = Středa = St

Thursday = Čtvrtek = Čt

Friday = Pátek = Pá

Saturday = Sobota = So

Sunday = Neděle = Ne

Months:

January = Leden

February = Únor

March = Březen

April = Duben

May = Květen

June = Červen

July = Červenec

August = Srpen

September = Září

October = Říjen

November = Listopad

December = Prosinec

"Show year" = Zobrazit rok

"Monday 1st" = Od pondělka

"Select color" = Vyberte barvu
[Amazfit] Diginix:
I have tested dx05, dx00 and dx10 and all have the same swipe issue. Every widget swipe opens the settings on my Pace with 1.2.51.

I'm back on version 1.4 which works perfect for me.
[Amazfit] Klaus3d:
I'm not good in coding, but when i look into the code it looks like your'e listening for longpress on the whole widget. In this case i would assume that longpress and swipe could conflict. Why not listening for a good old click on a button? U tried this in the first stage, right?

uhm, i downloaded the project from github and built my own apk. Still the same error message and does not install. 1.4 went fine
[Amazfit] GreatApo:
We are trying to provide full featured base widget sources, so anyone could start from this to code other widgets.
[Amazfit] selvok:
Thx for your job!

Version 1.6 works good (I'm on PACEfied 1.2.51).

Only in the Czech language the days are shifted... Please fix it.
[Amazfit] GreatApo:
can you tell me exactly the problem? When you have Monday 1st unchecked, Monday is first?

Try this: View attachment PaceCalendarWidget-1.61.apk
[Amazfit] 1immortal:
The Hebrew and RTL works GREAT !

Tested both on Stratos and PACE

btw, now Arabic can be added as well with the correct layout, if someone could provide the texts, it would be great!
[Amazfit] Klaus3d:
1.6 is installable on my stratos and no unindented settings menu.

Only thing i would complain about : when i tick the down button months go forward but when i swipe down months go backwards. same with the up button.
[Amazfit] GreatApo:
Yes because swiping up is like sliding to the next down item, think about it as scrolling.
[Amazfit] Klaus3d:
Makes sense
[Amazfit] morente89:
1.6 perfect in Stratos rom International, swipe up and down good and the delay more time correct the last fail of when you change of screen.

Thx for your job
[Amazfit] Diginix:
You have a Amazfit Pace and you don't have the swipe left/right bug which always triggers the settings?

Which 1.6 version (dx?) do you use?

I'm still on 1.4 and as it seems I must stay because no newer version will solve this.

Obviously, a simple small settings icon, as others suggested, could be a solution.
[Amazfit] lfom:
Latest version (1.6) works fine here too (Pace stock 1.3.6d). Do you use any screen protector or screen is perfectly clean?
[Amazfit] Diginix:
No screen protector, no dirt or scratches. All stock widgets works perfect. But atm I see that the final 1.6 has the same long press delay as 1.4.

Last 1.6 I have tested was the pre-releases. I will test the final 1.6 when the Pace needs to be charged.
[Amazfit] DarkThanos:
You are talking about the 1.6-rc version. The rc means Release Candidate its something like Beta... Just an info :P
[Amazfit] Diginix:
Due to no reaction to my bug report for all 1.6 rc and no release post. I didn't take notice that there was a final.

But thanks if there is already one, which works hopefully even for me.
[Amazfit] selvok:
Yes, version 1.61 is fine. Czech days are corectly now.:)

Thank you for your work!

Yes, I have PACEfied 1.2.51 (with screen protector) and version 1.6 (1.61) works fine.

I don't have bug with swipe left/right which always triggers the settings.
[Amazfit] Diginix:
So, now I have tested final 1.6 and all is ok and works without issues.

Thanks!
[Amazfit] DarkThanos:
GJ to everyone! Thanks for the testing an the feedback!
[Amazfit] wittanny:
Thanks for the work. Suggest to remove vibration when swiping in order to save unnecessary drain of battery.
[Amazfit] Diginix:
+1

And I have still the effect, for e.g. after charging, if I swipe over the calender to widgets behind it and I go back to the calender widget the settings are open. So the swipe over to another widget triggers still the settings.

If I try to reproduce this later by going directly to the calender widget and swipe to the left or right on it, nothing happens.

Strange!
[Amazfit] GreatApo:
You are right but you are not suppose to open the settings many times :P

The whole phenomenon is strange...
[Amazfit] firoz3321:
The widget always starts with the color scheme selection menu. I always had to select ok and then i see the calendar. Do inhave an older version or is it normal?
[Amazfit] Diginix:
[MENTION=3668555]GreatApo[/MENTION]

What wittanny wants to say are all the vibrations for any user interaction. Each change of month let the watch vibrate. This imho unnecessary.

[MENTION=4033159]firoz3321[/MENTION]

No, that is not normal but it seems unsolvable as long the settings are opened by long press on th whole screen and not by an small icon.
[Amazfit] DarkThanos:
You have a point with the vibration.

The best solution would be to add a setting to turn it off, but there is not much space left for any other setting.

Maybe we have to change only for Stratos the long press, with double tap.
[Amazfit] Pavelpleva:
Scrambled day in the Czech version

When I enter a trip, it is 27.4 18 Saturday, it should be Friday as in other languages:eek:
[Amazfit] shadowcaster666:
I'm having real trouble customising the position of this widget.

I have springboard installed but the calendar widget (and the music widget) almost never shows up in springboard, making it stuck in last place and much less usable than it could be.

What exactly do I have to do to make custom widgets appear in springboard? I have tried resetting the watch (many times) resetting my phone and the phone app (also many times), reinstalling springboard and the calendar (yep, many times).

So far I have had custom widgets appear in springboard a couple of times, seemingly randomly, but they always vanish when I install/remove/update any apps on the watch and really don't seem to want to come back.

Does springboard work correctly for anyone else or is this just me?
[Amazfit] Quinny899:
Reboot after installing an app, installing apps messes with the order of the springboard
[Amazfit] Diginix:
I don't need a reboot. Just toggle one default widget in the Amazfit on/off or off/on and then the default sorting will be sync again to the watch.
[Amazfit] shadowcaster666:
Toggling one of the built in widgets on/off only fixes the built in widgets. Any custom widgets like the music controller and the calendar only appear in springboard very rarely.

So sort order is not really the problem (though it is part of it), the problem is the 3rd party widgets almost never appear in springboard.

I really like the idea of springboard, I just wish it worked with 3rd party widgets more than 5% of the time.
[Amazfit] Diginix:
I have no problem with custom calender widget visibility in springboard and watch itself. Even sorting works. I never had to reboot.
[Amazfit] Quinny899:
Thing is, the launcher (which is what springboard actually is, my app is only to change a setting) isn't built for 3rd party widgets. They're only possible because for some reason it's not locked down so it was easy to exploit and use the same method used by system apps to add pages. The Springboard Settings app is using a frankly unstable setting to modify the order, but there's no alternative and I doubt they'll ever fix it officially because it works fine for the built in pages
[Amazfit] shadowcaster666:
Ok, that makes sense.

Follow up question. Is what I'm reporting typical for springboard or is it generally fairly reliable/usable for most folks? As a further example of what I'm experiencing, it is super rare to see music and calendar in springboard at the same time (I haven't seen music in springboard for over a month). It seems that if it worked this poorly for everyone there would be more folks reporting problems.
[Amazfit] Quinny899:
Yes, it's fairly common. It is possible to see both music and calendar in the settings app at the same time, just unusual. Personally the only thing I use the Springboard Settings app for now is to disable pages I don't use (Built in music, the Chinese widgets, Training), and to rearrange the stock ones. I've tried moving the music and calendar widgets a few times and they always move back so I've given up and just have them on the end now. Ironically all of this is possible in the Chinese version of the Amazfit app on the phone, so my own app is slightly useless to me
[Amazfit] GreatApo:
We do and fix what we can. Even having working widgets, thanks to Quinny899's work, or apk watchfaces, thanks to Malvarez's work, is a "breakthrough" :)
[Amazfit] shadowcaster666:
Thanks for the replies. At least now I know for sure that it's not just me doing something wrong.

It's great to see the support that the pace/stratos get from folks here on xda. I really like seeing a device get better over time because of the community.

Now I need to go check out the APK watchfaces, they sound promising :)
[Amazfit] selvok:
Použij tuto verzi (use this version):

https://xdaforums.com/showpost.php?p=76226154&postcount=119
[Amazfit] tilos:
Hi all,

After I have installed its calendar and setup the position I wish, looking fine, but after when I start up the amazfit interface in my phone its sync all the thing than put back the calendar to the end of the list. Any idea avoid this effect? Thanks.

Ps.: I tried re installed the springboard but nothing changed...

Stratos, with custom rom
[Amazfit] GreatApo:
It's a common problem and it can't be fixed :/
[Amazfit] lfom:
I have installed WOS2.0 beta on Pace and the calendar widget started to show the annoying behaviour already related to vibrate and enter configuration mode when swiping through widgets, so I think this problem is related to the Stratos/WOS2.0 firmware. :rolleyes:
[Amazfit] GreatApo:
Yeah... However I installed WOS2.0 too and I don't have many problems. Do you have the largest version 1.61?

Anyway, I may change the way it works :)
[Amazfit] lfom:
I was running 1.60 because I thought the only different was the language fix, updated to latest version but still the same. Maybe slightly better, but still vibrating and going to settings when swiping quickly through widgets. Thanks!
[Amazfit] Txingudi:
thanks for the new update
[Amazfit] GreatApo:
Version 1.6.2 out:

• Added Dutch language (thanks to Northguy)
[Amazfit] thelegendy:
Hi, i checked Github. Turkish language already added as comment lines. Translations are correct. I think you should add also Turkish support :) Thanks...
[Amazfit] GreatApo:
I know, I included that translation and commented on purpose for humanitarian and political reasons. However, it's nothing personal so anyone is free to compile my sources and that is why that translation is not deleted. :)
[Amazfit] thelegendy:
After your comment it does not make sense to me use this widget, don't worry. Just you are prejudging people...
[Amazfit] GreatApo:
My reply didn't effect your need to see a calendar on your watch. Prejuddging people would be not having the translation in the sources or, for example, steping over human rights...

Anyway, the translation would be avaliable in the next update.