Atrial fibrillation and heart rate monitoring app - Wear OS Software and Hacking General

Hi all,
I have developed an application for a Wear OS, intended for a robust continuous atrial fibrillation (arrhythmia) and heart rate monitoring, which uses an optical sensor (green light) in the bottom of the watch. I'm currently limited to Fossil Gen 5 watch since my Samsung Galaxy Watch 4 won't give software access to its optical sensor.
Having said that, would anybody here like to test the app on their watches? It still needs to be improved and optimized, therefore, feedback would be appreciated. Also, it would run on other watches, however, in that case I would need to know an address of an optical sensor (Fossil Gen5 PPG sensor is 65572) so I could update the app.
I'd like to publish it in Google Play sometime later, have never done it before, it looks quite tricky, however, I filled most of the things there already.
Update: AFib monitor Google Play link

AndriusG said:
Hi all,
I have developed an application for a Wear OS, intended for a robust continuous atrial fibrillation (arrhythmia) and heart rate monitoring, which uses an optical sensor (green light) in the bottom of the watch. I'm currently limited to Fossil Gen 5 watch since my Samsung Galaxy Watch 4 won't give software access to its optical sensor.
Having said that, would anybody here like to test the app on their watches? It still needs to be improved and optimized, therefore, feedback would be appreciated. Also, it would run on other watches, however, in that case I would need to know an address of an optical sensor (Fossil Gen5 PPG sensor is 65572) so I could update the app.
I'd like to publish it in Google Play sometime later, have never done it before, it looks quite tricky, however, I filled most of the things there already.
Click to expand...
Click to collapse
Hi, I have tried your app, it's great that you are doing this.
I have tested it on Ticwatch Pro 3 GPS, it works correctly, shows heart rate and cardiogram for arrhythmias.
When I started the app for the first time it did not ask me to enable sensor permissions nor did it alert me that it did not have the permission enabled when I started monitoring. I activated them manually and it worked as expected.
About the PPG sensor address for TWP3 I don't know which one it is, I guess it is the same as the Fossil Gen5, because it works.

bernarbernuli said:
Hi, I have tried your app, it's great that you are doing this.
I have tested it on Ticwatch Pro 3 GPS, it works correctly, shows heart rate and cardiogram for arrhythmias.
When I started the app for the first time it did not ask me to enable sensor permissions nor did it alert me that it did not have the permission enabled when I started monitoring. I activated them manually and it worked as expected.
About the PPG sensor address for TWP3 I don't know which one it is, I guess it is the same as the Fossil Gen5, because it works.
Click to expand...
Click to collapse
Thank you so much! Didn't expect such a quick feedback!
I'll try correcting the permission part. And it's great to know, that app is compatible with TWP3.
Just in case, keep in mind, that this app runs in the background and should be stopped manually.

Hi, I would like to try this on my Fossil 6. Do you install the .apk on the watch or phone? Sorry, I've never installed outside of PlayStore.

a0323022 said:
Hi, I would like to try this on my Fossil 6. Do you install the .apk on the watch or phone? Sorry, I've never installed outside of PlayStore.
Click to expand...
Click to collapse
You can utilize this method to install this and any apk directly to WearOS.

A slightly updated version of the app, which now includes a request for permission to use BODY_SENSORS.

Gastopako said:
Hi all,
I have developed an application for a Wear OS, intended for a robust continuous atrial fibrillation (arrhythmia) and heart rate monitoring, which uses an optical sensor (green light) in the bottom of the watch. I'm currently limited to Fossil Gen 5 watch since my Samsung Galaxy Watch 4 won't give software access to its optical sensor.
Having said that, would anybody here like to test the app on their watches? It still needs to be improved and optimized, therefore, feedback would be appreciated. Also, it would run on other watches, however, in that case I would need to know an address of an optical sensor (Fossil Gen5 PPG sensor is 65572) so I could update the app.
I'd like to publish it in Google Play sometime later, have never done it before, it looks quite tricky, however, I filled most of the things there already.
Click to expand...
Click to collapse
Privileged Health SDK | Samsung Developers
Aiming to advance innovation and development of new health and wellness solutions
developer.samsung.com
Looks to me like Samsung has their sensor hidden behind this 'privileged' api, might be worth trying to request access?

Actually I was able to find a couple potential addresses for the Samsung sensor when I poked around a bit, were you unable to actually access the hardware even with the address?

mangobot said:
Actually I was able to find a couple potential addresses for the Samsung sensor when I poked around a bit, were you unable to actually access the hardware even with the address?
Click to expand...
Click to collapse
Thanks for the tip. As I matter of fact I did try contacting them in the exact same way you showed, however, I the declined my request without explanation. Maybe it is because I didn't mention any affiliation with business or something like that. I'll try requesting once again.
I also tried reading all the accessible sensors in Watch 4, however, software access to the PPG sensors is restricted.
I guess the sensor you are referring to is this one:
Samsung PPGBatch Sensor /Type_String: com.samsung.sensor.ppg_batch /Type_number: 69668
Galaxy Watch 4 offers wide range of sensors and I have developed quite a lot of various algorithms, which could be implemented, e.g., continuous SpO2 monitoring (red and infrared optical sensors), confirmation of a suspected atrial fibrillation (detected by using green light optical sensor) using an ECG strip.

I tested app on TicWatch E3 and it does work on this watch. However, I noticed that the quality of the Photoplethysmogram signal is worse than what I get in Fossil Gen 5 watch. With Fossil Gen 5 watch, you don't even have to search for a good spot on the wrist, the quality is always good and it is not the case with TicWatch E3. The algorithm in the app won't throw false alarms because of that, the signal quality is constantly monitored, however, with that kind of quality it would be tricky to detect AF if it was present.

I apologize but I would like some help. I have a ticwatch E3. I apparently installed the app using Wear Installer 2. That app indicated that the installation was was successful. However, the app does not appear in my launcher. Is there something else I need to do?

exswim said:
I apologize but I would like some help. I have a ticwatch E3. I apparently installed the app using Wear Installer 2. That app indicated that the installation was was successful. However, the app does not appear in my launcher. Is there something else I need to do?
Click to expand...
Click to collapse
You might want to consider utilizing Bugjaeger Mobile ADB as a really alternative and innovative solution to the problem of sideloading apps on Wear OS devices.

Thanks for the reply. Another question, as I said the Wear Installer 2 indicated that the app was installed. Would this app appear as an app in settings or in the launcher. If not, where is it on my watch?

Gastopako said:
I tested app on TicWatch E3 and it does work on this watch. However, I noticed that the quality of the Photoplethysmogram signal is worse than what I get in Fossil Gen 5 watch. With Fossil Gen 5 watch, you don't even have to search for a good spot on the wrist, the quality is always good and it is not the case with TicWatch E3. The algorithm in the app won't throw false alarms because of that, the signal quality is constantly monitored, however, with that kind of quality it would be tricky to detect AF if it was present.
Click to expand...
Click to collapse
I would like some help. I have a ticwatch E3. I apparently installed the app using Wear Installer 2. That app indicated that the installation was was successful. However, the app does not appear in my launcher. Is there something else I need to do?

exswim said:
Thanks for the reply. Another question, as I said the Wear Installer 2 indicated that the app was installed. Would this app appear as an app in settings or in the launcher. If not, where is it on my watch?
Click to expand...
Click to collapse
It would appear as an app in the launcher.

Hi, I did some updates to the app, mainly in the representation of the heart rate change over time. There are some as to say, drawbacks because for now heart rate values are saved in a local variable, therefore, if app was closed and restarted, the previous heart rate log would not be saved. I also have some thoughts in adding additional screen for the parameters of atrial fibrillation if one was detected, however, still not sure what information (e.g., beginning and the end of the AF episode, duration of the AF episode, etc. ) regarding this would be relevant for an ordinary user. Maybe some of you might have ideas what info would be of utmost relevance for you.

I would love to use this app on my Samsung Watch 5. I hope you succeed in getting access to the sensors on the Samsung Watches. I think your app would be very popular!

Hi, I know it's a tech site but to anyone suffering from atrial fibrillation-one of the most common but least talked about causes is head and neck posture/atlas position, slumped forward posture- very common with the amount of time we spend on our computers- see Dr John Berg youtube channel -
A good chiropractor or acupuncture practitioner can help to correct these abnormal and harmful postures and could possibly save you from surgery or pacemaker..
Don't ignore other causes which are more serious though-especially in the lat 2 years- lots of people are getting abnormal blood clotting since having a certain injection or getting long covid.

mura20 said:
I would love to use this app on my Samsung Watch 5. I hope you succeed in getting access to the sensors on the Samsung Watches. I think your app would be very popular!
Click to expand...
Click to collapse
Thanks! I haven't motivated myself to fill the request for getting the sensor access yet. It is quite complicated. Another thing that I noticed is that the raw green PPG signal from Galaxy Watch 4 and 5 is sampled at 25 Hz. Mine algorithm uses higher sampling frequency. According to the info provided by Samsung, only RED and Infrared PPGs in Galaxy Watch 4 and 5 are sampled at 100 Hz.
I am planning on improving the app by integrating it with Health Connect or with something similar. Currently the app stores, e.g., heart rate data in temporary variables, which are cleared as soon as the app is restarted. Another option was to write data in the main storage; however, data management seems tricky to me, I wouldn't want to deal with databases on my own.

Are you able to get raw RED and IR PPG sensor data (or any of the PPG sensor data)?

Related

Running apps for Gear S

I'm sure that some of us are runners who chose to get the Gear S so that we don't need to carry a smartphone when we go for a run. I've observed that there is some confusion regarding the fitness/running apps that are available for the Gear S. For example, the Samsung S Health app has a "running" mode that allows you to use the built-in GPS (outdoors) and built-in HR sensor on the Gear S while it's on standalone mode. But, this app won't track your pace when you're running indoor on a treadmill.
The Nike+ app can also use the built-in GPS to provide speed/distance information. The Nike+ app seems to be the only app so far that uses the built-in sensor found in the Gear S to estimate your speed when you're on a treadmill. I can't seem to find a way to calibrate this function. Also, I can't seem to find a way to get the Nike+ app to use the built-in HR monitor when I'm running.
Other apps like MapMyRun and Endomondo are simply "companion" apps that require that you run the app on the phone and the Gear S simply becomes an extension of the screen. Users who expect these apps to run in standalone mode (not paired to phone) will be disappointed.
Why can't we get a standalone running app for the Gear S that uses the built-in GPS (outdoor), the built-in sensor to track pace when you're running on a treadmill, and use the built-in HR sensor? Neither the S Health nor the Nike+ does all of that together.
I have the same question, but I'm trying to Google the resolution since I haven't had any luck with folks responding on this forum. I need to find a user forum for the Gear watch that's friendly do doors like me.
gman901 said:
I have the same question, but I'm trying to Google the resolution since I haven't had any luck with folks responding on this forum. I need to find a user forum for the Gear watch that's friendly do doors like me.
Click to expand...
Click to collapse
Not sure what you mean, but the OP is more of a statement and not a question. There is no app that does it all. They all have their positives and negatives.
its Sad that theres no running app development. please some tizen dev port any standalone running app
Endomondo has launched standalone app dedicated only for Sony smartwatch ... any hope to port this app to Gear S ?????
Ooops meant to post this in the Trackwatch thread... but liking the Nike+ app as a stand alone recorder...
sadek169 said:
Endomondo has launched standalone app dedicated only for Sony smartwatch ... any hope to port this app to Gear S ?????
Click to expand...
Click to collapse
I'd love this too, are then any awesome devs out there that could make this happen?
Well, the only way that I found was to move Android port, so I can use some apps like My trails. But as it's under development, it has a lot of bugs and some sensors aren't working by now but will do on a close future (hope so) like heart rate monitor and light sensor, but it's still better than Tizen in my opinion.
Samsung no longer will sync to Nike after a run since Nike update. Disappointing
jabekitten said:
Samsung no longer will sync to Nike after a run since Nike update. Disappointing
Click to expand...
Click to collapse
That's messed up. They created such a nice watch with Samsung Milk + Nike Running. Now they consciously destroyed all of this beautiful features ! WHY WHY WHY?

Trackwatch

Finally a good standalone application to run, unfortunately a fee but it seems better than s-health and nike running
Now free version...
No heartrate? Would be nice if crappy optical heart rate sensor was supported. Would be much nicer if bluetooth heart rate belts were supported! I wonder if its even possible for developers to support heart rate belts, because none of the existings apps support it yet...
Sent from my SGP512 using XDA Premium HD app
download
gmuglia said:
Finally a good standalone application to run, unfortunately a fee but it seems better than s-health and nike running
Click to expand...
Click to collapse
Hi, finally... Where Can I download It. Most beautiful news of the week. Thanks!
hi, I downloaded from Samsung apps gear through gear manager ... it is located in the health and fitness
I would be happy to pay for this as long as some functions are added.
For Android wear there is a "killer app" called Ghost Racer that turns the Sony Smartwatch 3 into a runners favorite.
If this is going to be a "killer app" for runners on the Tizen platform and the Samsung Gear S (1 and 2) especially, some essential things are missing.
First of all - the running results must be able to be uploaded/exported to a popular running service such as runkeeper, strava etc.
More measurements needs to be added such as heart rate (internal or external bluetooth heart rate sensors), cadence and more.
Also - you need to be able to personalize your own running screen for what information you want to see (preferably several screens)
All these things work with Ghost Racer on Android Wear (on Sony Smartwatch 3)
If some of these things are added, this could be a really nice app that I would be glad to pay for it.
Is there an official website for the app or how can we get in contact with the developer?
Ooops - posted this first in the wrong Thread!
I've purchased the Paid App and an trying to figure out if the saved recorded files can be exported. Is anyone here rooted that could tell me whether there are any unique files that are saved to a Data folder? (No data is saved to the internal user storage folders)
While a standalone app that uses the watch's GPS is useful, this is really more of a Beta with very limited functionality. All it can really tell you is time, distance and pace. (And I don't yet know how accurate the watch GPS is going to be on distance). Plus the app turns the screen off immediate on the start of a recording, and only turns back on to displace pace etc. every mile - so pace data is not going to be too helpful. I can see my track on a (Google) map screen, but the track did not appear on my Google map history so there’s no export potential there.
A watch based app that uses the onboard GPS and records time, distance, pace (with configurable updates and audible output), and heart rate and that has exportable data in tcx or txt format is still needed.
But it seems that Nike+ running will work stand alone... so may meet most needs...

[Dev] What's your App request?

Hi everyone!
Developer of Energy Bar here. I recently got the Amazfit Pace, and am pretty excited to make some cool Apps for the watch.
As of now, two ideas:
Access phone contacts and dial them directly from the watch (hear & talk via the bluetooth earphones connected to the phone.)
A new notification system, which will let you read individual messages (Apps like WhatsApp have some of the notifications bundled.) And also ability to reply from watch (extremely small keyboard though.)
I would like to hear your ideas, please suggest something that may benefit all the watch users in general. I wouldn't be able to fulfil any custom App request as of now.
Your ideas may go as crazy as you would like, I will let you know the extend to which it would be technically feasible. The only thing I want to re-emphasize is that, the idea needs to be something that will benefit all the watch users in general.
Also, I do plan to make majority of Apps' feature free to the community, but to be able to afford enough time to make a lot of Apps which leverages full potential of the watch - I would need support through in-app purchases. I would like to know if you would be interested in subscribing to some of the essential Apps or a pack of Apps?
Hello. I have a new watches. I am missing several functions. Posibility to display level of phone battery on watchface, and indication about unread notification(s). I would also aperciate posibility to bring sport activity to background and paralel usage of other applications. However I am afraid that these functions will be dependent on system services.
jan.stanicek said:
Hello. I have a new watches. I am missing several functions. Posibility to display level of phone battery on watchface, and indication about unread notification(s). I would also aperciate posibility to bring sport activity to background and paralel usage of other applications. However I am afraid that these functions will be dependent on system services.
Click to expand...
Click to collapse
Displaying battery level of phone and number of unread notifications sounds good!
But I wonder what's the specific use case of running some other App on the watch while sport activity is running? Could you please elaborate?
jan.stanicek said:
Hello. I have a new watches. I am missing several functions. Posibility to display level of phone battery on watchface, and indication about unread notification(s). I would also aperciate posibility to bring sport activity to background and paralel usage of other applications. However I am afraid that these functions will be dependent on system services.
Click to expand...
Click to collapse
Displaying battery level of phone and number of unread notifications sounds good!
But I wonder what would be a use case for running some App while the sports activity is on the screen of the watch. Could you please elaborate your specific use case?
I would like to record just my touristic trips. I would like to use the watches normally, during the trip - checking weather for example.... I have used Sony SmartWatch 2 for 3 years - I will have some other ideas for sure later when I will have more experiences with Amazfit...
GoPro control app, ios/android music control app, phone book and dial app with headphones, voice recorder - there is mic built in the watch... and continuum transfunctioner Zoltan!
Being able to reply to Text/Gmail messages is #1 for me. Second - remote control of phone's music app.
Thank you for starting this project, I really appreciate your efforts. This watch has one of the best looking design and a decent hardware. I think file manager and ablity to install apk from the watch and an app to push files from phone to the watch would be beneficial.
omarfx said:
Thank you for starting this project, I really appreciate your efforts. This watch has one of the best looking design and a decent hardware. I think file manager and ablity to install apk from the watch and an app to push files from phone to the watch would be beneficial.
Click to expand...
Click to collapse
You can use this file manager http://www.apkmonk.com/app/com.alphainventor.filemanager/
jan.stanicek said:
You can use this file manager http://www.apkmonk.com/app/com.alphainventor.filemanager/
Click to expand...
Click to collapse
Thank you that's working for me. now need to have the ablity to enable unknown sources apk installation and find way to send files to the watch.
jan.stanicek said:
I would like to record just my touristic trips. I would like to use the watches normally, during the trip - checking weather for example.... I have used Sony SmartWatch 2 for 3 years - I will have some other ideas for sure later when I will have more experiences with Amazfit...
Click to expand...
Click to collapse
In earlier fw version was​ even worse. During sport activity, literally you couldn't see time on the, well, watch! Then they added it on the top, as well as battery status. Both too small but at least.
I agree with you, watch is missing multitasking. Going to home screen, using it regularly and track activity in the background. However, I doubt that op can do that without source of the fw.
Sent from my XT1635-02 using Tapatalk
jan.stanicek said:
I would like to record just my touristic trips. I would like to use the watches normally, during the trip - checking weather for example.... I have used Sony SmartWatch 2 for 3 years - I will have some other ideas for sure later when I will have more experiences with Amazfit...
Click to expand...
Click to collapse
By recording touristic trips do you mean activating one of the sports activity? Like Walk? It is possible to enable such a solution, but how good that solution would be, depends on a more defined use case. I will put this on a lower priority list, will check the feasibility a bit later.
eM3ntal said:
GoPro control app, ios/android music control app, phone book and dial app with headphones, voice recorder - there is mic built in the watch... and continuum transfunctioner Zoltan!
Click to expand...
Click to collapse
GoPro control app - have to know if a niche among the niche of Amazfit pace users exist, if there is enough demand - will develop.
Music control, dial - Yes, nice ideas.
Voice Recorder - This App apparently works, if it's missing something specific to our watch, let me know.
kwoodall said:
Being able to reply to Text/Gmail messages is #1 for me. Second - remote control of phone's music app.
Click to expand...
Click to collapse
Sounds good.
omarfx said:
Thank you for starting this project, I really appreciate your efforts. This watch has one of the best looking design and a decent hardware. I think file manager and ablity to install apk from the watch and an app to push files from phone to the watch would be beneficial.
Click to expand...
Click to collapse
That was one of the first thoughts I had, still checking if it's technically feasible to provide such a functionality without root.
Zeljko1234 said:
In earlier fw version was​ even worse. During sport activity, literally you couldn't see time on the, well, watch! Then they added it on the top, as well as battery status. Both too small but at least.
I agree with you, watch is missing multitasking. Going to home screen, using it regularly and track activity in the background. However, I doubt that op can do that without source of the fw.
Sent from my XT1635-02 using Tapatalk
Click to expand...
Click to collapse
Apart from checking on time, do you feel that there is a real need for multitasking while the watch is tracking one of your sports activity? Or is it more like, nice to have thing? If the need of multitasking has some great application/use case, I would like to hear about it - as in, what else would you access while actively participating in a sport?
jagan2 said:
Apart from checking on time, do you feel that there is a real need for multitasking while the watch is tracking one of your sports activity? Or is it more like, nice to have thing? If the need of multitasking has some great application/use case, I would like to hear about it - as in, what else would you access while actively participating in a sport?
Click to expand...
Click to collapse
Well, as mentioned before to use other features of the watch, time, date, weather, notifications​... Notification, for example, will show up during activity and then disappear. No way to check it again. Music player is also not available during some activities. No way to check steps as well.
Of course it's not deal breaker but other watches have that feature and would be nice to have normal watch skin with activity in the background. Especially during walking, sightseeing... Watch can track up to 35h, after all.
Sent from my LG-V940n using Tapatalk
In my opinion, it would be nice to have an app that tells you when your watch loses the connection.
In fact, that was the reason why i bought my first smartwatch, a Sony 2. I was afraid to lose my phone . And it's a pity the actual amazfit doesn't give you this option.
Thanks in advance!!!
I'd say that Huami have purposely restricted background apps in order to maximise battery life.
As far as app requests go: for me it's a podcast app, that's active while running.
My guess is that the easiest way to do this would be that the podcasts would download into the music folder and we could just use the default music player to play them.
Remote camera control, useful for selfies
There are many 5k/10k trainer apps on android/iOS. Is it possible to port one or create some simple to run in background while running activity?
Right now Im using 5k Run-Couch to 5K Walk/Jog interval training. Something similar would be great, no need for some fancy design.
https://play.google.com/store/apps/details?id=com.vandersw.fivekrun
In connection with headphones there could be some beep sound on each interval, no need for vibration.
An editor of watchfaces like those that exist for Android wear would be great, since the edition of watchfaces for this watch is complicated, and there's not much editing freedom...
Enviado desde Z play AOKP mediante Tapatalk
ithosu said:
In my opinion, it would be nice to have an app that tells you when your watch loses the connection.
In fact, that was the reason why i bought my first smartwatch, a Sony 2. I was afraid to lose my phone . And it's a pity the actual amazfit doesn't give you this option.
Thanks in advance!!!
Click to expand...
Click to collapse
That sounds like a good idea, will keep a note of that.
le_lutin said:
I'd say that Huami have purposely restricted background apps in order to maximise battery life.
As far as app requests go: for me it's a podcast app, that's active while running.
My guess is that the easiest way to do this would be that the podcasts would download into the music folder and we could just use the default music player to play them.
Click to expand...
Click to collapse
I will experiment with multitasking, if it seems to work okay, will release an App for that.
axiel7 said:
Remote camera control, useful for selfies
Click to expand...
Click to collapse
Noted.
droidhd said:
There are many 5k/10k trainer apps on android/iOS. Is it possible to port one or create some simple to run in background while running activity?
Right now Im using 5k Run-Couch to 5K Walk/Jog interval training. Something similar would be great, no need for some fancy design.
https://play.google.com/store/apps/details?id=com.vandersw.fivekrun
In connection with headphones there could be some beep sound on each interval, no need for vibration.
Click to expand...
Click to collapse
Porting would essentially mean modifying another developer's work without a permission. So, whatever it is, have to be built from scratch.
Running an App simultaneously with the running activity on foreground may not work well, both the Apps would have to keep tracking your distance etc. So, am afraid that won't be a good idea for now.
But I plan to facilitate multitasking, so that may help in one or the other way.
jagoikki said:
An editor of watchfaces like those that exist for Android wear would be great, since the edition of watchfaces for this watch is complicated, and there's not much editing freedom...
Enviado desde Z play AOKP mediante Tapatalk
Click to expand...
Click to collapse
Will look into it.

Anyone helping building a new companion app to send data to the Stratos/Pace Watch?

Hi there,
i'm trying to build a companion app similar to watchdroid with wich i can send data to the watch and display them on a widget/springboard.
In my case i wan't to have my blood glucose level on my watch as i was used to with my android wear watch.
I have a simply app made with taske wich can read out a json from my nightscout site. This sadly work only via wifi.
Main problem is the bluetooth comunication. i've tried so many simply bluetooth apps and librarys via sideload. I can't even tell how many. Non of them worked out. Only some worked in watch to phone direction but not the other - desired - way. In almost every case, my phone could'nt even find the watch.
But since watch droid got it working, i know there is a way.
There is another way to get data to the watch: the notification system. Since i also could'nt get the notification listener to work on the watch, it is also not a starting point for me.
Last chance i see is automizing watchdroid and sending a file at a regulary scedule and reading this from the widget.
For the moment i just use Notify and fitness cause the Phone notification with my glucose level is persistent and the huami app ignores persistent notifications.
But get a new notification with my glucose level every 5 Minutes. On the phone the notification gets just updated, on the watch i get a new one. Over the day the notification stack gets fuller and fuller...
I'm not talking about geting this into a watchface, thats the next step after the next hundreds of steps.
Any help and tipps are welcome.
When a notification is dismissed on the phone, it should dismiss on the watch.
If you have the source to this app, you could make it dismiss it's notification and send a new one.
Klaus3d said:
Hi there,
i'm trying to build a companion app similar to watchdroid with wich i can send data to the watch and display them on a widget/springboard.
In my case i wan't to have my blood glucose level on my watch as i was used to with my android wear watch.
I have a simply app made with taske wich can read out a json from my nightscout site. This sadly work only via wifi.
Main problem is the bluetooth comunication. i've tried so many simply bluetooth apps and librarys via sideload. I can't even tell how many. Non of them worked out. Only some worked in watch to phone direction but not the other - desired - way. In almost every case, my phone could'nt even find the watch.
But since watch droid got it working, i know there is a way.
There is another way to get data to the watch: the notification system. Since i also could'nt get the notification listener to work on the watch, it is also not a starting point for me.
Last chance i see is automizing watchdroid and sending a file at a regulary scedule and reading this from the widget.
For the moment i just use Notify and fitness cause the Phone notification with my glucose level is persistent and the huami app ignores persistent notifications.
But get a new notification with my glucose level every 5 Minutes. On the phone the notification gets just updated, on the watch i get a new one. Over the day the notification stack gets fuller and fuller...
I'm not talking about geting this into a watchface, thats the next step after the next hundreds of steps.
Any help and tipps are welcome.
Click to expand...
Click to collapse
Hello,
what application do you use to get a notification every 5 minutes ??? you use a FreeStyle Free blood glucose sensor ??? I will be very happy to read you to know if you succeeded !!!
astrarico said:
Hello,
what application do you use to get a notification every 5 minutes ??? you use a FreeStyle Free blood glucose sensor ??? I will be very happy to read you to know if you succeeded !!!
Click to expand...
Click to collapse
Yes, it's freestyle libre with ambrosia blucon nightrider for nfc readout and transmission every 5 min. The app i use is xdrip+.
The notification is persistent to keep the data collector service running, to show the value on the notificatiin icon even on the aod of samsungs.
Klaus3d said:
Yes, it's freestyle libre with ambrosia blucon nightrider for nfc readout and transmission every 5 min. The app i use is xdrip+.
The notification is persistent to keep the data collector service running, to show the value on the notificatiin icon even on the aod of samsungs.
Click to expand...
Click to collapse
ah yes anyway, the price of "ambrosia blucon nightrider" as we say at home "it stings the eyes". before you give me the answer I was wondering how you did to get back the FreeStyle scan, so I understand. on the other hand to use the nightscout, it is a little the course of the fighter ... a lot of account to create. damage that the app glimp or other does not regroup suddenly!
It's currently my intention to build a framework for both phone and watch to allow apps to get data from the internet at some point in the next few months. I'm stuck with work to do at the moment so don't have any time to put towards projects (especially not big ones like that) but in the future - probably
I'd ideally also like to get Android Wear (not Wear OS, it's an old version) working too, to allow at least some companion apps to function (Sleep as Android, Keep etc.). I've got the framework working fine (which does improve app compatibility, but no communication still severely limits what they can do), but the two way Bluetooth connection throws an error that I cannot find any documentation about, so it's on hold for now until I have sufficient time to investigate properly
This would be awesome to have a framework like this. In my case i would'nt even need real internet access, due to the web service is localy provided by the xdrip app. But this would open so many things and possible options to code. Let me know if i could help. I'm also short in time but willing to help.
Getting Android wear working on the pace/stratos would also be great. I tried out sideloading the micro apk for wear of xdrip+ and it worked out better than expected. No crashes from the app and even the integrated watchfaces were selectable. Of course there were no data shown and no low power watchface.
Klaus3d said:
Getting Android wear working on the pace/stratos would also be great. I tried out sideloading the micro apk for wear of xdrip+ and it worked out better than expected. No crashes from the app and even the integrated watchfaces were selectable. Of course there were no data shown and no low power watchface.
Click to expand...
Click to collapse
It might actually be possible to build a newer version of Android, source code exists for the CPU and MIPS sources exist all the way up to Oreo, but again that would take time I don't have (and space for that matter)
Just wanted to let you know, that thanks to edotassi i have a working widget with my blood glucose values on my Stratos.
https://github.com/edotassi/AmazMod
https://github.com/edotassi/AmazModService
Now i'm fine tuning the widget and maybe also the nightscout parts of amazmod. But i'm still learning.
Klaus3d said:
Just wanted to let you know, that thanks to edotassi i have a working widget with my blood glucose values on my Stratos.
Now i'm fine tuning the widget and maybe also the nightscout parts of amazmod. But i'm still learning.
Click to expand...
Click to collapse
Hi, great news. Will this work on Amazfit BIP ?
Since the Bip does not rely on the AmazFit Watch app, i'd say no.
Can you show on the photo the indications of the xdrip on the watch? how it works.
Hi, i'm now trying to integrate quinnys library into xDrip, to make thinks easy and to allow 2 way communication.
Since xDrip is a really big and complex project + i'm a noop i'm having trouble with providing a switch in the menus and finding the right place to start the service from. Maybe someone can help me out again.
I am also really interest of amazfit bit. I saw now, xdrip have one section called "amazfit synk service" look like can connect with this kind of phones. Are there news to see the value on the display?
Tapiocapioca said:
I am also really interest of amazfit bit. I saw now, xdrip have one section called "amazfit synk service" look like can connect with this kind of phones. Are there news to see the value on the display?
Click to expand...
Click to collapse
None of this will work with the Bip, it's too limited
Is there any way to implement the clockscreen or widget from Glimp instead of XDrip on the Stratosphere. I'm getting better use from Glimp and MiaoMiao.
Klaus3d said:
Just wanted to let you know, that thanks to edotassi i have a working widget with my blood glucose values on my Stratos.
https://github.com/edotassi/AmazMod
https://github.com/edotassi/AmazModService
Now i'm fine tuning the widget and maybe also the nightscout parts of amazmod. But i'm still learning.
Click to expand...
Click to collapse
You should ask this the devs of glimp.

[APP] Standalone navigation app for Wear OS!

I made a standalone navigation app for Wear OS! Here's the link to the app: https://play.google.com/store/apps/details?id=uk.co.onibaku.standalonewearmap
Here's the full description on the app so you can get a glance at the features:
Users can type in a location, or long press on the map to input a destination. They can choose to travel via walking, cycling or car.
The app will navigate the user from their current location to the destination using turn-by-turn navigation. Each step is highlighted on the path, with text to show you what action to take, and how long until you reach that step. The map rotates along with the device, so will follow the forward-facing direction of the watch.
The app only needs an internet connection for the initial retrieval of the directions. After that, it solely relies on GPS until the user arrives at the destination.
This (obviously) only works on watches that have GPS.
If you have any suggestions at all, I'd love to know them.
The next feature I plan to implement is importing a GPX file in from Google Drive, so you can navigate a more unorthodox/scenic route, which would suits cyclists. I initially developed this for when I go cycling, as we don't usually want to take the fastest route somewhere.
Let me know if there any burning features that are needed in this, and I'll do my best to deliver. This is a small side-project, so I don't have too much time to work on it, but I find it quite useful personally, and I hope others will, too.
Someone suggested I release a demo version so people can try it and see if they wish to buy it. I have released one here
It only has the dropped pin functionality, and only allows walking as a navigation mode. The zoom is also locked.
Gentatsu said:
I made a standalone navigation app for Wear OS! Here's the link to the app: https://play.google.com/store/apps/details?id=uk.co.onibaku.standalonewearmap
Here's the full description on the app so you can get a glance at the features:
Users can type in a location, or long press on the map to input a destination. They can choose to travel via walking, cycling or car.
The app will navigate the user from their current location to the destination using turn-by-turn navigation. Each step is highlighted on the path, with text to show you what action to take, and how long until you reach that step. The map rotates along with the device, so will follow the forward-facing direction of the watch.
The app only needs an internet connection for the initial retrieval of the directions. After that, it solely relies on GPS until the user arrives at the destination.
This (obviously) only works on watches that have GPS.
If you have any suggestions at all, I'd love to know them.
The next feature I plan to implement is importing a GPX file in from Google Drive, so you can navigate a more unorthodox/scenic route, which would suits cyclists. I initially developed this for when I go cycling, as we don't usually want to take the fastest route somewhere.
Let me know if there any burning features that are needed in this, and I'll do my best to deliver. This is a small side-project, so I don't have too much time to work on it, but I find it quite useful personally, and I hope others will, too.
Someone suggested I release a demo version so people can try it and see if they wish to buy it. I have released one here
It only has the dropped pin functionality, and only allows walking as a navigation mode. The zoom is also locked.
Click to expand...
Click to collapse
This is looking really good. I want true standalone navigation on my Huawei Watch 2 4G. It has a sim so loads the route standalone and seems to be able to do everything expected...i'm trying the demo version now.
One question though...unless i'm missing something..how do you exit the app? I'm currently having to force close it.
(And as a side note have you checked out the Wear OS app Ghostracer? You can import a gpx file and follow your progress on a map on the watch. Maps are downloadable to the watch, although ive never tried that. My watch has a sim so updates the map as im riding using the watches data. Heavy on the battery though.)
ruggs1234 said:
This is looking really good. I want true standalone navigation on my Huawei Watch 2 4G. It has a sim so loads the route standalone and seems to be able to do everything expected...i'm trying the demo version now.
One question though...unless i'm missing something..how do you exit the app? I'm currently having to force close it.
(And as a side note have you checked out the Wear OS app Ghostracer? You can import a gpx file and follow your progress on a map on the watch. Maps are downloadable to the watch, although ive never tried that. My watch has a sim so updates the map as im riding using the watches data. Heavy on the battery though.)
Click to expand...
Click to collapse
I had not realised that the app does not cease to use GPS whilst it is in sleep mode, so I have added a button to exit the app properly when you drag down. I've just released it now.
I have had a look at it, but it doesn't seem to work unless you have an android phone. I am currently looking into offline maps and importing GPX files. Do you know if it does that via the android app, and how it imports it? I was looking to use Google drive, as that seems to be the only viable storage solution supported on Wear atm.
Gentatsu said:
I had not realised that the app does not cease to use GPS whilst it is in sleep mode, so I have added a button to exit the app properly when you drag down. I've just released it now.
I have had a look at it, but it doesn't seem to work unless you have an android phone. I am currently looking into offline maps and importing GPX files. Do you know if it does that via the android app, and how it imports it? I was looking to use Google drive, as that seems to be the only viable storage solution supported on Wear atm.
Click to expand...
Click to collapse
Thankyou for the exit button, works great. Having tested the demo app i'm happy, and I will purchase. One further comment, the battery drain is heavy, as expected. Any chance of an ambient mode while the map is running to save battery? I may be pushing my luck, but I can only ask!
Ghostracer does indeed need a companion Android app on the phone. The gpx file is loaded into the app on the phone (using a file manager) then passed to the Ghostracer app on the watch. Maps are treated the same, but I just use the data from my sim in the watch to load maps as I ride when needed. You can follow a gpx route standalone on the watch in a similar way to following the route on your app. I am not connected to Ghostracer in any way, I just think its a wonderful app for cyclists and runners (within the watches battery limitations). And the free version allows you to test all its features. It might not be right for you, but it was worth a mention based on what you said earlier. (And the map screen has an ambient mode.... )
ruggs1234 said:
Thankyou for the exit button, works great. Having tested the demo app i'm happy, and I will purchase. One further comment, the battery drain is heavy, as expected. Any chance of an ambient mode while the map is running to save battery? I may be pushing my luck, but I can only ask!
Ghostracer does indeed need a companion Android app on the phone. The gpx file is loaded into the app on the phone (using a file manager) then passed to the Ghostracer app on the watch. Maps are treated the same, but I just use the data from my sim in the watch to load maps as I ride when needed. You can follow a gpx route standalone on the watch in a similar way to following the route on your app. I am not connected to Ghostracer in any way, I just think its a wonderful app for cyclists and runners (within the watches battery limitations). And the free version allows you to test all its features. It might not be right for you, but it was worth a mention based on what you said earlier. (And the map screen has an ambient mode.... )
Click to expand...
Click to collapse
Great . I did play around with the ambient mode, but it was just the same as the standard google maps ambient mode. It takes away the turn-by-turn, location, and path. If I could persist these, and set the GPS to update every 30 secs - 1 minute, I'd probably keep it, but I'm not sure how. I'd like to stick in options to set the GPS update frequency, or have the screen turn back on only for upcoming turns.
That's really cool! That's essentially what I would have liked on my watch but standalone. I really don't like the idea that you HAVE to use a companion app, especially when it's not available for iOS. I know they're competing watches, but I love the price point of android watches compared to Apple's, and their features shouldn't pale in comparison by way of hardware.
How does their ambient map work, if you don't mind me asking? I'd like to look into it. What does their paid version allow you to do? I only had a paid version before someone mentioned to put the free one on, just to give people a flavour of it. I tried to emphasise the main bit, which was the turn-by-turn navigation. The search and other transportation modes were secondary.
Cheers for the feedback and suggestions, though! I really do appreciate it! Let me know if there's anything else you'd like.
Gentatsu said:
Great . I did play around with the ambient mode, but it was just the same as the standard google maps ambient mode. It takes away the turn-by-turn, location, and path. If I could persist these, and set the GPS to update every 30 secs - 1 minute, I'd probably keep it, but I'm not sure how. I'd like to stick in options to set the GPS update frequency, or have the screen turn back on only for upcoming turns.
That's really cool! That's essentially what I would have liked on my watch but standalone. I really don't like the idea that you HAVE to use a companion app, especially when it's not available for iOS. I know they're competing watches, but I love the price point of android watches compared to Apple's, and their features shouldn't pale in comparison by way of hardware.
How does their ambient map work, if you don't mind me asking? I'd like to look into it. What does their paid version allow you to do? I only had a paid version before someone mentioned to put the free one on, just to give people a flavour of it. I tried to emphasise the main bit, which was the turn-by-turn navigation. The search and other transportation modes were secondary.
Cheers for the feedback and suggestions, though! I really do appreciate it! Let me know if there's anything else you'd like.
Click to expand...
Click to collapse
Ghostracers ambient map is black background with white markings until you lift your wrist...but that might not work when using your app while driving (watch off the wrist?).
I've now purchased your app (Google made that hard work!)...all still good. One question...when I zoom the map in the map un-zooms straight back. Any way to make the zoom stick?
ruggs1234 said:
Ghostracers ambient map is black background with white markings until you lift your wrist...but that might not work when using your app while driving (watch off the wrist?).
I've now purchased your app (Google made that hard work!)...all still good. One question...when I zoom the map in the map un-zooms straight back. Any way to make the zoom stick?
Click to expand...
Click to collapse
Do the markings include the path/trail? I've used the black background one before, and the building outlines are (kinda) white. Yeah, I do have my watch affixed to my handlebars on my bicycle.
Great - Thanks! It's much appreciated! How come it was hard work, if you don't mind me asking? Ah, yep. That was one of the first things I forgot to change! I completely forgot about it! I've made it so that if you zoom/pan, it'll stick unless you press the "my location" button again.
Huawei watch 2 built-in GPS not working anymore
ruggs1234 said:
Thankyou for the exit button, works great. Having tested the demo app i'm happy, and I will purchase. One further comment, the battery drain is heavy, as expected. Any chance of an ambient mode while the map is running to save battery? I may be pushing my luck, but I can only ask!
Ghostracer does indeed need a companion Android app on the phone. The gpx file is loaded into the app on the phone (using a file manager) then passed to the Ghostracer app on the watch. Maps are treated the same, but I just use the data from my sim in the watch to load maps as I ride when needed. You can follow a gpx route standalone on the watch in a similar way to following the route on your app. I am not connected to Ghostracer in any way, I just think its a wonderful app for cyclists and runners (within the watches battery limitations). And the free version allows you to test all its features. It might not be right for you, but it was worth a mention based on what you said earlier. (And the map screen has an ambient mode.... )
Click to expand...
Click to collapse
Hi ruggs1234, it was a long time since you wrote your experience with this app. I downloaded the demo today and I tested it. Looks like since last Google's update, the huawei watch 2 doesn't use its built-in standalone GPS. Please, would you mind to check whether you are having this problem now? The only way I got it work was by connecting the watch to a phone through Bluetooth.
Kind regards, Angel
angelrc96 said:
Hi ruggs1234, it was a long time since you wrote your experience with this app. I downloaded the demo today and I tested it. Looks like since last Google's update, the huawei watch 2 doesn't use its built-in standalone GPS. Please, would you mind to check whether you are having this problem now? The only way I got it work was by connecting the watch to a phone through Bluetooth.
Kind regards, Angel
Click to expand...
Click to collapse
Hello Angel,
The app still works ok on my watch, I tested it yesterday.
With my phone switched OFF I use my watches inbuilt sim to start the route (the app needs data to download the initial route, it can use the connected mobile but mine was switched off). I then switch off the sim in my watch and follow the route using only the gps in the watch. The app worked as it always has.
HOWEVER, my watch isn't running the latest version of Wear OS (it's running Wear OS 2.0, Home app 2.16). I never update anything Google if i'm not forced too, their updates often break more things than they fix. Everything I use on the watch works great and i'd like it to stay that way....
Hi,
well, I gave it a test (full paid version) - TicWatch 3 Pro 4g/LTE (all up to date). It doesn't work. All tested in standalone mode (no phone involved).
- app crashes when there is no GPS fix (GPS is on, but no fix yet)
- when I set an route to navigate (pin or search) it just endlessly shows progress circle and nothing else happens (GPS on with fix, LTE on and working)
So...
BR, Doman.
I installed the Demo version on my ticwatch 3 pro gps (updated everything to current versions and no modifications (yet))
App is starting, map is not showing, just the gps location button on the left and a white/grey screen. I can pin a location on the white screen and its actually getting a location next to me and tries to route there - but without any map showing.
Any app for Gear S3 ?

Categories

Resources