You are here
Home > Android > Checking Android Version using Code

Checking Android Version using Code

Hello Friends, It’s being long time I’ve not shared anything with you but today I was working on an android application which was needed, two different code for different android versions so I needed to check android version running on current device to implement those two different codes. So I found the solution and created a test project for checking android version and I want to share this code. So here is the code and you can also download android studio project from the link which is at the end of this post.

activity_main.xml

MainActivity.java

Download Android Studio Project

Thanks

Rajesh Kumar Sahanee
I am a passionate Java Developer and I like Computer Programming. I love to do some interesting experiments and listening music in my free time.
https://www.zatackcoder.com

Comments

zatackcoder
Top

  Â