Skip to main content

Questions tagged [androidx]

New Android extension libraries (AndroidX) which represents an Android Support Library.

0 votes
0 answers
8 views

Easiest way to customize a ListPreference using AndroidX namespace

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
0 votes
0 answers
34 views

'by viewModels' not recognized in AppcompactActivty

When I try to initialize viewmodel in an Activity which extends ComponentActivity, I can use "by viewModels(..)" . However if I try to instantiate the same in an activity that extents ...
Abhishek Maharajpet's user avatar
1 vote
0 answers
16 views

Crash when using androidx.window on OnePlus and Oppo devices

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,396
0 votes
0 answers
25 views

Androidx nuget package doesn't work when creating a .NET android app with visual studio

No matter what I try, I can't get androidx to work in my .NET android app project in visual studio. I have tried different controls and none work. I wish to use the recycler view. I get different ...
Tobias Lenander's user avatar
0 votes
0 answers
25 views

Can't find androidx.appcompat

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
39 views

Wear OS Layout Issue: Only Upper Left Quadrant Usable on Samsung Galaxy Watch 4

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
0 answers
97 views

.NET MAUI Android app build fail due to JAVA0000 error

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
  • 451
0 votes
0 answers
21 views

How to process each video frame when using Exoplayer play a RTSP stream?

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
  • 237
0 votes
2 answers
491 views

.NET MAUI Android app not building due to Java error related to AndroidX dependencies

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
  • 451
0 votes
0 answers
28 views

sync jitpack.io in gradle 7.0+ (with changing settings.gradle) and confront error

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

Does androidx.appcompat.app.AppCompatActivity work in Android Studio Jellyfish | 2023.3.1?

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
0 answers
13 views

generated base64 string is corrupt

I am using CameraX to take photos and want their base64 value. And for that, I want a JPEG base64 string but when I went to view it, it is corrupt and can only be viewed/decoded back to image after I ...
Nie Selam's user avatar
  • 1,431
0 votes
2 answers
35 views

Unable to get path file ( not media ) using Intent [duplicate]

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
46 views

Catching Exceptions inside androidx.paging.PagingData transformation methods

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
0 votes
1 answer
111 views

Create a simple form using `TextField`s and a submit `Button`?

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
  • 13.6k

15 30 50 per page
1
2 3 4 5
168