Category "android"

Status code 500 occurs in App Actions Test Tool (Android Studio)

I'm getting a 500 error when deleting / creating a Preview using the App Actions Test Tool, which worked fine until a few days ago. I've uploaded an App bundle

warning: [deprecation] <TResult>call(Executor,Callable<TResult>) in Tasks has been deprecated

I'm getting this error while I was running my app (though my app is running fine) : C:\Users\dassa\Downloads\flutter_windows_2.2.3-stable\flutter\.pub-cache\hos

How test a ViewModel function that launch a viewModelScope coroutine? Android Kotlin

I´m trying to figure out the simplest way to test this kind on function members, I´ve seen more complex cases like Coroutines - unit testing viewMod

How to create a list from scanned BLE results

as invers to the question asked here How to convert Flow<List<Object>> to Flow<Object> I want to convert my Flow<Object> to Flow<List

FCM push notification is not working in release branch when minify set to true

I have earlier tested many times FCM was working just fine, but now only in the release environment I am not able to get the push notification. I am using the d

Android Studio button crashing

Good day, ma'am/sir. I would like to ask how to fix this crash thing in Android Studio on my Bluestacks emulator; the problem is the button, every time I click

How to prevent back button from dismissing the keyboard in flutter?

I want to set the keyboard to be always opened in the chat page and should not be dismissable by the back button. The WillPopScope() widget is only preventing t

SavedStateHandle kotlin always receiving null

I need a Factory to support Viewmodel WITH ARGUMENTS. I tried to implement the class which is commended "AbstractSavedStateViewModelFactory". I applied the trou

Monitor reading access to contacts ANDROID without rooting of device

There is a way to monitor reading access to contacts? I tried this experiment: I developed an application that reads contacts subsequentially i ran it. After th

In Flutter on Android: how to save non-image file so the user can instantly see it in other apps?

How can I save a file (txt/pdf/doc etc.) in my Flutter app on Android device in such a way that it will be accessible or "visible to the user" from any other ap

showContextMenu shows drop down menu instead of floating menu

I want to show context menu on single click on a View, I'm using: view.setOnClickListener { it.setOnCreateContextMenuListener { menu, view, contextM

How to use Flutter MethodChannel from FirebaseMessaging.onBackgroundMessage?

I'm using firebase_messaging onBackgroundMessage handler for listening push messages and it works as expected. Now I want to call platform method from this hand

React-native spotify api call returning [Unhandled promise rejection: TypeError: undefined is not an object (evaluating 'data.items.name.map')]

Hey so I'm working on a react-native app that is using the spotify Api. I'm currently trying to call the endpoint which returns a users playlists. The way I wan

How to add elevation just in the bottom of an element? Jetpack Compose

I'm trying to add some elevation or shadow just in the bottom of an element. For this element I'm using a Tab composable. How can I add this elevation/shadow ju

Add an offer to an already existing user subscription in my Android app (Google Play IAP)

Google Play IAP allows the developer to set up offers in the app subscription with trials and discounts. If the offer is a developer determined offer the develo

How to convert graphics overlay into bitmap in mlkit android

I want to just convert graphics overlay to bitmap . https://github.com/googlesamples/mlkit/blob/master/android/vision-quickstart/app/src/main/java/com/google/ml

Facing google sso signIn with error code 12500

I need to login to my application only with googleSSO login not with firebase, I have used ionic & capacitor and googlePlus plugin i followed all the steps

ArrayList get value of another ArrayList

I have a problem with ArrayList. I have 2 ArrayList and they are dependent. class MainActivity : AppCompatActivity() { var arrayList1 = arrayListOf<Stri

intent.getAction() is null inside onNewIntent() during NFC tag scan

This is my first time working with NFC Tags. I have declared the NFC scan activity like this in Manifest: <activity android:name=".main.NFCScanAc

How to count how many times document was downloaded in Firebase?

I have a collection in my Firestore Database with posts. Each post has some comments as a document in the collection comments in the main post document (screens