hi,
I want to know whether can i access other application's resources like
application's buttons,views etc from another application. I tried the
following:
res = pm.getResourcesForApplication("com.example");
int i = res.getIdentifier("button1", "id", "com.example");

But the problem is,eventhough i am getting the id properly, i am not
able to access that particular view. For Ex:
In one application i have a button, and from other application i want
to alter the button's text..how can i achieve this? What permissions
do i need to give?
And in the example code above what i can do with that id if its not
possible to directly alter the view in original application?

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to