Category "android"

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

Unknown Module in Android Studio

Hi, I am trying to delete the "Unknown" module and move app & myapplication modules outside "Unknown" but every time I delete the "Unknown" module and sync

How to check if the device uses the right-to-left direction using Jetpack Compose?

On Android we can use android determine if device is in right to left language/layout. But does Jetpack Compose provide any API to check the layout direction? W

whene i open other activity app crash android studio

public class myadapter extends FirebaseRecyclerAdapter<model,myadapter.myviewholder> { Context context; public myadapter(@NonNull FirebaseRecyclerOptions

Android 12 notification/widget PendingIntents show other activity after closing

After updating my device to android 12, activities that I start from notifications or widgets using a PendingIntent will show another activity that was started

Using Bing Maps i Non - Mixed reality mobil app

Anyone here used bing maps in an android app? I have tried the method at https://docs.microsoft.com/en-us/bingmaps/sdk-native/getting-started-android/ But keep

How do I show devices I get from intent sent to another application in kotlin?

I am trying to make connection to another application and I believe is working kind of. When press my button it shows me the logo of the other application. I am

Xamarin forms android throw null exception after updating Xamarin forms to 5.0.0.2401

I have updated Xamarin Forms to latest version(5.0.0.2401). It is working fine in iOS. In android first it returns Error: Could not find 2 Android X assemblies,

Breakpoints is not hitting while debugging a .NET MAUI android application

I have been working on a MAUI android application and when debugging, the breakpoints is not hitting and the application enter in a break state. But for windows

Moshi : Generic Json converter for Room entity

I am trying to create a generic JSON parser String to Object with Moshi but I am not sure if I am doing it right as I am stuck in a scenario which needs to deal

Clone Android tablet

I have 200 android tablets all the same make and model and identical. I want to get one of them and install a few apps and make changes to some settings and so