Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [kotlin]

Kotlin is a cross-platform, statically typed, general-purpose high-level programming language with type inference. This tag is often used alongside additional tags for the different targets (JVM, JavaScript, native, etc.) and libraries/frameworks (Android, Spring, etc.) used by Kotlin developers, if the question relates specifically to those topics.

0 votes
0 answers
2 views

i have RecyclerView in kotlin project this recycler shows list of mp3 files and i want to when mp3 finish jump automatically to next itemView

i can't jump from current itemView to Next ItemView in recyclerView but this within recyclerView i have RecyclerView in kotlin project this recycler shows list of mp3 files and i want to when mp3 ...
learn map's user avatar
0 votes
0 answers
4 views

Error Implementing Amazon Appstore IAP - Fatal Error: Resource already registered: I5.f@4e905fb

I have an application published in Amazon appstore and also created in-app-purchase items for it in appstore of amazon. I have followed all the required steps to implement Amazon IAP in my app to ...
ManavPatni's user avatar
0 votes
0 answers
9 views

My app has been rejected and wasn't published due to the policy issue

My app has been rejected and wasn't published due to the policy issue. Issue found: Unable to verify core functionality of app Your in-app experience does not match the core functionality for your ...
Anand Nishad's user avatar
0 votes
0 answers
9 views

getCredentialAsync claims no provider dependencies found from a module which works on different app

I have a library myLibrary which contains all authentication logic which being used in 2 apps, one for android mobile app and the other for androidTV app. The authentication works in the mobile app ...
Guy Sadoun's user avatar
1 vote
1 answer
18 views

Flow not updating when broadcastReceiver is called

I'm new to kotlin and trying to make a reminder app for medicines for a course. My VM doesn't react to when new names are added into the currentAlerts flow by my alarmReceiver. The only time 'doing ...
Oskar Andersson's user avatar
0 votes
1 answer
13 views

Permission Dialog for Kotlin App not showing up

I am making an Android App with Kotlin for a College Assignment. The assignment has a requirement to store an image into an SQLite database. I code in the code to request permissions to access the ...
Marcus Chan's user avatar
0 votes
0 answers
14 views

Android compose `NotificationListenerService.onNotificationPosted` is never called

I'm trying to add a notification listener to a Kotlin android compose project: My AndroidManigest.xml: <application> <!-- ... --> <service android:name=&...
Valentin Vignal's user avatar
0 votes
0 answers
31 views

FFMPEG C++/Kotlin Encode data from ByteArray (ByteBuffer) to subtitles and mux it with video

I need to mux some byte data encoded to base64 String to mpeg-ts container. Can't find any solution to somehow encode this data to AVPacket. Using of "avcodec_encode_subtitle" supposes to ...
-2 votes
0 answers
16 views

Could not find gradle-8.3.1.jar (com.android.tools.build:gradle:8.3.1)

I want to create a new project I got this error: A problem occurred configuring root project 'My Application'. Could not resolve all files for configuration ':classpath'. Could not find gradle-8.3.1....
S.M_Emamian's user avatar
  • 17.3k
0 votes
0 answers
14 views

Crash on Destroy Method: "View ... does not have a NavController set"

I am getting a crash in the onDestroy method with the following error: `Fatal Exception: java.lang.RuntimeException: Unable to destroy activity {com..presentation.screens.main.MainActivity}: java.lang....
Gaurav Bajait's user avatar
0 votes
0 answers
17 views

make video full screen on click

i'm writing app using kotlin and i facing this problem i can't switch video player to full screen this is my xml file : <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android&...
Alucard's user avatar
0 votes
0 answers
7 views

Android websettings.setcachemode is globally?

I called clearCache in an Android WebView to delete the cache. However, I found out that this method works globally for the application’s WebView. clearCache Added in API level 1 public void ...
choi's user avatar
  • 1
2 votes
1 answer
22 views

Kotlin sealed class inheritance not working without casting to sealed class

I am trying to use sealed class inheritance to organize data in a recyclerview which consumes data through PagingData, and I have been able to make it work but there is situation that I could not ...
Shadow's user avatar
  • 4,574
0 votes
0 answers
9 views

Schema validation failed in Realm/Atlas due to an unknown type

I have a Kotlin Multiplatform app that I'm trying to get to work with Realm/Atlas. When I try to do a Realm.open(it) it says: IllegalStateException@29576} "java.lang.IllegalStateException: [...
user443654's user avatar
0 votes
1 answer
17 views

How to Pass ArrayList of Custom Objects Between Activities in Kotlin on Android Studio

I'm working on an Android project in Kotlin where I store user information in a custom object. I need to pass an ArrayList<CustomObject> from one activity to another and display the stored ...
Ahmad Louis's user avatar

15 30 50 per page
1
2 3 4 5
6434