It's only deprecated because it's better to use SDK_INT if your
minSdkVersion is >= 4.

On Fri, Nov 27, 2009 at 3:23 PM, patrick <patrick.boul...@gmail.com> wrote:

> be aware that android.os.Build.VERSION.SDK is deprecated and
> android.os.Build.VERSION.SDK_INT only available in level 4.
>
> On Nov 26, 8:16 pm, Agus <agus.sant...@gmail.com> wrote:
> > thanks
> >
> > On Thu, Nov 26, 2009 at 10:55 AM, Mark Murphy <mmur...@commonsware.com
> >wrote:
> >
> > > Agus wrote:
> > > > How to get the highest API level supported by the device?
> >
> > > android.os.Build.VERSION.SDK.
> >
> > > --
> > > Mark Murphy (a Commons Guy)
> > >http://commonsware.com|http://twitter.com/commonsguy
> >
> > > _Beginning Android_ from Apress Now Available!
> >
> > > --
> > > 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+unsubscr...@googlegroups.com<android-developers%2bunsubscr...@googlegroups.com>
> <android-developers%2bunsubscr...@googlegroups.com<android-developers%252bunsubscr...@googlegroups.com>
> >
> > > For more options, visit this group at
> > >http://groups.google.com/group/android-developers?hl=en
> >
> >
>
> --
> 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+unsubscr...@googlegroups.com<android-developers%2bunsubscr...@googlegroups.com>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to