This is only used by Android. so your code is obviously incorrect. Please use #ifdef and #else for Android and Tizen.