Added helper method for missing API Level 17 method call