Observable and android apps

Hello everyone,

I apologize in advance, as I am a beginner at everything, specially app development. I have been tasked at work to create an android mvp app. This should have a button and show charts (basically a dashboard) from data is pulling via bluetooth from a wearable we make (for now I only got the button working, xd). I have used observablehq notebooks before, and I had very good experiences.

Would Observable provide a good solution to the graphical problem? Is there a way to easily implement charts when on-click from a Kotlin compose app?

Thanks in advance

Hi Afganitia.

Observable Notebooks are a hosted web platform, and so it would be difficult to integrate them directly into an Android app. Perhaps you could embed a notebook with a web view in the page, and interact with it via post message APIs, but I think that might be hard to arrange.

Observable Framework might work a little better for running in a web view, since you have more control over the generated pages, and you can include the files in the app directly. It still won’t be easy to interact with from an on-click handler in a Kotlin app though.

As much as I like Plot and D3, I’d recommend looking for Kotlin charting libraries that are targeted at Android development instead.