Category "android"

How to make an Image Getter in a RecyclerView using fromHTML more efficient?

I'm using fromHTML to load HTML text into a TextView inside a RecyclerView element. This does work, however it is incredibly slow as the images are being loaded

Android ndk compile error, arm-linux-androideabi-gcc is not excutable

I tried to build a app using andriod NDK ./waf configure -T debug --android=armeabi-v7a,4.9,21 but the compile failed with the error config.log Checking for 'g

Material3 CircularProgressIndicator not working in Mi11x Pro

Hi I am using android material 3, I try to show Progress Indicator as per google guidelines https://github.com/material-components/material-components-android/b

Ionic/Cordova app does not find MainActivity

My app (Ionic 5 + Cordova 9.1.0) crashes when I try to start it on an Android 11 phone. When I look into the logs with logcat I see that the main activity is no

Different versions of Google Play services cannot be declared depending on the device configuration

When trying to upload my application (aab) to the play store - Im seeing this error, and I cant find anyone talking about it. The error message is translated fr

Reading Latitude and longitude from CSV file and display in google map after applying filtering to a column

I managed to fetch long and lat values from CSV and loop them to display all values in google map .Now i need to filter column Fuel_Type = "Unleaded 91" how to

The work manader's work is not controlled

I have a wok manager that I run from the Main Activity when the user logs into the application. So, I will tell you in more detail what I do in the manager: in

ComposeView with dynamic height flickering inside ConstraintLayout

I have a ComposeView inside a ConstraintLayout like that: <androidx.compose.ui.platform.ComposeView android:id="@+id/compose" android:lay

Animate objects in another column in LazyVerticalGrid

I have a LazyVerticalGrid with items that I animate with animateDpAsState and width upon click on the button. The items below do move downwards but there is a p

Getting android.app.ForegroundServiceStartNotAllowedException in Android 12 (SDK 31)

I upgraded my apps targetSdkVersion and compileSdkVersion to SDK 31, and started receiving the following crash in app in a service that updates widget in backgr

When confirming payment intent with Stripe the funds are being hold but the API returns as failed

I am trying to hold funds on the customer card until the trip has been completed. On the server: > const capture = await stripe.paymentIntents.create({ >

How to create a folder and save files in root directory from api 30 android?

note: when I say root, I mean the folder where the download, documents, music, android folders are located, etc… Environment.getExternalStoragePublicDire

SIGABRT in the Chromium WebView when calling isAppUsingDarkTheme

We receive interesting native crash reports from our users. According to the log, the exception happens in the com.google.android.webview library when requestin

how to get through 'Future<List<QuerySnapshot<Map<String, dynamic>>>> and get data

I have a list of type 'Future<List<QuerySnapshot<Map<String, dynamic>>>> that looks like this, var postlist = FirebaseFirestore.instance

Handle back button in android

I am fragment then I click to button I will transfer to another activity by using startActivity, then in activity I have a back button in screen, I want to back

Qt and Android 11: accessing file in download folder

I developed an app using QT 5.15 that need to read some kind of files in Android Download folder. All it's OK until Android 9. In Android 10 I added the manifes

How to check android mobile network mode setting state "Always on" or "Auto" or "Always off" programmatically?

I need to get mobile network setting state in WearOS: "Always on" or "Auto" or "Always off". Exactly need to differentiate these states in code maybe there is a

Android Studio AVD always Cold Boots

I am running Android Studio 2021.1.1 patch 3 (just updated from a previous version) on Windows 10. I have a Pixel 2 API 30 AVD that I use a single app in. Rece

remove padding from shadow blur on 9 patch image

i've created shadow using this 9 patch generator link because i need the offset, blur, and the round option https://inloop.github.io/shadow4android/ 9 patch sha

button appearing on android but not ios

I am playing around with a three.js AR build (using a platform called 8th Wall). I have a button that turns the volume on my video object on and off. It works