@@ -0,0 +1,1710 @@
+/*%0A * Copyright (C) 2012 The Android Open Source Project%0A *%0A * Licensed under the Apache License, Version 2.0 (the %22License%22);%0A * you may not use this file except in compliance with the License.%0A * You may obtain a copy of the License at%0A *%0A *      http://www.apache.org/licenses/LICENSE-2.0%0A *%0A * Unless required by applicable law or agreed to in writing, software%0A * distributed under the License is distributed on an %22AS IS%22 BASIS,%0A * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.%0A * See the License for the specific language governing permissions and%0A * limitations under the License.%0A */%0A%0Apackage com.jpardogo.android.listbuddies.Utils;%0A%0Aimport android.os.Build;%0Aimport android.os.Build.VERSION_CODES;%0A%0A/**%0A * Class containing some static utility methods.%0A */%0Apublic class Utils %7B%0A    private Utils() %7B%0A    %7D%0A%0A    ;%0A%0A%0A    public static boolean hasFroyo() %7B%0A        // Can use static final constants like FROYO, declared in later versions%0A        // of the OS since they are inlined at compile time. This is guaranteed behavior.%0A        return Build.VERSION.SDK_INT %3E= VERSION_CODES.FROYO;%0A    %7D%0A%0A    public static boolean hasGingerbread() %7B%0A        return Build.VERSION.SDK_INT %3E= VERSION_CODES.GINGERBREAD;%0A    %7D%0A%0A    public static boolean hasHoneycomb() %7B%0A        return Build.VERSION.SDK_INT %3E= VERSION_CODES.HONEYCOMB;%0A    %7D%0A%0A    public static boolean hasHoneycombMR1() %7B%0A        return Build.VERSION.SDK_INT %3E= VERSION_CODES.HONEYCOMB_MR1;%0A    %7D%0A%0A    public static boolean hasJellyBean() %7B%0A        return Build.VERSION.SDK_INT %3E= VERSION_CODES.JELLY_BEAN;%0A    %7D%0A%0A    public static boolean hasKitKat() %7B%0A        return Build.VERSION.SDK_INT %3E= VERSION_CODES.KITKAT;%0A    %7D%0A%7D%0A

Add utils static methods for the example