How to get android sdk version number??

Put your problem here if it does not fit any of the other categories.

How to get android sdk version number??

Postby Chitra » Tue Jun 29, 2010 10:10 am

Hi,
How to get android sdk version number??
I mean, I want to know mobile model OR mobile version number while my application is running...
Thanks,
Chitra
User avatar
Chitra
Master Developer
Master Developer
 
Posts: 213
Joined: Mon Mar 01, 2010 7:59 am
Location: Bangalore

Top

Re: How to get android sdk version number??

Postby vik » Tue Jun 29, 2010 11:49 am

Build.VERSION.RELEASE
User avatar
vik
Senior Developer
Senior Developer
 
Posts: 141
Joined: Wed Sep 09, 2009 7:32 am

Re: How to get android sdk version number??

Postby Chitra » Tue Jun 29, 2010 12:58 pm

yeah.. By using "Build.VERSION.RELEASE" code, i can able to monitor sdk version(Eg: 1.5, 1.6, 2.0, 2.2....)

Thank u Vik.. :)
Thanks,
Chitra
User avatar
Chitra
Master Developer
Master Developer
 
Posts: 213
Joined: Mon Mar 01, 2010 7:59 am
Location: Bangalore

Re: How to get android sdk version number??

Postby vik » Tue Jun 29, 2010 1:09 pm

you are welcome... :D
User avatar
vik
Senior Developer
Senior Developer
 
Posts: 141
Joined: Wed Sep 09, 2009 7:32 am

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: Yahoo [Bot] and 23 guests