Tuesday, June 14, 2011

[android-developers] Reading from CERT.RSA from META-INF directory

Is it possible to read files in the META-INF directory such as the
CERT.RSA file?

I have tried the following:

AssetFileDescriptor afd = am.openNonAssetFd("META-INF/CERT.RSA");

but I get the exception:

java.io.FileNotFoundException: This file can not be opened as a file
descriptor; it is probably compressed


If that file is really compressed, is there a way to still open it for
read access?

Thanks,
Nate

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment