I need to retrieve minSdkVersion from AndroidManifest.xml programmatically. I need to enable a flag based on its value. Is there no way to do it?
On Saturday, March 24, 2012 2:50:22 AM UTC+5:30, Chris Stratton wrote: > > On Friday, March 23, 2012 2:50:13 PM UTC-4, Kostya Vasilyev wrote: >> >> Perhaps a better test would be to check for undocumented APIs that are >> known to have disappeared in a particular Andorid version, but just >> collecting the data for this type of checking is going to be a large task. >> > > Statically cataloging the utilized APIs sounds difficult. Or impossible, > if reflection is used (as it sometimes has been for hidden APIs). Then > there are native code issues, places where developers have resorted to > underlying linuxisms to accomplish things that are poorly or intentionally > unsupported by the platform, etc. In total, predicting if a given APK will > fail on a given version (/build/device) sounds pretty hard. > -- 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

