Android Question Change ownership of a label from a different main

emvpic

Member
Licensed User
Longtime User
Hello, I want to change the color property of a label that is in the main4 from the main1 and I do not know how to do it. I have tried several things but I can not. It is very simple in principle, but I search and I can not find the solution.
 

emvpic

Member
Licensed User
Longtime User
main 1 is an activity
main 4 is another activity
I want from the activity "main4" to change the color of a label that is in the activity "main1". It is possible to do it without using callsubdelayed. Because I do not want to change activity to do this, it's like doing it imperceptibly, as in the background. I do not know how to make the activity "main1" and the activity "main4" are working at the same time as if they were 2 different processes that are running at the same time. I do not know if I explain myself very well. I need some basic example to start knowing what I have to do.
With Callsubdelayed, I leave the activity I'm in and I do not want that.
Thank you for your contributions.
 
Upvote 0

Cableguy

Expert
Licensed User
Longtime User
Use a global to hold the color, and use it on activity_resume
 
Upvote 0
Top