TheLastProject
Member since Jul 2022 • Last active Dec 2022Most recent activity
-
-
-
Do you really need to send barcodes from Android to Bangle each time a user wants to show a barcode in a store?
Well, it seems like the best user experience as it allows you to keep managing your loyalty cards on your phone instead of having to duplicate the cards you care about.
Maybe you want to do something with http-requests? There's some info about that here as well.
That is an option, but intents are the more "native Android" option. With intents I wouldn't have to have a long-running webserver process and Android natively supports shielding intents behind permissions so only apps you've given the relevant custom permission can call the intent (Gadgetbridge would be one of those apps).
Sending intents from android to Bangle.js is possible.
Thanks, I had trouble finding anything like this in the documentation. So,
com.banglejs.uart.tx
it is. I suppose I could send an intent with a "callback intent name", so non-Bangle.js watches could easily relate to their intent.This could work, thank you :) Lot of work and I have other tasks to complete first, but I have a route to explore now :)
-
Will Bangle JS screen resolution 176x176 enough to show a barcode?
Well, it'll be small, but I'd hope so. I am carefully optimistic seeing how clear the screen is.
why do you need to send a barcode multiple times? Load that into the watch once and then just show.
I'm not completely sure what you mean here, could you elaborate?
-
Hey everyone,
I'm the developer of Catima, an Open Source loyalty card app for Android. People have been asking for WearOS support, but I am kinda not looking forward to supporting only proprietary platforms, so I've been trying to figure out if I can support Bangle.js instead.
Specifically, I want to support getting a list of your loyalty cards and when clicking a card show the barcode. This would need at least some kind of 2-way communication and I was wondering if it's possible to:
- Either send a result to an intent back to Bangle.js (so you could start an intent for GET_CARD_LIST and do something with that data)
- Or send data through intents to Bangle.js through Gadgetbridge asynchronously by calling some intent that will make Gadgetbridge forward data to Bangle.js
- Do something completely different altogether
Is this possible? And if data is sent back somehow, is it possible to send an image file back so that the Bangle.js won't need any code to render barcodes itself?
Thanks in advance for any answer :)
P.S.: Is there any reason why the forum doesn't have a valid SSL certificate? Could this be fixed by any chance?
- Either send a result to an intent back to Bangle.js (so you could start an intent for GET_CARD_LIST and do something with that data)
I haven't made any progress on this myself. However, the Gadgetbridge team passed by and started doing https://codeberg.org/Freeyourgadget/Gadgetbridge/pulls/2953, which hopefully helps.