minSdkVersion isn't exposed; it is just used by the package manager to
determine whether it can install an app.  So you can assume it is not
smaller than the current SDK version.

On Wed, Aug 5, 2009 at 7:46 AM, Muthu Kumar K. <[email protected]> wrote:

>
> Hi,
> I know we can get the application version name and id from
> PackageManager. But i want to get the minSDKVersion detail from the
> manifest file. Now I am able to get the device SDK version but still
> searching for minSDKVersion detail.
>
> Thanks,
> Muthu Kumar K.
>
> On Aug 5, 3:20 pm, Jeff Sharkey <[email protected]> wrote:
> > You can read it out through PackageManager.  Here's a quick example of
> > how I'm reading this in ConnectBot:
> >
> > http://code.google.com/p/connectbot/source/browse/trunk/connectbot/sr...
> >
> > j
> >
> > On Tue, Aug 4, 2009 at 11:24 PM, Muthu Kumar K.<[email protected]>
> wrote:
> >
> > > Hi All,
> > > I am trying to get the application version which is mentioned in
> > > AndroidManifest.xml
> > > How can i get this detail? Please suggest me.
> >
> > > Thanks in Advance,
> > > Muthu Kumar K.
> >
> > --
> > Jeff Sharkey
> > [email protected]
> >
>


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