Ноябрь 2021

QR Scanner

https://youtu.be/d1-YmTOisaU MainActivity import android.content.Intentimport androidx.appcompat.app.AppCompatActivityimport android.os.Bundleimport android.widget.Buttonimport android.widget.ImageViewimport androidmads.library.qrgenearator.QRGContentsimport androidmads.library.qrgenearator.QRGEncoderimport com.google.zxing.WriterExceptionclass MainActivity : AppCompatActivity() { var im: ImageView? = null var bGenerate: Button? = null… Подробнее »QR Scanner

QR Code Generator

https://youtu.be/pQ1KYUJpCGU Библиотека: implementation 'androidmads.library.qrgenearator:QRGenearator:1.0.3' MainActivity import androidx.appcompat.app.AppCompatActivityimport android.os.Bundleimport android.widget.Buttonimport android.widget.ImageViewimport androidmads.library.qrgenearator.QRGContentsimport androidmads.library.qrgenearator.QRGEncoderimport com.google.zxing.WriterExceptionclass MainActivity : AppCompatActivity() { var im: ImageView? = null var bGenerate: Button?… Подробнее »QR Code Generator

Приложение “Уровень”

MainActivity import android.content.Context import android.graphics.Color import android.hardware.Sensor import android.hardware.SensorEvent import android.hardware.SensorEventListener import android.hardware.SensorManager import androidx.appcompat.app.AppCompatActivity import android.os.Bundle import android.widget.LinearLayout import android.widget.TextView class MainActivity : AppCompatActivity()… Подробнее »Приложение “Уровень”

BtMonitor Kotlin | #5

https://youtu.be/Y8sdsxXMl8g 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… Подробнее »BtMonitor Kotlin | #5