Jose Luis Montes wrote:
> Hello!
> 
> maybe this question is too easy but I can't find the solution :S
> 
> how may I know the android version in which my app is running from
> source code; i want to know if it is 1.5, 1.6, 2.1 (ecclair), 2.2 (froyo).

Look at android.os.Build.VERSION.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android Consulting: http://commonsware.com/consulting

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