If I am depending on a third-party jar, such as libphonenumber.jar 
(http://code.google.com/p/libphonenumber/), I need to include both its 
.class files and its resources in the APK. (The jar contains a directory of 
data files in com/google/i18n/phonenumbers/data that are loaded in code via 
Class.getResourceAsStream().) The .class files appear to end up in 
classes.dex, but the resources end up in a separate top-level directory in 
the APK.

This seems to happen automatically when I build my APK using Ant, but I'm 
trying to reproduce the build process from the command line and I'm not 
seeing where this happens (I'm running ant with -v to try to figure it out).

Where is the step that identifies these third-party resources and pulls 
them out?

Thanks,
Michael

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