android: Added a global variable to check the current SDK version