Skip to content

Android HomeScreen Widget #2316

Answered by freakboy3742
Korbi-code asked this question in Q&A
Discussion options

You must be logged in to vote

There's no cross-platform Toga API for writing a Home Screen widget. However, almost any platform-specific API can be accessed via the bridging layer that Toga uses, so it might be possible to write one.

As for whether BLE can be accessed - again, there's no cross-platform BLE layer in Toga at present, so you'd need to wrap a platform-specific BLE library or make calls on native BLE libraries.

I can't say I know enough about Android's capabilities in this space to know whether what you're proposing (a widget that runs logic when not active is possible). You'll need to research the native capabilities of Android to establish what is possible, and how to implement it.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Korbi-code
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants