@@ -0,0 +1,1163 @@
+package com.uxxu.konashi.lib.util;%0A%0Aimport android.app.Activity;%0Aimport android.bluetooth.BluetoothAdapter;%0Aimport android.content.Context;%0Aimport android.content.Intent;%0Aimport android.content.pm.PackageManager;%0A%0A/**%0A * Created by izumin on 10/7/15.%0A */%0Apublic final class BtUtils %7B%0A%0A    private static final int REQUEST_ENABLE_BT = 1;%0A    private static final int REQUEST_STATE_CHANGE_BT = 2;%0A%0A    private BtUtils() %7B%0A        throw new AssertionError(%22constructor of the utility class should not be called%22);%0A    %7D%0A%0A    public static boolean isBluetoothSupported() %7B%0A        return BluetoothAdapter.getDefaultAdapter() != null;%0A    %7D%0A%0A    public static boolean isBluetoothEnabled() %7B%0A        return BluetoothAdapter.getDefaultAdapter().isEnabled();%0A    %7D%0A%0A    public static boolean isBleSupported(Context context) %7B%0A        return context.getPackageManager().hasSystemFeature(PackageManager.FEATURE_BLUETOOTH_LE);%0A    %7D%0A%0A    public static void startRequestEnableBluetoothActivityForResult(Activity activity) %7B%0A        Intent intent = new Intent(BluetoothAdapter.ACTION_REQUEST_ENABLE);%0A        activity.startActivityForResult(intent, REQUEST_ENABLE_BT);%0A    %7D%0A%7D

Add BtUtils