Click here to Skip to main content
15,888,351 members
Everything / Programming Languages / Kotlin

Kotlin

Kotlin

Great Reads

by Ivan Osipov
We'll discuss why Kotlin is a great tool for domain specific language building
by ookami.kb
Turn Android app into Kiosk App
by Igor Kushnarev
Native windows with Kotlin Native for Linux and Windows platforms
by Igor Kushnarev
Using Vulkan API with Kotlin Native example

Latest Articles

by Petrov Vladimir
Smart Android Template for Data Performance with International Signals Code as a Sample
by Ayat Rakhishev
A walkthrough of dynamic programming
by Ivan Osipov
We'll discuss why Kotlin is a great tool for domain specific language building
by AmrDeveloper
How to get any Adapter class from model class easily and quickly

All Articles

Sort by Updated

Kotlin 

N 22 Apr 2024 by Petrov Vladimir
Smart Android Template for Data Performance with International Signals Code as a Sample
8 Feb 2024 by Ayush Thakur from New Delhi
I want to make a simple data entry application where the app starts with the main activity and asks the user for their info and image URI from the gallery, after getting all the inputs when the user enters submit it opens up a new activity that...
30 Dec 2023 by Dave Kreskowiak
I don't know Kotlin at all, but it seems you're catching an exception but completely ignoring it, only returning a generic response: } catch (e: Exception) { // Handle registration errors call.respond(HttpStatusCode.BadRequest,...
30 Dec 2023 by Carlos Ramos Dec2023
I am doing a backend server and I am having some trouble while testing /register route. I think that I have configured everything correctly but it gives me the 406 error when I try to do a POST method on Postman this is the link that I am using...
25 Dec 2023 by eva joly fabiola yepgwa takedo
Logs : KeyboardViewController.show():438 Requesting to show sub view with id 2131428318(key_pos_password_header_numbers) which doesn't exist in current keyboard view ...
25 Dec 2023 by Dave Kreskowiak
Without the error message printed to the console window by the e.printStackTrace method in your trry/catch block, it's impossible for anyone to tell you what's going wrong.
25 Dec 2023 by eva joly fabiola yepgwa takedo
When i click the button to save user's informations, the app just close and i can't access the database to see if the infos got saved or not because of that. When i comment the "verifyUser(mail)" part, i only get the toast as an answer but the...
9 Aug 2023 by Uwakpeter
We are about to start working on a mobile app project that is similar to **UBER drivers and passengers apps**, We are not certain about the mobile app framework to use that would give us all the functionalities with **a single code-based for...
9 Aug 2023 by Richard MacCutchan
See Cross-Platform Mobile Development in Visual Studio | Microsoft Learn[^].
30 Apr 2023 by Member 10488837
From the Android documentation:- Persist permissions When your app opens a file for reading or writing, the system gives your app a URI permission grant for that file, which lasts until the users device restarts. Suppose, however, that your app...
29 Apr 2023 by Member 10488837
Kotlin, Android Studio... - Loading a JPG file into an imageview File Permissions problem. I have a small application which I load an image from storage INITIALLY using Chooser, but on the subsequent calls directly using the handle retrieved. ...
16 Apr 2023 by Richard MacCutchan
Quote: Please give me the code Sorry, no we won't. This site is here to answer questions and provide assistance with problems in the code that you write. It is not here to do your work for you.
16 Apr 2023 by Graeme_Grant
If you want someone to write code for you, then there are these services: * fiverr[^] * Upwork[^] * Freelancer[^] * Guru[^] * PeoplePerHour[^] * TaskRabbit[^] * Karat[^]
16 Apr 2023 by s1090350
The project Github is as follows: text[^] Please help me out! After pressing the button to save...
14 Apr 2023 by Fatema Shawki
I am currently working on an Android app that involves camera object detection. However, I have encountered some issues that need to be addressed: - The app displays a black screen after granting camera permission, requiring one or two app...
2 Apr 2023 by Member 13768400
I am integrating paypal in my android app to allow users to pay online, i successfully got it work in sandbox mode, but in the production mode, i am facing a problem when the user successfully logs in, it doesn't return him back to my app ,...
2 Apr 2023 by OriginalGriff
We can't see your code, so we can't help. The only people that can (and that you should trust with anything to do with Paypal and real money) is Paypal themselves - so contact their tech support and ask them. They only get paid their commision...
20 Mar 2023 by Fatema Shawki
I'm working on a real-time object detection mobile application using kotlin. I trained a yolo v5 model on a custom dataset of 4 classes, then converted the model to a .tflite file. I used this line to convert the yolo model to tflite: !python...
20 Mar 2023 by Richard MacCutchan
I suspect the problem may be the use of intArrayOf in the followibng line: val inputFeature0 = TensorBuffer.createFixedSize(intArrayOf(1, 640, 640, 3), DataType.FLOAT32) which suggests that you are passing an array of INT32 values (1, 640, 640...
16 Feb 2023 by Ayat Rakhishev
A walkthrough of dynamic programming
15 Feb 2023 by Mohd Sanaullah Siddiqui
When we call the bluetooth BLE manager for connection was success but it is getting unpair and disconnected frequently on android phone. What I have tried: fun isDevicePaired(name: String) : Boolean { if (Build.VERSION.SDK_INT >=...
13 Feb 2023 by chilly45
There is to be two activities , one activity should accept name and D.O.B and then i click the submit button which will take me to another activity where it shows the age (just the number nothing else) , the zodiac sign or picture and the...
13 Feb 2023 by Andre Oosthuizen
Solution was given at Stack - Calculate age from BirthDate[^] Using Kotlin fun getAge(year: Int, month: Int, dayOfMonth: Int): Int { return Period.between( LocalDate.of(year, month, dayOfMonth), ...
31 Jan 2023 by chilly45
I am working on an app using kotlin in android studio. I have two activities. One activity accepts the age the the user inputs and then it takes me to another activity that would show the age, birthstone, and Chinese Zodiac sign. What i am having...
31 Jan 2023 by Richard MacCutchan
See Working with Age: it's not the same as a TimeSpan![^] for age calculation. As to the birthstone and zodiac parts, you just need to Google for the table of dates that provide the information.
20 Dec 2022 by Akshay Jain Dec2022
Hi guys, I have to make a custom view for my project ..there is a app inshot video editor ,there is a sticker section which help user to add sticker on their video and I have to make the same user interface as they have used in their app .If...
19 Dec 2022 by Richard MacCutchan
Lots of useful information can be found at Android articles[^], and Google obviously can find even more.
6 Dec 2022 by Daniel89089
#include #define SWAP(a,b) {int temp = a; a = b; b = temp;} #define N 10 void perm(char str[],int count,int t) { if (t==count-1){ for (int i=0;i
11 Oct 2022 by music0011 hop
In Vb.Net I would do it in this way Dim p As New Person() p.Name = "" someFunc(p) 'OR Dim p As New Person() With p p.Name = "" End With someFunc(p) 'OR someFunc(New Person() With {.Name = ""}) Now how to do the last in Kotlin? What I...
23 Sep 2022 by Abubakar Abdurrahman
I am converting my wordpress website in to android application using webview in kotlin, and I want to remove(hide) the header of the website in the app version. What I have tried: I have try so many search and i found a way to did it by...
31 Aug 2022 by Abhishek Tibrewal
Hi, I am working on a network monitoring app in kotlin, android. I need the ISP name for my network. Thanks. What I have tried: I have searched through developers.android.com but cannot find anything that gives me the correct answer can you...
31 Aug 2022 by Dave Kreskowiak
You're not going to find anything to give you the ISP information in any SDK. You need to be able to get your outside IP address, which you cannot do from your client without a server. Once you have that address, you need to look that address up...
26 Jul 2022 by Member 12401110
I just recently added some configurations to my android project and got the following error.Build was configured prefer setting repositories over project repositories but repository'Google'was added to the build file What I have tried: I have...
26 Jul 2022 by OriginalGriff
When you get an error you don't understand, google the whole error message: Build was configured prefer setting repositories over project repositories but repository'Google'was added to the build file - Google Search[^] Loads of very relevant...
29 Jun 2022 by Nigel Spicer 2022
Can I get help Kotlin coding. I am beginning coding and would like friends to check my code and help with errors. Small bits of code. What I have tried: trying to get video to play behind main activity xml
6 Jun 2022 by Ivan Osipov
We'll discuss why Kotlin is a great tool for domain specific language building