title: Receive 32 bits in Android Studio
body: <p>I use a Nordic Semiconductor nRF52 to send a 32 bits value on my Android app, but it doesn't work everytime.
  On the nRF52, I send an array of 4 bytes.</p>
  
  <p>When I send 12345678 for example, I receive 12345678 on the phone : it's OK
  When I send 24, it's OK too.
  But when I send 7, or 107 for example, it does'nt work.</p>
  
  <p>Do you have an idea why, please ?</p>
  
  <p>On the Android app, I do :</p>
  
  <pre><code>@Override
      public void onCharacteristicNotified(final BluetoothGatt gatt, final BluetoothGattCharacteristic characteristic) {
          int data = characteristic.getIntValue(BluetoothGattCharacteristic.FORMAT_UINT32, 0);
  
          String dataHexadecimal = Integer.toHexString(data);
          byte[] value = hexStringToByteArray(dataHexadecimal);
  
          int valeurFinale = 0;
          valeurFinale = value[3]*1000000 + value[2]*10000 + value[1]*100 + value[0];
  
          ControlBlinkyActivity.txtSiReception.setText("Reception : " + String.valueOf(valeurFinale));
  
          mCallbacks.onDataReceived(data = 1);
      }
  };
  </code></pre>