Hi,

I need to add support for a charset which is not natively supported by
Android. Support for new charsets can be added by implementing a
CharsetProvider. When a Charset is needed which is not natively
supported, the system scans the classpath for the file
java.nio.charset.spi.CharsetProvider in the META-INF/services/
directory. If I manually add this directory and file to the META-INF
directory of the generated APK file (using a zip app), my Android app is
able to find the CharsetProvider so the procedure works.
My question now is, how can I add this file to META-INF/services/ dir of
the APK while building the app with Eclipse?
Adding the file to the assets directory does not work because the file
then gets placed in /assets/META-INF/services and not in META-INF/services.

Is this possible?

Kind regards,

Martijn Brinkers

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