I managed to find the way that my program would record a string using "Shared Preferences" and then I managed to find the way that my program runs in the background, so I would ask if there is a way to: pseudocode:
Activity see = (Activity) find ();
if (There's ==> see.EditText)
{
see.EditText.append("hello");
}
so my program when detects that there's an EditText in the application you are using(like messanger) write "hello" (precisely add Text ==> append)
There's a way to accomplish that?