[APP] Widget Timeline v1.0.2 - Pace/Stratos/Verge (2019-02-02) - Amazfit

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Timeline Widget (Pace/Stratos/Verge)​
DEPRECATED - THIS WIDGET IS COMPLETELY INTEGRATED IN AMAZFIT CALENDAR WIDGET​
Hello everyone,
Here is an other widget, this time a Timeline! Yes, this widget shows your upcoming calendar events! This app would be displayed as a widget after you reboot your watch (or the launcher). However, in order for it to work, you need to use Amazmod (both phone app + service) and enable the calendar events forwarding. Additionally, make sure your phone's STOCK Calendar has all the events you want to show, synchronized. In order to move this widget you will need @Quinny899 's "Springboard Settings" app from here since it can't be moved through the phone app.
.
If you want to support my work or the other devs involved, now is your chance to buy us a beer or help us gather the money for our next watch device:
- GreatApo's donation button
- Amazmod OpenCollective
- Quinny899 donation button
Screenshot: ​
Features:
This is a Pace/Stratos/Verge Widget
Shows your phone calendar events
Shows only future events and from the last 10 minutes
Go to start of the list button (▲)
Long press time at top to manually refresh the events list (provided that new data have been send from phone)
12/24h time format based on watch preferences
Bugs:
You tell us!
Timer at the top is not constantly updating
InstallationADB install command / restart launcher: (if you have errors, uninstall the previous version first)
Code:
adb install -r TimelineWidget.X.X.X.apk
adb shell am force-stop com.huami.watch.launcher
If you are on Verge, you need to enable the widget using "Springboard Settings" app from Quinny899 or Amazmod. If the widget does not show up, reboot the watch and try again.
ADB uninstall command:
Code:
adb uninstall com.dinodevs.timelinewidget
ADB command to delete calendar data from watch:
Code:
adb shell settings delete system CustomCalendarData
Changelog:
Code:
Version 1.0.2 (02/02/2019)
• 12/24h time format based on watch preferences
• The "go to top" button touch area is now bigger
• Added "all day" event duration duration
• Fix crash when data never saved
Code:
Version 1.0.1 (28/01/2019)
• Removed annoying "Refreshing events..." toast
• Added "No events" message
Code:
Version 1.0.0 (24/01/2019)
• Initial release
• Shows calendar events from 10 min ago to ∞
• "Go to top" button
• Click time/date at top to see author/version
• Long click time/date at top to refresh the events
Download:
Latest version download (link)
Sources (Github link)
This app is based on @Quinny899 's work over springboard widgets :highfive: . The source code is written with comments so you can use it as a base to create an other widget. For more about how to set up a widget/app for Pace, you can also follow this topic "[DEV] Create custom home screen pages for the Pace".​
FAQ:
Can I get reminders from this widget?
No since your calendar phone app can/will throw notifications that will then be forwarded to the watch. Hence, there is no need for reminders.
What is the battery impact?
Data are send through Amazmod's battery and alarm data forwarding, but calendar data updated only if there is a change (but also once a day). Hence, you will not see any difference relative to forwarding batttery/alarm only.
I have the [INSTALL_FAILED_UPDATE_INCOMPATIBLE] error!
Run the uninstall command from adb first. (don't uninstall with Amazfit Tools)
I see a black widget!
This indicates a widget crash. I may not be aware of the problem, so, a logcat will help me fix it.
To save LogCat to a text file open up a terminal window and type: (it will create a file named "logcat.txt" in your current directory)
Code:
adb logcat -d > logcat.txt
Thanks to:
Code:
Quinny899, edotassi, lfom, diotto

Hi i use Amazmod on my watch but i don't have an option greafit calendar... I use the last version to Playstore 1.0.65..

kwet said:
Hi i use Amazmod on my watch but i don't have an option greafit calendar... I use the last version to Playstore 1.0.65..
Click to expand...
Click to collapse
As highlighted in the first post, amazmod's version where I coded the data forwarding is not released on playstore.
To help I will provide a compiled version of the app from the Dev channel, probably later today. However, keep in mind that it will have a different signature, thus you will have to uninstall the previous versions (revoke admin first on watch) before installing mine.

As a pebble's user I missed that feature in stratos. I hope try your app as soon as you provide a compiled version of dev amazmod. One question, we must substitute only the watch app of amazmod or the phone app too?

cesareogallego said:
I hope try your app as soon as you provide a compiled version of dev amazmod.
Click to expand...
Click to collapse
Compiled versions were uploaded on first post.
cesareogallego said:
One question, we must substitute only the watch app of amazmod or the phone app too?
Click to expand...
Click to collapse
Both.

Working perfectly. Now just need to check on battery impact.

adityavaidya said:
Working perfectly. Now just need to check on battery impact.
Click to expand...
Click to collapse
Data are send along with battery and alarm (so the interval is the same) but calendar data are actually send only if there were changed (and refreshed when day changes).
Thus, I you shouldn't see a difference.

I've got this unique setup which I don't think anyone else uses... Stratos with watchdroid for notifications and now amazmod for the calendar widget sync with notifications turned off. So may get completely different behaviour. Fingers crossed that its all good, because the functionality now is exactly what I like

New beta version to Amazmod but i don't see on Greafit your option on Calendar... why ?

adityavaidya said:
I've got this unique setup which I don't think anyone else uses... Stratos with watchdroid for notifications and now amazmod for the calendar widget sync with notifications turned off. So may get completely different behaviour. Fingers crossed that its all good, because the functionality now is exactly what I like
Click to expand...
Click to collapse
Oh, ok, let us know!
I am also interested in what do you thing amazmods miss...
kwet said:
New beta version to Amazmod but i don't see on Greafit your option on Calendar... why ?
Click to expand...
Click to collapse
Because the beta version that is releasing today is been tested for a week now. The Dev version I provide here has more fixes and also contains the code I wrote the last 7 days.
We will try to release a 2nd version (after the one today) shortly.
Don't get us wrong, we try to do our best
This version here is smoother than the one on playstore, the only bug is with grouped notifications removal.

Can you help me, i revook admin rights and send command. When i wan't uninstall amazmod service : adb uninstall com.amazmod.service and message : Failure DELETE_FAILED_DEVICE_POLICY_MANAGER , help !

kwet said:
Can you help me, i revook admin rights and send command. When i wan't uninstall amazmod service : adb uninstall com.amazmod.service and message : Failure DELETE_FAILED_DEVICE_POLICY_MANAGER , help !
Click to expand...
Click to collapse
Reboot, try uninstalling...

Same problem

GreatApo said:
Oh, ok, let us know!
I am also interested in what do you thing amazmods miss...
.
Click to expand...
Click to collapse
The biggest thing is that watch Droid allows older notifications to be responded to.
---------- Post added at 12:56 AM ---------- Previous post was at 12:52 AM ----------
Just another question. Do I need to enable device admin for the calendar widget to work?

adityavaidya said:
Just another question. Do I need to enable device admin for the calendar widget to work?
Click to expand...
Click to collapse
Nope

I have Amazmod service 1843 installed on watch. After installing Widget Timeline I see a blank screen.
The dev version is also service 1843.

Zipp05 said:
I have Amazmod service 1843 installed on watch. After installing Widget Timeline I see a blank screen.
The dev version is also service 1843.
Click to expand...
Click to collapse
I wrote this yesterday.
GreatApo said:
Because the beta version that is releasing today is been tested for a week now. The Dev version I provide here has more fixes and also contains the code I wrote the last 7 days.
We will try to release a 2nd version (after the one today) shortly.
Don't get us wrong, we try to do our best
This version here is smoother than the one on playstore, the only bug is with grouped notifications removal.
Click to expand...
Click to collapse

adityavaidya said:
I've got this unique setup which I don't think anyone else uses... Stratos with watchdroid for notifications and now amazmod for the calendar widget sync with notifications turned off. So may get completely different behaviour. Fingers crossed that its all good, because the functionality now is exactly what I like
Click to expand...
Click to collapse
Battery life seems to be unaffected. I used to get about 2.5 days earlier with my usage, and it looks that I'll get about the same with the calendar widget

adityavaidya said:
Battery life seems to be unaffected. I used to get about 2.5 days earlier with my usage, and it looks that I'll get about the same with the calendar widget
Click to expand...
Click to collapse
:good: it's optimized as hell

Hi !
Thanks for this but I followed all the steps and can get only black screen.
I have latest Amazmod you provided, springboard but still empty. Phone app says data send but still widget is empty.

Related

[Mod][Xposed] Alarm Clock Plus 2.0

There was a similar tweak for iOS back in the days when i was an iphone user which i was always missing on my Android device.
Now i just created it myself because i was bored yesterday :>
Do you enjoy snoozing in the morning as much as i do? Hate how you always have to look at your phone to determine if you can snooze
one more time or not?
This tweak tells you the time, everytime you snooze your alarm. Actually, it can tell you about anything.
You can set your own text and use a variety of variables. (Currently there are only a few. More might follow, if people like this tweak - for example unread mail count, weather, etc.)
Screenshot:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Compatibility:
I tested this tweak on a Nexus 5, running 4.4.2 Stock.
Alarm Clock Plus should be working on about any Device and any version of Android that has the stock Clock app.
(Please let me know if it works for you or if you have any issues, thanks)
This only works with the standard Google clock!
Package: com.google.android.deskclock | com.android.deskclock
Currently the Interface is still pretty raw and ugly.
I will work on that soon. Also I have some ideas for more features, which I'm going to implement over time.
Changelog:
1.0
Initial release
1.0.1
Small bugfix (disable dismissed now working)
1.1
added: Can hide icon from launcher
added: Auto save settings on exit
added: Voice speed control
added: Voice language selector
added some logging for debugging
possible fix of the TTS not firing
1.2
added: Support for CyanogenMod 11
(and possibly other roms that use the standard aosp clock app or derivates of it)
Thanks @pdcrzylazy for testing!
1.2.1
added: Support for Android 4.4.3+
(Let me know if this still works on 4.4.2 and lower please)
2.0
complete rewrite of the module.
it should be much more stable and reliable now.​
added: Tasker support (You asked for it and here it is!)
added: New Variables - %I (Hours 12h), %p (Am/Pm)
changed: Settings - No more need to reboot the device after changing settings
2.0.1
fixed: Test tasker-task on dismiss
fixed: Forgot to shut down the TTS engine
2.1
added: Check if your device/ROM is compatible
added: Check if you have TTS installed
added: Button to let you install more language files
reduced package size
2.1.1
fixed: Bug that broke the module on some devices
2.1.2
added: Option to remove leading zeros for the time and date variables
Click to expand...
Click to collapse
Download:
[QRCODE]http://repo.xposed.info/module/com.chrisxe.xposed.alarmtelltime[/QRCODE]
http://repo.xposed.info/module/com.chrisxe.xposed.alarmtelltime
If somehow you really like this tweak and want to support me, you can also buy this tweak from google play for little money
(This is the same version as the free one in the Xposed repo. It is just a donation package)
Alternatively you can click here to donate via paypal
Thanks to:
- rovo89 for the Xposed Framework.
- MohammadAG for all of his source codes on github.
Great idea. Like this very much. But unfortunately I'm using cyanogenmod 11 on my nexus 5.
And cm is not using the standard google clock. Is it possible that you can port this module to run also on devices with cyanogenmod?
Thank you.
Great potential...when it is ported to work with cyanogen I will definitely give it a try.
Sent from my LG-P936
thanks for the feedback. i'll try to look into it, to get it to work for cm
andreasf93 said:
Does it require internet to work? Because I tried it this morning and I snoozed it twice without hearing anything.
PS: Stock 4.4.3
Click to expand...
Click to collapse
have you tried to open the settings of the tweak and then hit the "save" button?
seems like for some people you need to do this first (im working on it!)
or maybe your locale isnt supported by text-to-speech. currently the tweak uses the default locale which is set by the system (i'll add a switcher to set a custom locale soon)
andreasf93 said:
My locale is English (UK) so it should be fine. When I press the Test button the voice is just fine. And yes I've pressed the Save button multiple times, still not working.
PS: Are you Greek?
Click to expand...
Click to collapse
it should work just fine then. are you using the standard aosp clock from google? (com.google.android.deskclock)
PS: no i'm not
andreasf93 said:
Oh okay, because Mythos is a Greek word
Yep, I have the default clock since I bought my Nexus 5 and did not install any other alarm apps :s
Just tried rebooting, reinstalling the app, still did not work
Click to expand...
Click to collapse
can you try to set an alarm and watch your logcat for errors when you hit the snooze button?
or maybe check the log in xposed installer
__EDIT:
oh and you did enabled the module, right? sorry, im not assuming you are dumb, just making sure
andreasf93 said:
Ye I have enabled it, I checked myself twice to make sure
Nothing shows up in xposed log, not sure how to check logcat though.
Click to expand...
Click to collapse
mhm. then im out of ideas for now, sorry ;(
maybe it is not 4.4.3 compatible. i dont know if the clock app changed or anything else xposed related.
i'll look into it
Another possible feature that you might look into -
Announcing the time on request (say, when I press the volume button) - BEFORE the alarm goes off. When I'm half asleep in the morning and not sure whether it is time to wake up, I want to be able to press the volume key and hear what time it is. I was trying to do it via tasker this weekend but didn't quite achieve what I was looking for.
So, if you can implement something to this effect in your module, that would be awesome.
Is not work on my galaxy s5
Sent from my SM-G900F using XDA Premium 4 mobile app
Please check the first post, I updated the module.
Changelog also in first post. Might have fixed the bug andreasf93 was experiencing
(Please let me know if it works now (Encountered the same bug as you, another reboot seemed to fix it for me))
@bagarwa
very good idea!
I'll probably implement that soon
Not sure if their name is copyrighted, but you may wanna change the name of this:
https://play.google.com/store/apps/details?id=com.vp.alarmClockPlusDock
Would hate to see a wonderful developer get a lawsuit! How about "Alarm Clock ADVANCED"
can you add option to turn off/on all the alarms that are setted ?
super charge for clock
It doesn't work on my GS4 on stock GPE 4.4.2. Voice is heard when press test buttons but when alarm goes off.. Snooze our cancel alarm didn't produce any sound.
Any ideas?
MythosXe said:
Please check the first post, I updated the module.
Changelog also in first post. Might have fixed the bug andreasf93 was experiencing
(Please let me know if it works now (Encountered the same bug as you, another reboot seemed to fix it for me))
@bagarwa
very good idea!
I'll probably implement that soon
Click to expand...
Click to collapse
Suggestion: an option to perform a tasker task when alarm is snoozed/dismissed would be awesome!
Will be useful for news, custom text, unread messages/emails/whatsapp messages, opening custom apps, etc
Would absolutely love this, thanks!
Great idea and very cool module! Working good on my Galaxy S4 running 4.3.
- Sent from my Galaxy S4 using the XDA app.
also rocking cm 11, this clock seems interesting tough. Would definitely try it if you came around to making it available to cm roms.
Can someone on CM 11 test if this one is working? (see attachment)
If it doesnt work first try, can you reboot a second time and try again? thanks :>
MythosXe said:
Can someone on CM 11 test if this one is working? (see attachment)
If it doesnt work first try, can you reboot a second time and try again? thanks :>
Click to expand...
Click to collapse
I'm running CM11. I installed the test APK and used the Test functions in the app interface. Those are working. Tested the clock app and the voice worked when I snoozed the alarm. Seems successful on CM11. Nice job.
pdcrzylazy said:
I'm running CM11. I installed the test APK and used the Test functions in the app interface. Those are working. Tested the clock app and the voice worked when I snoozed the alarm. Seems successful on CM11. Nice job.
Click to expand...
Click to collapse
Thanks for testing :>

[MOD][Xposed] EventLock - Calendar events on your lock screen

EventLock
An Xposed module to show your calendar events on the lock screen.
Features
Multiples events on the same page!
Scrollable layouts
Loads of customisations - layouts, scrolls, event color, time format, etc.
Many many presets so you don't have to mess with settings~
Why?
After Kitkat, the lockscreen widgets were disabled and so calendar widget can't be put on the lock screen.
AOSP lock screen for lolipop/marshmallow does not show calendar events on lock screen either.
Screenshots
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Lockscreen preview
Soooo many different styles!
Requirements
Root
Xposed Installer
Android 5.0 and above (AOSP preferable)
Download
http://repo.xposed.info/module/com.gobbledygook.theawless.eventlock
Source code
https://github.com/theawless/EventLock
i installed it on LG G3 D851 ; however i am not getting any notifications on the lock screen. any suggestions?
i installed ver 1.2 however it still continues to show 1.1 in app menu. not sure why.
samjoandco said:
i installed it on LG G3 D851 ; however i am not getting any notifications on the lock screen. any suggestions?
i installed ver 1.2 however it still continues to show 1.1 in app menu. not sure why.
Click to expand...
Click to collapse
Is the lock screen AOSP? I think some lock screens are having problems because they are highly modded by the manufacturers. Oh, and thanks for telling me about the version number, it was my mistake, I forgot to change it in the menu.
theawless said:
Is the lock screen AOSP? I think some lock screens are having problems because they are highly modded by the manufacturers. Oh, and thanks for telling me about the version number, it was my mistake, I forgot to change it in the menu.
Click to expand...
Click to collapse
Yes, its AOSP.
samjoandco said:
Yes, its AOSP.
Click to expand...
Click to collapse
Go to xposed > log and paste the log file here, or look for W/e : ... errors with "eventlock" in it.
If this module stopped working after the update then, do a clear data (Settings -> Applications -> EventLock -> Storage -> Clear data).
logs uploaded here
I too have loaded the module and it does not display on the lock screen. I am running Xposed and GalaxyXMod with other notifications working fine.
Hey thanks for this module, works well on my CM!
Hello,
I really like this module but I think it does not use the time zone of the phone/android system but maybe PST.
Could you add settings so we can choose time zone please ?
Thanks in advance
slutman said:
Hello,
I really like this module but I think it does not use the time zone of the phone/android system but maybe PST.
Could you add settings so we can choose time zone please ?
Thanks in advance
Click to expand...
Click to collapse
Hey I have updated the module. Can you check if the time zone error is fixed now? I'm not sure why the error came up in the first place, I have used default time zones everywhere.
Olie426 said:
I too have loaded the module and it does not display on the lock screen. I am running Xposed and GalaxyXMod with other notifications working fine.
Click to expand...
Click to collapse
You will be needing a stock AOSP lockscreen for this to work. It does NOT use notifications.
Olie426 said:
I too have loaded the module and it does not display on the lock screen. I am running Xposed and GalaxyXMod with other notifications working fine.
Click to expand...
Click to collapse
Hey this module does not use notifications. You will be needing stock AOSP lockscreen for this to work.
samjoandco said:
logs uploaded here
Click to expand...
Click to collapse
Hey can you reupload those logs. The link is broken now.
theawless said:
You will be needing a stock AOSP lockscreen for this to work. It does NOT use notifications.
Click to expand...
Click to collapse
I am using the stock AOSP lock screen.
Olie426 said:
I am using the stock AOSP lock screen.
Click to expand...
Click to collapse
Can you install the updated module?
Tell me if they show up in the preview(do that by pressing the eye button in the main app).
Would it be possible to add an option to change the color of the block?
Really digging the scrolling when text is too long on the lockscreen. Solid module!
pkWhistle said:
Would it be possible to add an option to change the color of the block?
Really digging the scrolling when text is too long on the lockscreen. Solid module!
Click to expand...
Click to collapse
Thanks!
The event color is fixed by the calendar event. As an example you can create a new event from your calendar and there is an option to set event color.
I believe you all blocks for you are the same color because all of them are either birthdays or festivals. Maybe there is a setting in the calendar to change it.
theawless said:
Thanks!
The event color is fixed by the calendar event. As an example you can create a new event from your calendar and there is an option to set event color.
I believe you all blocks for you are the same color because all of them are either birthdays or festivals. Maybe there is a setting in the calendar to change it.
Click to expand...
Click to collapse
I have a few events with different colors set but they all show the default lime green regardless of the color I set to the event. Thanks for the quick response btw!
pkWhistle said:
I have a few events with different colors set but they all show the default lime green regardless of the color I set to the event. Thanks for the quick response btw!
Click to expand...
Click to collapse
Right, I've found the error. I'll fix it soon.
Can you help me with the application a bit? It's intended to do these:
* Update all events after midnight, this means the older events will not exist in the list.
* Update the current event(the one in bold) after it ends/or a new event starts, the old event will be sent to left of list.
* Scroll back to the current event when screen is turned off and on once.
Essentially it should show the running event, if there are more than two running events then it should show the one which started later.
If there are no running events then it should show the upcoming event.
If none of above is there, it should show the last "no more events".
Please tell me whether all that happens, I've tried but for me it doesn't work sometimes.
theawless said:
Right, I've found the error. I'll fix it soon.
Can you help me with the application a bit? It's intended to do these:
* Update all events after midnight, this means the older events will not exist in the list.
* Update the current event(the one in bold) after it ends/or a new event starts, the old event will be sent to left of list.
* Scroll back to the current event when screen is turned off and on once.
Essentially it should show the running event, if there are more than two running events then it should show the one which started later.
If there are no running events then it should show the upcoming event.
If none of above is there, it should show the last "no more events".
Please tell me whether all that happens, I've tried but for me it doesn't work sometimes.
Click to expand...
Click to collapse
So I have an event that I just went to. It finished an hour ago. The next event starts in 2 hours. I can still scroll back to the last one. Maybe because the one coming up hasn't started yet? Upcoming event shows tho but I can switch to previous if that's what you're asking about?
I also get "no more events" to show up

[APP] Springboard Settings for Pace - Rearrange/Enable/Disable pages on the launcher

Springboard Settings allows you to customise the home launcher (Springboard), enabling/disabling and rearranging the pages on the screen. This allows you to customise it on the watch, rather than having to use the Amazfit app on your phone, and also allows for the removal of the China-only pages on the PACEfied ROM, without the need for the Chinese Amazfit app. As well as this, you can customise the order as you would in the phone app, and it's also compatible with custom pages
Screenshot
Download
Download from attachments
Installation
Code:
adb install -r SpringboardSettings-1.1.apk
Uninstallation
Code:
adb uninstall com.kieronquinn.app.springboardsettings
Usage
Simply open the app and scroll through the list. There's switches for each item to enable or disable them, and long pressing an item will allow you to drag it around. Changes are automatically saved and take effect on the launcher immediately, closing the app will show them
Whilst the app tries to get the current order correct, it's sometimes not perfect. Relaunching it or rebooting the watch sometimes helps.
Warning: The state of the sport launcher (usually displayed on the left screen from the clock) can be changed in this app. Whilst it works, and disables the page, it causes glitches and bugs in the launcher if you do. You're welcome to just deal with this if you don't want the sport launcher (called gpx-recorder/SportLauncherView in the app), hence why it's not simply hidden, but it's not recommended
Changelog
Version 1.1
- Added a notice when no pages have been loaded
- Removed unused activity_main XML
Version 1.0
- Initial release
Source
This app is open source, feel free to use the source in anything else, including the layout system, and see how the settings system works in code: https://github.com/KieronQuinn/AmazfitSpringboardSettings
How it works
The launcher saves and reads the layout from two system settings: springboard_widget_order_in and springboard_widget_order_out
springboard_widget_order_in contains the main list, ordering and state for each page - but doesn't always contain all pages (not sure why). Editing this setting is how this app works, and the setting is in JSON form
springboard_widget_order_out contains the full list of pages, but whilst it also contains values for state and order is not used for loading. The app uses this to read any other pages, including custom ones (which I can currently get to show as blank pages with no content - more on that when I get them working)
Great app, even better customisation than the phone app (I turned off sports and put timer in its place).
I do have a minor bug to report though. The app failed to load a list of widgets then crashed the launcher on exit the first 2 times I tried to run it. I think I kind of know why.
Whenever I install a new app on the pace (I use apkinstaller) the widgets all return to their default order. I can fix this by going into the phone app and toggling any widget off then on again (the phone app retains my custom settings).
I get the feeling that the config file for widget order is getting deleted/altered when I install an apk and that's whats causing the problem.
After using the phone app to fix widget order your app works fine, but I can imagine this bug could be a bit of a roadblock for some people.
Nice work, please keep up! Cross fingers for custom widgets!
Official Software: not working?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Edit:
- Opening / Closing widgets from phone app did the trick! (thanks @shadowcaster666)
confirming that it works on Nicola's StratOS 1.0 based on 2.0.7.5 rom - cannot move the activities to the other side of the actual clock, tried to place the weather to the left of the watch, still remains on the right.
GreatApo said:
Nice work, please keep up! Cross fingers for custom widgets!
Official Software: not working?
View attachment 4418304
Click to expand...
Click to collapse
Have you tried what the post above you suggested doing? If that doesn't work, please provide a logcat as it'll show the error
1immortal said:
confirming that it works on Nicola's StratOS 1.0 based on 2.0.7.5 rom - cannot move the activities to the other side of the actual clock, tried to place the weather to the left of the watch, still remains on the right.
Click to expand...
Click to collapse
Yup it doesn't allow that, appears to be hard coded into the launcher. Shame, because I would have liked the left side of the clock to be an app launcher and the right pages to be normal, so you don't have to scroll all the way to the end to launch an app. A custom app drawer page would make this better, then it could be the first page on the right...
Quinny899 said:
Have you tried what the post above you suggested doing? If that doesn't work, please provide a logcat as it'll show the error
Click to expand...
Click to collapse
It did the trick. Add it to the first post
GreatApo said:
It did the trick. Add it to the first post
Click to expand...
Click to collapse
Great! I will do when I'm on my PC, and probably update the app so it shows a message with instructions if it doesn't find the setting. I had that come up once during testing but thought it was caused by the app not saving correctly, but obviously not.
Quinny899 said:
A custom app drawer page would make this better, then it could be the first page on the right...
Click to expand...
Click to collapse
Some android wear launchers have been ported to the pace. I have "Quick Launch" installed. It allows you to pull down and app list by swiping down from the top left corner.
This does a pretty good job of giving you quick access to your apps. But it would be very nice to be able to customise the order of apps in the app list.
I noticed something else that's a little odd. You cant scroll to the left from the "sports" app. So if you move the sports list from the left most position to anywhere else, once you scroll past it you can't scroll back. You can still just hit the home button.
GreatApo said:
Nice work, please keep up! Cross fingers for custom widgets!
Official Software: not working?
View attachment 4418304
Edit:
- Opening / Closing widgets from phone app did the trick! (thanks @shadowcaster666)
Click to expand...
Click to collapse
Cross your fingers no more: https://forum.xda-developers.com/sm...create-custom-home-screen-pages-pace-t3751731
@Quinny899 you sir have just unlocked unlimited possibilities fo Pace, and I believe I owe you a full post Thank you!!
Good work ! But after sync with Amazfit app settings are canceled ?
Matwillshak said:
Good work ! But after sync with Amazfit app settings are canceled
Click to expand...
Click to collapse
Not a lot I can do about that, the app is always going to overwrite it
Quinny899 said:
Not a lot I can do about that, the app is always going to overwrite it
Click to expand...
Click to collapse
It does not work for me. Reset all the time
I tried the trick suggested in the first post, but it does not work. The springboard list remains empty.
I use the Stokfield 1.7.1 (1.3.6d)
peppe85 said:
I tried the trick suggested in the first post, but it does not work. The springboard list remains empty.
I use the Stokfield 1.7.1 (1.3.6d)
Click to expand...
Click to collapse
Me too. The name app only appears in the black background
Enviado desde mi LEX820 mediante Tapatalk
peppe85 said:
I tried the trick suggested in the first post, but it does not work. The springboard list remains empty.
I use the Stokfield 1.7.1 (1.3.6d)
Click to expand...
Click to collapse
crxixo1 said:
Me too. The name app only appears in the black background
Enviado desde mi LEX820 mediante Tapatalk
Click to expand...
Click to collapse
And you've both opened the Amazfit app, gone to the "widgets" page, moved the pages around, enabled/disabled them a couple of times and restarted the springboard settings app?
Quinny899 said:
And you've both opened the Amazfit app, gone to the "widgets" page, moved the pages around, enabled/disabled them a couple of times and restarted the springboard settings app?
Click to expand...
Click to collapse
Ohhhhhh thanks!!! It is working!!!
Enviado desde mi LEX820 mediante Tapatalk
Quinny899 said:
And you've both opened the Amazfit app, gone to the "widgets" page, moved the pages around, enabled/disabled them a couple of times and restarted the springboard settings app?
Click to expand...
Click to collapse
Yes
Would it be possible to put a save/restore option in the springboard app?
This would mean that after doing an initial setup and save, you could use the restore option in springboard to restore your widget layout without needing the phone app.
crxixo1 said:
Ohhhhhh thanks!!! It is working!!!
Enviado desde mi LEX820 mediante Tapatalk
Click to expand...
Click to collapse
@Quinny899
I tried many times, but the only thing I got at the end is the clock that crashes. I had to do the factory reset.

[APP] AMF Better Amazfit Notifications

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Hi, I'm currently developing an APP for Amazfit Pace/Stratos. I've named it AMF Better Amazfit Notifications.
AMF is conformed of one app installed on mobile phone and the other on PACE/Stratos watch. No need to root / flash custom ROM
The description / links of the watch app can be found here:
http://www.guatedroid.com/amf/about/
The Playstore app for mobile phone can be found here:
https://play.google.com/store/apps/details?id=com.guatedroid.amfc
Some features include:
Quick Reply
Emoji Reply
Basic keyboard input
Google Maps Navigation
Vibrate on phone signal loss
clear / dark theme
Translations to: Czech, English, Greek, Hebrew, Hungarian, Italian, Japanese, Polish, Portuguese, Russian, Slovak, Spanish
Notify without interrupting your sport activity (it overlays over the running app)
Custom vibration pattern
... and much more.
Hope you like it and find it useful.
Many features are free to use. Some require a small donation to unlock remaining features and help further development.
Hi, can you add notification actions ? ex I have "mark as read" like action when I receive a mail. Just dismiss not mark as read and the phone keep the red number with unread mail in the app icon .
(I use the donate version )
dersie said:
Hi, can you add notification actions ? ex I have "mark as read" like action when I receive a mail. Just dismiss not mark as read and the phone keep the red number with unread mail in the app icon .
(I use the donate version )
Click to expand...
Click to collapse
will see if its possible
I've been testing this app for about 2 weeks.
The notifications are not displayed in the order you receive them, if you have like 5 messages, you get the last one then scroll to the first, it does not make any sense.
On the watch application the notifications remain on the app, you have to press READ and then clear them all, it must be an option to disable this, because at the end of the day you have like 500 messages there, and that makes the app sluggish.
It reminds me of an notification, but I have that option disabled.
If you get a notification and you get a call, you have to clear the notification to see who is calling you.
This application has a lot of potential. Thanks for your time to develop this, but for me those things made me uninstall the app. I hope you don't misunderstand me.
I will follow this topic and install the newest versions to test them, maybe someday the app will suits me.
I just downloaded the app ... As it was stated before - it have potential, but notifications are not synced when recieved.
I added apps to Approved apps list and still I get vibrated on wild notification.
vibecatalin said:
I've been testing this app for about 2 weeks.
The notifications are not displayed in the order you receive them, if you have like 5 messages, you get the last one then scroll to the first, it does not make any sense.
On the watch application the notifications remain on the app, you have to press READ and then clear them all, it must be an option to disable this, because at the end of the day you have like 500 messages there, and that makes the app sluggish.
It reminds me of an notification, but I have that option disabled.
If you get a notification and you get a call, you have to clear the notification to see who is calling you.
This application has a lot of potential. Thanks for your time to develop this, but for me those things made me uninstall the app. I hope you don't misunderstand me.
I will follow this topic and install the newest versions to test them, maybe someday the app will suits me.
Click to expand...
Click to collapse
The sorting order uses the same logic Pebble did on their notification system. That logic says the newest notification should be on top for easy access... (So the oldest is on the bottom).
But as requested there is a new option so users can choose what sorting order they want. If they want the oldest always on top now they can choose.
Also, notifications have a maximum of 120 old ones are automatically deleted from watch. But if you dont want to store at all. There is a new option on AMF phone to disable that.
The updates are going to be released on the following days. Stay tunned.
About the notification thing on a call... Strange... On my stock Pace and a Stock Stratos during testing time all was ok.
Will check that.
Lucifer4obg said:
I just downloaded the app ... As it was stated before - it have potential, but notifications are not synced when recieved.
I added apps to Approved apps list and still I get vibrated on wild notification.
Click to expand...
Click to collapse
After adding the apps to the aproved list, did you checked the checkbox on that page that says: Enable this list?, if not, even if the apps are added the filter wont work.
Thank you! You are the best
carlosb said:
After adding the apps to the aproved list, did you checked the checkbox on that page that says: Enable this list?, if not, even if the apps are added the filter wont work.
Click to expand...
Click to collapse
Yes I did I stoped recieving wild notifications. The issue is that I recieve the notifications 5 to 10 minutes later.
EDIT:
I found the issue - appearently I have to unlock my phone to recieve notifications. This seems to be related to the wake locks ...
One more issue just found - phone application refuses to connect after certain time.
I like your work, really, even donatetd but I will wait future versions (the current one is unusable for me),
Lucifer4obg said:
One more issue just found - phone application refuses to connect after certain time.
I like your work, really, even donatetd but I will wait future versions (the current one is unusable for me),
Click to expand...
Click to collapse
Have seen this issue with some users. The reason is that their phone manages a whitelist of aproved apps that can run on background. If they dont add the app to that whitelist, then the phone force-quit AMF to free ram causing this issues..
vibecatalin said:
I've been testing this app for about 2 weeks.
The notifications are not displayed in the order you receive them, if you have like 5 messages, you get the last one then scroll to the first, it does not make any sense.
On the watch application the notifications remain on the app, you have to press READ and then clear them all, it must be an option to disable this, because at the end of the day you have like 500 messages there, and that makes the app sluggish.
It reminds me of an notification, but I have that option disabled.
If you get a notification and you get a call, you have to clear the notification to see who is calling you.
This application has a lot of potential. Thanks for your time to develop this, but for me those things made me uninstall the app. I hope you don't misunderstand me.
I will follow this topic and install the newest versions to test them, maybe someday the app will suits me.
Click to expand...
Click to collapse
your requested updates are ready for you to install.
Thank you so much! I will keep you updated with how the application works. Cheers!
Hi can you mak video to how install it
AxA_200000 said:
Hi can you mak video to how install it
Click to expand...
Click to collapse
Haven't you read AMF website? The instructions are there.
HI MF, very nice work but I'm having same issues like when arrives a notification it only shows when i press a button and not right away. When I'm w/ the screen on does not show the notifications (great) but when I turn off the screen and get a notification it shows all of them that happen when the screen was on and I already check that is very annoying.
diotto said:
Haven't you read AMF website? The instructions are there.
Click to expand...
Click to collapse
Yes but it's not say how to install it
This app is great and working good on my redmi-note-3 + pace.. Even without donation it has most features working.. Though i wont mind a donation after using it few days.. Good job whoever made it... And thanks for sharing here
AxA_200000 said:
Yes but it's not say how to install it
Click to expand...
Click to collapse
Hi, you can follow this link:
https://www.guatedroid.com/amf/watch-app-installation/
saulinhoo said:
HI MF, very nice work but I'm having same issues like when arrives a notification it only shows when i press a button and not right away. When I'm w/ the screen on does not show the notifications (great) but when I turn off the screen and get a notification it shows all of them that happen when the screen was on and I already check that is very annoying.
Click to expand...
Click to collapse
Please contact me to [email protected] so we can track the issue

[APP/Widget] AmazeSunTimes v2.0 - 20190918

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Compatible with Pace/Stratos/Verge(/Nexo?)
Requirements
Install APK on watch, enable widget (it can be opened from apps list too, but it will display only the Settings page, so no weather info);
Amazfit Internet Companion app or AmazMod 1.1.8-build 215 or newer (available in bleeding edge downloads only as of now, see notes below) installed on phone.
v2.0 does not require Internet Companion anymore.
How it works
sunrise/sunset times are updated automatically, once a day it needs Amazfit Internet Companion service running on phone, and the phone must have access to the internet, of course;
new in v2.0: sunrise/sunset times now use you actual altitude from GPS data, so it should be more accurate;
weather is updated automatically, the data is from the watch/Amazfit itself as well as the name of the city shown in settings;
new in v2.0: moon age and phase are displayed in the widget, it's also updated once a day. It's based on the Julian Day since the last new moon, do not expect it to be very precise but it's a good approximation;
new in v2.0: the moon icon representing the moon phase is rotated to reflect your actual latitude, so it should be very close to the actual moon you see in that day/night (tap the yellow icon to get a list of the moon phase names - in English - used);
you only need to update GPS data if you have changed your location A LOT (sunrise/sunset won't change unless you move many kilometers away from your old location);
the date shown on widget is the last time sunrise/sunset times were updated, and on GPS page is the last time you updated GPS data.
If you have used GPS recently on watch, it will grab you last known position on the GPS page, then try to get a fix for a few seconds (it only works if you are outdoors, of course). So you don't need to be outdoors to update the GPS data, if you have recorded an activity recently or used the compass (the page with air pressure) then it will record your last known position until you restart the watch.
If you are using Verge or some firmware versions that limits the number of widgets, then you will need to use AmazMod or AmazeLauncher to enable and re-sort the widgets list. Another option is Widget Settings app, but it won't make the changes permanent.
PS: iOS users can still install/use the widget with the weather info only. If there are enough people willing to donate, I may create a version that uses standard WiFi connection from watch to fetch sunrise/sunset times.
Acknowledgements
@Quinny899: springboard plugin and Amazfit Internet Companion sources;
@GreatApo: GreatFit weather code;
Huami: weather data (known bug: it seems that UV index is broken as of now);
http://sunrise-sunset.org for the data in v1.0;
Carmen Alvarez: Java calculation of sunrise/sunset times - https://github.com/caarmen/SunriseSunset;
WikiPedia: resource info about sunrise/sunset and moon phase calculation.
You can donate to keep this and other projects I have:
http://ko-fi.com/lfomartins
PayPal - lfomartins[at]aim.com
or using the button below my name on XDA.
Thanks!
Download link (Mega) v2.0
https://mega.nz/#!gfI2QIKJ!03l28Wd3Vq1d_7-6oTxPWKXgAgjKkxvUIbn8eGaWZr0
SHA1SUM: 3FB82C986D817A42DCE0511B6F06A5110E5605B0
Enjoy!
Download link, screenshots and more info for the previous version (v1.0)
https://mega.nz/#!9SwRGaCA!ECYgrgM_kzBI9Ju-PGhGrCrbd8rBRtqzlvL_ARKhT8U
Amazfit Internet Companion app by Quinny899:
https://github.com/KieronQuinn/AmazfitInternetCompanion
AmazMod Bleeding Edge build (unstable):
https://github.com/AmazMod/AmazMod/releases/tag/edgy
If you want to install Bleeding Edge build, you must uninstall both apps from phone and watch first, as it does not use the same signature as the PlaysStore version. Remember to backup your settings first!
Works awesome on my Stratos :good: (I used Amazmod to arrange the widgets)
This widget is amazing, I missed sunrise/sunset times on my watch. Works great on Stratos. Only thing that I could want more is possibility to remove some data from widget, as I am only interested in sunrise/sunset times, but not weather. And maybe possibility to check sunrise/sunset times from yesterday or tomorrow. Great job!
and Moon time
dersie said:
and Moon time
Click to expand...
Click to collapse
Soon. I have find an relatively easy way to calculate moonphase that can be used for a good references, and I will update the app to calculate sunrise/sunset times locally so iOS users can have them as well.
Working perfectly. Many thanks
Could you please change it (or as a new app) so that it show and can have alarm for Azan times for Muslims?
Thanks a lot dear Ifom
Sorry to ask that, but... How to uninstall it? I really only want to test, it's great but I don't make use of. Tks!
hpto said:
Sorry to ask that, but... How to uninstall it? I really only want to test, it's great but I don't make use of. Tks!
Click to expand...
Click to collapse
To uninstall the widget:
- If you have amazmod service installed, open the amazmod menu, go to app manager, find the widget, click uninstall
- with adb run:
Code:
adb uninstall tk.lfom.amazesuntimes.AmazeSunTimes
- If you used an Apk Installer software, there is usually an uninstall option too, find the widget and click uninstall (the pkg name is "tk.lfom.amazesuntimes.AmazeSunTimes" if needed)
It should be noted however that keeping the widget installed (even disabled as a widget) will not cause any battery drain or sth else. It would just be an app ready for use when needed.
If your watch failes getting times and you are using blokada you should check the live-log of blokada and/or add api.sunrise-sunset.org to your whitelist!
Great app btw. I love getting these times directly on my stratos. On my phone homescreen I always have the suntimes (from F-Droid) widget running. Somehow the times of Suntimes and your Widget differs a few minutes but only a irrelevant amount.
nForce said:
If your watch failes getting times and you are using blokada you should check the live-log of blokada and/or add api.sunrise-sunset.org to your whitelist!
Great app btw. I love getting these times directly on my stratos. On my phone homescreen I always have the suntimes (from F-Droid) widget running. Somehow the times of Suntimes and your Widget differs a few minutes but only a irrelevant amount.
Click to expand...
Click to collapse
Yep, some ad-blockers seem to block access to sunrise-sunset.org for some reason... The next version will calculate the times without the need of external connection so it will always work (as long as your watch has battery :silly. It will take into account the altitude (elevation), that I am not sure if the online service uses, maybe it will yield better results. I may add moon phases too, but just as reference (it won't be exact).
Sadegh said:
Could you please change it (or as a new app) so that it show and can have alarm for Azan times for Muslims?
Thanks a lot dear Ifom
Click to expand...
Click to collapse
Sorry, I don't know how it works... Is it a time based on sunrise/sunset? If they are normal alarms, you can use the built-in clock app for that.
lfom said:
Sorry, I don't know how it works... Is it a time based on sunrise/sunset? If they are normal alarms, you can use the built-in clock app for that.
Click to expand...
Click to collapse
yes, Azan times change according to sunrize and sunset. but as they change daily its hard to set alarm for them.
here is the prayer time table for Tehran:
https://www.islamicfinder.org/praye...nterval=year&calendarType=Gregorian&year=2019
lfom said:
Sorry, I don't know how it works... Is it a time based on sunrise/sunset? If they are normal alarms, you can use the built-in clock app for that.
Click to expand...
Click to collapse
Hey how's the new version coming along?
I was busy with a new version of HNFit watchface and a full maps app for Pace/Stratos/Verge, but they are almost finished. Once they are released, I should update AmazeSunTimes with local calculation (no internet need) and a basic moon phase display.
Vert good job!! Only english or several language ?
Ericmo said:
Vert good job!! Only english or several language ?
Click to expand...
Click to collapse
Huh? It shows only numbers, and the weather info is the same from weather widget so it will follow system settings for language and units.
New version - v2.0
- New: does not require Amazfit Internet Companion anymore (iOS users can install it on watch, as well as AmazeLauncher or another tool to enable the widget);
- New: sunrise/sunset times now use your actual GPS position and altitude in the calculation;
- New: moon age and moon phase (it is rotated based on your latitude so it should be close to what you actually see on sky);
- Performance enhancements.
PS: tap the yellow icon on widget to see the city name from weather data and the name of the phases (in English).
Has anyone experienced issues with v2 where the launcher stops responding? I've uninstalled for now to see if this appnos the cause as I also updated to a bleeding edge amazmod build
Dear Ifom
Could you add vibration patterns for these sunrise and sunset times?
Thank for your great works

Categories

Resources