Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
App in the background
#2
(11-27-2022, 01:10 PM)robert4you Wrote: The application is running in the background or not?
How to make a button to connect and disconnect mqtt server?

1st - Yes, there are background tasks available in the Widget Selector.  I have tested this with a the random number generator on one device to publish via MQTT, and display it on another device subscribing to that topic, which keeps displaying the random number updates even when VirtuinoIoT is in the background on publishing device.
EDIT - I have noticed delays and eventual stop of updated data after a few seconds in background, or immediately once the publishing device has gone into sleep (AKA home screen locked).  Once I unlock the screen and bring VirtuinoIoT to forground the random counter starts updating again.  Not sure if this is a VirtuinoIoT issue with background operation or something with how I have set up my phone. 

2nd - That would be done via the Connect/Disconnect option in Menu... the three dots in the upper right corne of the Virtuino screen.
Reply


Messages In This Thread
App in the background - by robert4you - 11-27-2022, 01:10 PM
RE: App in the background - by Gunner - 11-29-2022, 10:48 AM
RE: App in the background - by robert4you - 11-29-2022, 10:53 PM
RE: App in the background - by iliaslamprou - 12-02-2022, 10:20 PM
RE: App in the background - by robert4you - 12-03-2022, 07:06 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)