[android-developers] Re: Access resources from another application

2010-04-13 Thread Camilo Almendra
Hi Romain, I have read this thread, and tried to access a string resource from a System application from my Application. I'm trying to access a string resource inside com.android.settings, the "settings_label" resources. Is that possible? I tried to put something like this in the layout/myfile.

[android-developers] Re: Access resources from another application

2009-01-28 Thread Mark Murphy
Romain Guy wrote: >> One application cannot access the Java code or resources from another >> application, at least at runtime. > > Actually, you can. That's what Home does for shortcuts for instance :) > But to do this you need the package name and the resource id within > the target package. A

[android-developers] Re: Access resources from another application

2009-01-28 Thread Romain Guy
> One application cannot access the Java code or resources from another > application, at least at runtime. Actually, you can. That's what Home does for shortcuts for instance :) But to do this you need the package name and the resource id within the target package. -- Romain Guy Android framew

[android-developers] Re: Access resources from another application

2009-01-28 Thread Mark Murphy
Bamboo wrote: > Sorry, I don't think I explained very clearly, the activity that I am > extending from resides within a different application. I'm not sure how you can "extend" an activity from another application. Are you saying that CustomActivity resides in one APK and you are subclassing it

[android-developers] Re: Access resources from another application

2009-01-28 Thread Bamboo
Sorry, I don't think I explained very clearly, the activity that I am extending from resides within a different application. So I want to access the resources from that application as well. Give me a shout if that is still unclear On Jan 28, 7:19 pm, Mark Murphy wrote: > Bamboo wrote: > > I have

[android-developers] Re: Access resources from another application

2009-01-28 Thread Mark Murphy
Bamboo wrote: > I have created a subclass of Activity, 'CustomActivity', that > overrides the onCreateOptionsMenu and onOptionsItemSelected methods. > > In a couple of other applications I have extended this subclass to > provider a common menu for each activity. Is it still possible to > access