Using @TargetApi() is just ment to tell the compiler that this method is focused on that API so Lint isn't showing errors. This doesn't magically solve compatibility issues though. You should still have another method or a check inside your method to have some fallback code for older API's.