Apply an hour and minute integer variable to the time picker with a bluetooth module and an arduino?

Hello,

I try to use "SetTimeToDisplay" to change the time of my time picker, the time changes well but the problem is that I do not know how to validate the order.

Because yes, I tried this:
image

So once the time has been received by bluetooth and the hour and minute value retrieved, I put them in "SetTimeToDisplay", then I open the time picker and I see that the time is set as I want it but it does not 'is not validated by "OK".

I also see that the text of my time picker has not changed, this is what also shows me that it was set but not validated.

Hope I made myself understood, thank you all.

I don't understand? you might want to elaborate on this...

EDIT: to ckeck, which values will be used for the SetTimeToDisplay method, use Do it to debug your blocks, see also tip 4 here App Inventor: How to Learn | Pura Vida Apps
see also Live Development, Testing, and Debugging Tools

you might want to set the text in the AfterTimeSet event

Taifun


Trying to push the limits! Snippets, Tutorials and Extensions from Pura Vida Apps by icon24 Taifun.