Октябрь 2021

Accelerometer

https://youtu.be/H92xX4uiu4M MainActivity import android.content.Contextimport android.hardware.Sensorimport android.hardware.SensorEventimport android.hardware.SensorEventListenerimport android.hardware.SensorManagerimport androidx.appcompat.app.AppCompatActivityimport android.os.Bundleimport android.widget.TextViewclass MainActivity : AppCompatActivity() { lateinit var sManager: SensorManager override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState)… Подробнее »Accelerometer

BtMonitor Kotlin | #4

ControlActivity import android.bluetooth.BluetoothManagerimport android.content.Contextimport android.content.Intentimport androidx.appcompat.app.AppCompatActivityimport android.os.Bundleimport android.util.Logimport android.view.Menuimport android.view.MenuItemimport androidx.activity.result.ActivityResultLauncherimport androidx.activity.result.contract.ActivityResultContractsimport com.neco_desarrollo.btmonitorkotlin.databinding.ActivityControlBindingclass ControlActivity : AppCompatActivity() { private lateinit var binding: ActivityControlBinding private lateinit var… Подробнее »BtMonitor Kotlin | #4

BtMonitor Kotlin | #3

https://youtu.be/FJ7kZQNitJg BtListActivity import android.bluetooth.BluetoothAdapter import android.bluetooth.BluetoothDevice import android.bluetooth.BluetoothManager import android.content.Context import android.content.Intent import androidx.appcompat.app.AppCompatActivity import android.os.Bundle import android.util.Log import androidx.recyclerview.widget.LinearLayoutManager import com.neco_desarrollo.btmonitorkotlin.databinding.ActivityMainBinding class BtListActivity :… Подробнее »BtMonitor Kotlin | #3

BtMonitor Kotlin | #2

https://youtu.be/PCqekbxHRI4 MainActivity import android.bluetooth.BluetoothAdapter import android.bluetooth.BluetoothDevice import android.bluetooth.BluetoothManager import android.content.Context import androidx.appcompat.app.AppCompatActivity import android.os.Bundle import android.util.Log import androidx.recyclerview.widget.LinearLayoutManager import com.neco_desarrollo.btmonitorkotlin.databinding.ActivityMainBinding class MainActivity : AppCompatActivity() {… Подробнее »BtMonitor Kotlin | #2