Hi,

I've been trying to create (and include in a new application) a JAR
file, I've seen all the information on the web regarding how to do
this in Eclipse. All seems to go well and I can add my newly created
JAR and even debug into it from an app that I've added it to. The
problem I am having is that the R.Java file that is included in the
JAR (from my original app that I generated the JAR from) seems to
point to rubbish/incorrect data when I run the app.
I have a couple of images and text files that I need to reference from
within my JAR and I am using the usual 'R.raw.settings' etc and it
seems to pickup the correct value from the R.Java that gets included
in the JAR. I'm under the impression that these values are no longer
valid when the JAR is included in the new application and it's
returning data from some random place?

Does anyone happen to know how I can create a JAR file that I can
include resources in and how to reference them etc? I'm sure this must
actually be possible as Android.jar contains a number of images that
must be used internally?

Thanks,
Steve


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to