java - How to set value in text view from other Android app -


i need set value in app instaled in devise other app or service or broadcast

is homework...

example first app package

com.example.example1 

second app package

com.example.example2 

my textview id in first app

r.id.textview 

in activity of application want should make textview this:

textview = (textview) findviewbyid(r.id.textview); 

then after in same application call:

textview.settext("text want"); 

if that's not you're looking please expand more on want do.


Comments

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -