User Activity

Hello,I'm trying to comunicate with backend. In particular, I created a variable in the main.c file and I would like the variable to generate events (for example image change) in my graphic project.. Is there anyone who has a solution? Thank you