Some platform specific code added for Android and Tizen.