You can only easily get targetSdkVersion, from here:
http://developer.android.com/reference/android/content/pm/ApplicationInfo.html#targetSdkVersion

There generally isn't a reason to what minSdkVersion.  (Or really
targetSdkVersion unless you are writing compatibility code within the
platform.)  Why are you looking for it?

On Thu, Mar 22, 2012 at 6:37 PM, exiquio <[email protected]> wrote:

> I see that almost everything from an apps AndroidManifest.xml file get be
> retrieved programmatically. What I do see is how to pull the apps min and
> max API levels for the SDK as in:
>
>     <uses-sdk android:targetSdkVersion="15" />
>     <uses-sdk android:minSdkVersion="7" />
>
> Is it possible and can anyone point me in the right direction?
>
> --
> 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<[email protected]>
> To unsubscribe from this group, send email to
> android-developers+​[email protected]<android-developers%[email protected]>
> For more options, visit this group at
> http://groups.google.com/​group/android-developers?hl=en<http://groups.google.com/group/android-developers?hl=en>




-- 
Dianne Hackborn
Android framework engineer
[email protected]

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

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