Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
38 views

This is my layout: <?xml version="1.0" encoding="utf-8"?> <androidx.cardview.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android" ...
Levi Albuquerque's user avatar
0 votes
0 answers
33 views

I am working on an Android UWB application using androidx.core.uwb. When I add multiple peers to the device list and use multicast mode, ranging does not start at all. With a single peer, ranging ...
Himang's user avatar
  • 1
1 vote
1 answer
111 views

In my Android project, I have an onCreateOptionsMenu(Menu menu) to show a SearchView. The below line sets up an "X" graphic as a close button for the SearchView, which is shown when the ...
AJW's user avatar
  • 1,587
1 vote
0 answers
45 views

I have Navigation Component (version 2.9.0) with androidx Fragments (version 1.8.6) and Predictive Back and androidx.transitions (version 1.6.0) with gesture navigation enabled. I'm seeing this leak ...
B W's user avatar
  • 732
-1 votes
1 answer
65 views

Here is the problem in its minimal version. I have an android app that does nothing except print the sdk version in its onCreate method. I am using the AndroidManifest <?xml version="1.0" ...
Arnab Chakraborty's user avatar
0 votes
0 answers
13 views

The documentation for FragmentNavigator says The current Fragment from FragmentNavigator's perspective can be retrieved by calling FragmentManager.getPrimaryNavigationFragment with the ...
Maurice Lam's user avatar
  • 1,829
0 votes
1 answer
92 views

I have used a custom ListPreference which worked well before. Then upgrading to Androidx, it appears this error: > Cannot resolve method 'getDialog' in 'ListPreference' import androidx.preference....
Fisher's user avatar
  • 519
0 votes
0 answers
33 views

I am using the new Android Photo Picker (https://developer.android.com/training/data-storage/shared/photopicker) in my app, but when the user configured the camera to store both RAW and JPEG images, ...
Renaud Chaput's user avatar
0 votes
1 answer
135 views

I want to launch from dotnet maui an Android activity implemented in Kotlin, that uses Jetpack Compose elements. For that, I have my Kotlin class open class ExampleActivity : ComponentActivity() { ...
Foxan's user avatar
  • 21
0 votes
0 answers
36 views

I am trying to use Backstack to handle navigation when opening my app via a deeplink. Basically, the deeplink opens a details page, and I want pressing Back to take the user to a home activity for the ...
Cathal Comerford's user avatar
0 votes
1 answer
573 views

As I understand, from Android 12 (API 31+) the correct way to set the SplashScreen of the app is via the androidX core SplashScreen library: <style name="Theme.App.Starting" parent="...
kirvel's user avatar
  • 691
0 votes
0 answers
18 views

I uninstalled the module that should not have been deleted by mistake. What should I do to solve the problem caused by the uninstalled module? .gradle, build, and src folder turned red and I received ...
LifeLove's user avatar
1 vote
1 answer
80 views

I know the listOf is from the kotlin collections and we usually use that. listOf(1,2,3) When I started developing in Compose I learned about the Immutable Kotlin collections library and been using it ...
No_Name's user avatar
  • 333
6 votes
0 answers
116 views

I am trying to handle the pause/play button from a Bluetooth headset (e.g. Jabra Elite 7 Pro) by simply logging into Logcat a message whenever it is pressed. The “twist” is that this is during ...
sfinja's user avatar
  • 883
2 votes
1 answer
1k views

I'm facing a build issue in my Flutter project when using the external_app_launcher package. The build fails with the following error: Execution failed for task ':external_app_launcher:...
Eren Malkoç's user avatar
0 votes
2 answers
138 views

I want to request a photo from the user using the system photo picker (i.e. with a PickVisualMedia request), then send another Intent for a photo editor to crop the photo. If I just send the URI ...
Narek Torosyan's user avatar
1 vote
1 answer
269 views

I added this code to my books app to recognize foldable devices (deleted unrelevant code). On OnePlus and Oppo devices (not foldable) the app crashes. It happens only in Android OS bigger than 13. ...
OShiffer's user avatar
  • 1,408
0 votes
0 answers
57 views

I'm developing a Wear OS toy app for a Samsung Galaxy Watch 4. Despite what I believe to be correct configurations (i.e. no errors in app building or deploying - except for the "glitch" I ...
francogrex's user avatar
1 vote
0 answers
201 views

Here is a similar question, I am using exoplayer to pull and decode a RTSP stream, it can display the video now, but I want apply a deep learning model to detect something appeared on each frame. From ...
gylns's user avatar
  • 247
0 votes
1 answer
85 views

after sync below code : settings.gradle >> pluginManagement { repositories { gradlePluginPortal() google() mavenCentral() } } dependencyResolutionManagement { ...
Moh Rah's user avatar
0 votes
2 answers
47 views

I have this code where basically i got a file path ( not a media one ), for some reason, in some Android 10 devices I´m getting the path as /document/msf:<number> In the manifest I have <...
Nicote Ool's user avatar
1 vote
1 answer
490 views

Looking at a huge number of lines-of-code to do a basic task: First the imports: import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.fillMaxWidth import androidx....
A T's user avatar
  • 14k
1 vote
0 answers
225 views

I'm initialising a graph in Activity using Kotlin DSL and using navGraphViewModels() to acquire an instance of vm in the onCreate() of the fragment. However after process death the app crashes Caused ...
Saran Sankaran's user avatar
1 vote
0 answers
92 views

We want to set the localNightMode of an activity before the activity is created, to avoid an activity restart. Therefore, in the onCreate we call: delegate.localNightMode = NIGHT delegate....
Robin's user avatar
  • 3,920
1 vote
0 answers
871 views

I've got an unresolved failure while importing androidx.lifecycle.Transformations after adding the related dependencies in the build.gradle.kts: enter image description here. Following are the ...
user23810369's user avatar

1
2 3 4 5
51