You can read a byte array via an inputstream using something like "myclass.getClassLoader().getResourceAsStream(imagePath)" where imagePath is the path to the image inside the jar.
On Jan 15, 6:05 am, mscwd01 <[email protected]> wrote: > Hey, > > I realise the correct way to load an image is from res/drawable but > imagine that was not a possibility. If you had to load an image from > an attached jar file, how would one achieve it? > > Many thanks
-- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

