Pebble: Support reporting connection state to PebbleKit Apps #130

Closed
opened 6 years ago by ashimokawa · 13 comments
Owner

Some PebbleKit Apps such as "Canvas for Pebble" and "Push to Pebble" (any FOSS Apps???) request connection state though a content provider for which the official Pebble App is the authority.

To make them work, we must become the content authority for com.getpebble.android.state or com.getpebble.android.basalt.state which unfortunately would make Gadgetbridge mutual exclusive with the official Pebble App. While I personally don't care, it might scare off new users wanting to try both.

An alternative solution suggested by @danielegobbetti would be to build a new optional App which contains only the content authority and would communicate with Gadgetbridge. That App would also be mutual exclusive with the official App. That way users could choose to have Gadgetbridge with limited PebbleKit support (like it is now), or full support when removing the official App in favour of the optional to be created addon App.

Some PebbleKit Apps such as "Canvas for Pebble" and "Push to Pebble" (any FOSS Apps???) request connection state though a content provider for which the official Pebble App is the authority. To make them work, we must become the content authority for com.getpebble.android.state or com.getpebble.android.basalt.state which unfortunately would make Gadgetbridge mutual exclusive with the official Pebble App. While I personally don't care, it might scare off new users wanting to try both. An alternative solution suggested by @danielegobbetti would be to build a new optional App which contains only the content authority and would communicate with Gadgetbridge. That App would also be mutual exclusive with the official App. That way users could choose to have Gadgetbridge with limited PebbleKit support (like it is now), or full support when removing the official App in favour of the optional to be created addon App.
glitchphan commented 6 years ago (Migrated from github.com)
Poster
Owner

I don't normally add pics to my contacts, but I added a test one with a random picture. I see the Pebble Dialer incoming call screen with name and phone number in small font, but no pics other than the button icons. I like Pebble Dialer because it gives the option for different button actions. My middle button answers with short press, answers with speakerphone on long press, and both top and bottom will mute with short press and decline with long press. There's supposed to be a reject with SMS option, but that doesn't seem to work either. And of course when I set Phone Calls to always, incoming calls were no different from before, just showing the phone icon with the name and accept/decline buttons.

I don't normally add pics to my contacts, but I added a test one with a random picture. I see the Pebble Dialer incoming call screen with name and phone number in small font, but no pics other than the button icons. I like Pebble Dialer because it gives the option for different button actions. My middle button answers with short press, answers with speakerphone on long press, and both top and bottom will mute with short press and decline with long press. There's supposed to be a reject with SMS option, but that doesn't seem to work either. And of course when I set Phone Calls to always, incoming calls were no different from before, just showing the phone icon with the name and accept/decline buttons.
Poster
Owner

@glitchphan
You mean without Pebble Dialer you have the option to accept a call?
Didn't know that, I only have the option to decline on FW 2.9.1

@glitchphan You mean without Pebble Dialer you have the option to accept a call? Didn't know that, I only have the option to decline on FW 2.9.1
glitchphan commented 6 years ago (Migrated from github.com)
Poster
Owner

Oops, you are right, only decline button.

Oops, you are right, only decline button.
Owner

The app mentioned in #208 (FOSS) uses this method, and won't deliver data to the pebble through gadgetbrige.

The app mentioned in #208 (FOSS) uses this method, and won't deliver data to the pebble through gadgetbrige.
lu-x commented 6 years ago (Migrated from github.com)
Poster
Owner

Thanks @danielegobbetti for investigating. Is this likely to be solved in the near future? To be honest, i bought my pebble just for getting runnerup data onto my wrist;)
Anyway thanks for your work!

Thanks @danielegobbetti for investigating. Is this likely to be solved in the near future? To be honest, i bought my pebble just for getting runnerup data onto my wrist;) Anyway thanks for your work!
Poster
Owner

Yes but only if you promise to never file an issue that complains about Gadgetbridge being unable to install while the official app is installed.

Yes but only if you promise to never file an issue that complains about Gadgetbridge being unable to install while the official app is installed.
lu-x commented 6 years ago (Migrated from github.com)
Poster
Owner

Agreed.

Agreed.
Poster
Owner

I implemented a fake content provider which always reports that a pebble is connected (even if is not)
This makes runnerup work.
Its a dirty hack though.

I implemented a fake content provider which always reports that a pebble is connected (even if is not) This makes runnerup work. Its a dirty hack though.
lu-x commented 6 years ago (Migrated from github.com)
Poster
Owner

Great, thanks!:)

Great, thanks!:)
Owner

@kas70 can you perhaps help with #188 ?

@kas70 can you perhaps help with #188 ?
lu-x commented 6 years ago (Migrated from github.com)
Poster
Owner

I don't think so as i have a pebble classic, which doesn't support pebble health.

I don't think so as i have a pebble classic, which doesn't support pebble health.
Owner

thanks nevertheless :)

thanks nevertheless :)
Poster
Owner

I am closing this because it is implemented and will be in 0.7.3

I am closing this because it is implemented and will be in 0.7.3
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.