반응형 bluetooth file send3 Bluetooth file & text transfer #3 client test device : note 4 android os : Marshmallow 6.0 Client Source activity_bluetooth2.xml Bluetooth2Activity.java package com.example.sampleproject; import androidx.annotation.Nullable; import androidx.core.app.ActivityCompat; import androidx.core.content.ContextCompat; import android.Manifest; import android.bluetooth.BluetoothAdapter; import android.bluetooth.BluetoothDevice; import android.blue.. 2021. 3. 17. Bluetooth file & text transfer #2 server test device : note 4 android os : Marshmallow 6.0 server source Source activity_bluetooth1.xml Bluetooth1Activity.java package com.example.sampleproject; import android.Manifest; import android.bluetooth.BluetoothAdapter; import android.bluetooth.BluetoothSocket; import android.content.Intent; import android.content.pm.PackageManager; import android.os.Bundle; import android.os.Handler; import a.. 2021. 3. 17. Bluetooth file & text transfer #1 etc test device : note 4 android os : Marshmallow 6.0 설명 없음. 알아서 보시기 바람. 소스 full로 올림. Source BlueToothData.java public class BlueToothData implements Serializable { private SettingValue.BT_MESSAGE_TYPE message_type; private String fileName; private byte [] data; public SettingValue.BT_MESSAGE_TYPE getMessage_type() { return message_type; } public void setMessage_type(SettingValue.BT_MESSAGE_TYPE mes.. 2021. 3. 17. 이전 1 다음 반응형