Latimerius,
Do you mean something like this? (I ripped this from another site)
Resources res =
context.getPackageManager().getResourcesForApplication(com.example.foo)
I was doing something very similar already (posted below), though thought it
was a bit of a hack.
final String packName =
RichardC looking through my phone using astro file manager, I can't find any
apps that have been installed? Is that because I am not rooted?
What folder would/should they be in if I can see them?
Or do you mean the apk is readable before its installed? In that case, how do
you save an apk from
RichardC looking through my phone using astro file manager, I can't find any
apps that have been installed? Is that because I am not rooted?
What folder would/should they be in if I can see them?
Or do you mean the apk is readable before its installed? In that case, how do
you save an apk from
On Wed, Jan 2, 2013 at 2:20 AM, Russell Wheeler
russellpeterwhee...@gmail.com wrote:
Latimerius,
So how do you directly access them from the assets folder?
You have to know the name of the package whose images you want to use but
that shouldn't be a problem in your case if I understand
Using the package name and a resource ID you can load resources from
another APK. That's how Launcher loads icons, strings and widget resources
for instance. All the APIs you need are in the Resources class if I recall
properly.
On Jan 1, 2013 5:25 PM, Russell Wheeler russellpeterwhee...@gmail.com
If I wish to use images stored in another app, that I've written, what is
the best way to do this?
Content provider or directly accessing the res folder?
Thanks in advance
Russ
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to
On Tue, Jan 1, 2013 at 6:08 PM, Russell Wheeler
russellpeterwhee...@gmail.com wrote:
If I wish to use images stored in another app, that I've written, what is
the best way to do this?
Content provider or directly accessing the res folder?
I do almost the same, except that my images are in
Latimerius,
So how do you directly access them from the assets folder? Doing it this
way, are the images available to anyone who has root access? i.e. can they
steal your images?
Why do you use assets? For ease, or for some other reason? I thought it
would be better to have them in the res
As my previous question seems to have got hijacked by someone else I'll ask
again, and hopefully get additional responses.
I have included my original question plus latimerius' reply, and then my
subsequent reply...
On Wednesday, January 2, 2013 1:20:30 AM UTC, Russell Wheeler wrote:
Latimerius,
So how do you directly access them from the assets folder? Doing it this
way, are the images available to anyone who has root access? i.e. can they
steal your images?
APKs are world readable
Why do you
10 matches
Mail list logo