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

html - How to set bootstrap input responsive width? -

javascript - Highchart x and y axes data from json -

javascript - Get js console.log as python variable in QWebView pyqt -