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.
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
> 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
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
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
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
6 matches
Mail list logo