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

All Questions

Tagged with
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
17 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
-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
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
-2 votes
0 answers
25 views

Linking of multiple apps [closed]

If we create an flutter application (Android + iOS) using visual studio code "we have 3 applications named A, B & C. A is the main app and the other two apps (B & C) are separate apps. i ...
DDeveloperDeep's user avatar
1 vote
2 answers
34 views

How to draw a hexagon with rounded corners on Android Canvas?

I want to make a hexagon with rounded corners, but I don't have any idea how to do it. I try it with different methods like: cubicTo, arcTo, etc. My code to draw this fun Path.customHexagon(radius: ...
xMaster's user avatar
  • 11
0 votes
0 answers
8 views

Paginated Data, Should I keep it as state of the screen or only internal state to recycler view adapter?

How to manage paginated data in a StateFlow for a RecyclerView? Should I store only the last fetched page in the StateFlow and accumulate data in the adapter, or should I store the entire dataset in ...
itsTanany's user avatar
  • 457
0 votes
0 answers
29 views

How to prevent a SharedFlow collect values when the activity resumes?

I have found an issue where SharedFlow does not collect values when the activity is open. So I set replay = 1, which worked fine initially. However, I found that when the app is sent to the background ...
Tawanp's user avatar
  • 1

15 30 50 per page
1
2 3 4 5
3912