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 custom Bootstrap grid height? -

javascript - pass values from mssql to views in node -

javascript - Understanding ExtJS Framework Syntax -