title: "InstantiationException: zero argument constructor" ---> How to do it?
body: <p>I have already read things about that but can't find a way to fix my problem anyway (Beginner here...)
  So, I'm currently developping an Android Studio App.
  I have just done fragments to have different tab on a screen.
  Previously I have done a "bluetooth and a bluetoothService" activity who was perfectly working.
  However, since I have implements these fragments I got this error</p>
  
  <pre><code> java.lang.InstantiationException: java.lang.Class&lt;com.example.thibaud.dogbotapp.bluetoothService&gt; has no zero argument consde here
  </code></pre>
  
  <p>So I have tried to do an empty constructor but I don't know how to do it properly...</p>
  
  <p>This is the begin of my bluetoothService class : </p>
  
  <pre><code>public class bluetoothService  {
  
  
  private static final String TAG = "bluetoothService";
  
  private static final String appName = "DogBot";
  
  private static final UUID MY_UUID_INSECURE =
          UUID.fromString("00001101-0000-1000-8000-00805F9B34FB");
  
  private final BluetoothAdapter btAdapter;
  
  
  
  Context mContext;
  
  private AcceptThread mInsecureAcceptThread;
  
  private ConnectThread mConnectThread;
  private BluetoothDevice mmDevice;
  private UUID deviceUUID;
  ProgressDialog mProgressDialog;
  
  private ConnectedThread mConnectedThread;
  
  
  /*public bluetoothService(Context context) {
      mContext = context;
      btAdapter = BluetoothAdapter.getDefaultAdapter();
      start();
  }*/
  </code></pre>
  
  <p>start() method here :</p>
  
  <pre><code> public synchronized void start() {
      Log.d(TAG, "start");
  
      // Cancel any thread attempting to make a connection
      if (mConnectThread != null) {
          mConnectThread.cancel();
          mConnectThread = null;
      }
      if (mInsecureAcceptThread == null) {
          mInsecureAcceptThread = new AcceptThread();
          mInsecureAcceptThread.start();
      }
  }
  </code></pre>
  
  <p>Well, first post here sorry if it's not perfect, hope you guys will be able to help !
  Thanksar</p>