class BootReceiver : BroadcastReceiver() { private val TAG = BootReceiver::class.java.simpleName override fun onReceive(context: Context?, intent: Intent?) { Log.d(TAG, "onReceive") val randomUuid = UUID.randomUUID() val cFormat = SimpleDateFormat("hh:mm:ss") val currentDate = cFormat.format(Date()) val file:String = currentDate val data:String = intent?.action.toString() val fileOutputStream: F..