On Thursday, April 5, 2012 10:45:55 AM UTC-4, MagouyaWare wrote: > > I need to retrieve the minSdkVersion value from AndroidManifest.xml from a >> java class. >> > AFAIK there is no way to get that... >
If you really want to you can find your own apk, open it, and decompile the binary manifest (there's code for interpreting it floating around the web). However there's no guarantee the format (or possibly visibility) might not change at some point. There's probably a better way to solve your problem - perhaps a build script that sets this and also a more accessible flag? -- 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

