I have a service that is working in the background - SERVICE A. When I open an activity - ACTIVITY A, I want this service to change the text that is displayed on the editText field of this ACTIVITY A. I thought that maybe if I get the context of the opened activity then I will be able to use and work on its Views. Is it possible?
Also a related question: If I don't have the name of the field, can I use some loop to run and search for all the views in the activity and get its properties?