All Questions
58,679
questions
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 ...
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 ...
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 ...
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 ...
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=&...
-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....
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....
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&...
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 ...
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 ...
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 ...
-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 ...
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: ...
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 ...
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 ...