1. Only showing results from kotlinlang.org

    Clear filter to show all search results

  2. discuss.kotlinlang.org

    Hi everybody im trying to read data from arduino and xbee's, but im stoppend, i cant read a correct data and a while bucle this is my code val response = ByteArray(8192) private val READ_WAIT_MILLIS=2000 button2.setOnClickListener { setContentView(R.layout.fragment_terminal_layout) val manager=getSystemService(USB_SERVICE) as UsbManager ...
  3. discuss.kotlinlang.org

    Hi i'm a novice with Kotlin, especially native, I'm trying to build a serial tty package for native to allow my kotlin apps to talk to arduino boards. Im using Linux64. I cant get this to compile, it fails on both the readdir line complaining about missing types, and on the println line where it cannot find the .d_name member My expectation is that it would print out all the filenames of ...
  4. Dec 16, 2024Kotlin Native. Kotlin/Native is a technology for compiling Kotlin code to native binaries which can run without a virtual machine. Kotlin/Native includes an LLVM-based backend for the Kotlin compiler and a native implementation of the Kotlin standard library.. Why Kotlin/Native?
  5. Dec 10, 2024Get started with Kotlin. Kotlin is a modern but already mature programming language designed to make developers happier. It's concise, safe, interoperable with Java and other languages, and provides many ways to reuse code between multiple platforms for productive programming.
  6. discuss.kotlinlang.org

    Hi guys, I have just learned about Kotlin today and I have tried to find information about a very important theme for my projects: USB devices. I can't find any specific information so here is my question. Is there a way to have shared code to access an USB device the same way on Android (USB host + permissions) and on JVM. Have someone heard about demo code / project around this ? Regards ...
  7. Coroutines basics. This section covers basic coroutine concepts. Your first coroutine. A coroutine is an instance of a suspendable computation. It is conceptually similar to a thread, in the sense that it takes a block of code to run that works concurrently with the rest of the code.
  8. discuss.kotlinlang.org

    I'm fairly new to Kotlin. I hope this is on topic here. I'd like to use a Ktor websocket client in an Android app. I can create a Websocket connection like this: findViewById<Button>(R.id.buttonTest).setOnClickListener…

    Can’t find what you’re looking for?

    Help us improve DuckDuckGo searches with your feedback

Custom date rangeX