Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
75 views

I’m using androidx.browser.customtabs with a CustomTabsIntent to open a webpage inside my Android app. Chrome shows a minimize button (a small arrow/down icon) in the Custom Tab UI, allowing the user ...
user3561614's user avatar
  • 1,094
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
27 views

I'm trying to switch from the deprecated ActivityTestRule to ActivityScenarioRule but facing an issue with some of the tests. I found out that I need to move from startActivity to ActivityScenario....
iamkaan's user avatar
  • 1,515
0 votes
0 answers
34 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
0 votes
0 answers
193 views

I'm working in a Kotlin project and want to use the Room library for SQlite. So like explained on this site, I added the line id("androidx.room") version "2.7.2" to the ...
axolotlKing0722's user avatar
1 vote
1 answer
118 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
2 answers
167 views

I am facing weird behaviour in my application and it's probably because of lifecycle of ViewModel (injected in root composable), but I can't find any information about it in documentation. Problem: ...
Cuyer's user avatar
  • 76
1 vote
0 answers
47 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 vote
0 answers
41 views

I am trying to the use facilities of the ComplicationManager in AndroidX, and to do so the Gemini AI engine tells me I need to include the following implementation directive in the dependencies block ...
John Poust's user avatar
-1 votes
1 answer
66 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
1 vote
1 answer
62 views

I'm in the process of changing the Screenshots created by my Android instrumentation tests androidx.test.runner.screenshot.ScreenCaptureProcessor (which worked) to the new androidx.test.core.app....
Martin's user avatar
  • 11.9k
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
0 answers
62 views

I'm developing an Android application using Jetpack Compose and facing a peculiar issue with text rendering. In my MainScreen composable, I have AnalyticsBox and HabitListItem components where text ...
Aqsa Malik's user avatar
0 votes
1 answer
95 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
42 views

My game uses the AndroidX game text input module. It's been working for a couple years but I recently updated to the latest version 4.0.0 and now Android Studio/Gradle can't find the source file and I ...
Bungles's user avatar
  • 2,319
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
0 answers
54 views

In my old React Native project with version 0.60.4, react-native-background-downloader (version 2.3.4) worked well. However, after upgrading React Native to version 0.77, I encountered the following ...
Apazine3 Acme's user avatar
0 votes
1 answer
140 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
1 answer
241 views

I have an Android Library (.aar) built with Android Studio that uses Compose @Composable. I am trying to create an Android Binding Library in Visual Studio to use my Android Library in a MAUI ...
Foxan's user avatar
  • 21
0 votes
0 answers
40 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
1 vote
1 answer
229 views

I am trying to use CredentialManager to save username and password. I am using xml layout and testing on Android 12, I keeping getting error saying androidx.credentials.exceptions....
BraveEvidence's user avatar
0 votes
1 answer
583 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
5 votes
1 answer
2k views

How to load or display a PDF within my app instead of using an external app by using an Uri? I want to use the official androidx,pdfviewer library. My app-level build.gradle looks like this: ...
M.K. Mandawar's user avatar
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
0 votes
1 answer
25 views

I have two fragments within a SlidingPaneLayout, fragment A and fragment B. Fragment A is the main fragment and fragment B is the pane that can slide in. On a device which cannot fit both fragment A ...
idunnololz's user avatar
  • 8,463
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
0 votes
1 answer
34 views

The call docPageSearchView.show() opens SearchView. Then, pick an item from the search result and open a new instance of the same fragment to display the new content ("viewer fragment"). Now,...
Viewed's user avatar
  • 1,453
6 votes
0 answers
118 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
0 votes
1 answer
47 views

So, the problem statement is I want to implement a feature in which user can add and remove as many items in the list as they want. I thought of using RecyclerView with edittext in each view and ...
Rashid Bilal's user avatar
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
2 votes
0 answers
61 views

I am migrating my xamarin android app to the new .net8.0 framework. This is a nightmare of a task and I have almost completed it apart from migrating my web references successfully. On my previous ...
Christy's user avatar
  • 43
0 votes
2 answers
139 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
0 votes
1 answer
62 views

I've searched for this all over place and have found a lot of answers that don't compile, or use deprecated APIs. It's a simple thing really that I thought would have been incorporated in the core ...
Rutherford Le Blang's user avatar
1 vote
1 answer
275 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
1 vote
0 answers
225 views

I want to start android development. As Android Studio is hungry for memory, I don't want to use Android Studio. I built a maven project and tried to add androidx library to my project. I spent the ...
Ferdous Hasan's user avatar
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
0 votes
1 answer
597 views

While migrating a Xamarin.Forms app into .NET MAUI and fixing different issues, I'm getting "Type android.support.v4.app.INotificationSideChannel$Stub$Proxy is defined multiple times" from ...
zmaten's user avatar
  • 481
1 vote
0 answers
202 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
2 votes
2 answers
2k views

I'm migrating a Xamarin.Forms app into .NET MAUI and after fixing various issues and errors, last of which was solved by adding two references: Xamarin.AndroidX.Collection Xamarin.AndroidX.Collection....
zmaten's user avatar
  • 481
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
0 answers
269 views

I am using the latest Android studio build (of 2023.3.1.) I'm trying to include the following package: import androidx.appcompat.app.AppCompatActivity I get the following error: (referring to line 3 ...
Hawerchuk'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
269 views

I have a method, where I am transforming the paging data models into UIModels. pagingData .map { cachedData -> deserialize(cachedData) } .filter { it.isSuccess } ....
Ferencz Andras's user avatar
1 vote
1 answer
494 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
0 votes
1 answer
228 views

I'm currently migrating my project to Androidx, after using the refactor option in android studio I still have few support lib imports in classes. When I tried changing 'import android.support.v7....
Shruti's user avatar
  • 815
1 vote
0 answers
230 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
1 answer
67 views

Summary: How do I customise/style the colour and appearance of AndroidX switch preferences? Detail: Simplifying a bit, I have an Android app that uses the AndroidX preference classes. My preference ...
Andy Johnson's user avatar
  • 8,209
2 votes
0 answers
97 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,930
0 votes
1 answer
26 views

My Activity stack order is: MainActivity, SettingActivity, ThemeSettingActivity. The ThemeSettingActivity is top activity. When I use AppCompatDelegate.setDefaultNightMode(AppCompatDelegate....
hulala NN's user avatar
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