Skip to content

example of calling a function and a variable #8

@RolfHut

Description

@RolfHut

I am trying to change the app to not work with the tinker firmware, but with my own firmware, which has different functions and variables made available to the cloud. However: in the app, the whole idea that this works towards tinker, and the idea of working with pins is very hard (for me...) to separate from the clean API.

Can anyone give me a short tutorial / example on how to:
-add a button on the main screen that calls a function on my core. (I got this working, but hacked a lot to get there, not a "clean" solution.
-add a button that, when clicked, gets a variable (String in my case) from the Core and displays it. This is the hard part for me: how to configure the different Receivers etc.

mind you: this is my first android app that I am working on, so don't be to harsh... thanks

Rolf

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions