Category "android"

Firestore returns empty list [duplicate]

I have 3 entries in my firestore database. I need to query the data and fetch it, then input it into an ArrayList. The problem is my query is

Expo - React Native / Firebase app, APK working different than on Expo go app

I have built an app with Expo & firebase and its working with the expo go app. I ran "expo build:android" and got my APK file. The app loads and my Login an

How to draw a circular image in Android Jetpack Compose?

Let's say I have a rectangular avatar image like the one below, how can I force it to be drawn as a circle in Jetpack Compose?

How to implement the intercom/push-to-talk/walkie-talkie feature based on Firebase on Android and iOS?

I’m using Firebase as the cloud database and handling authentication for my Android and iOS APPs, it works quite well. Recently I want to add the intercom

Add Listener to ObjectAnimator using Lambda

I have set-up this objectAnimator that I need to add a listener to: val animator = ObjectAnimator.ofFloat(star, View.TRANSLATION_X, 200f) .a

Unable to create an emulator using android studio

I installed android studio on MacBook Pro but when I try to create a virtual device it shows me an error saying that cpu does not support vt-x.

Flutter - Unable to detect/identify Android Studio

Just a day ago, Flutter, a new hybrid (mobile apps) development framework released by Google Inc. I installed Flutter SDK, following steps, provided from this

How to save and load multiple arrays in android Java?

I'm very new to Android Dev, within this month, and I'm attempting to create a simple app to store 'medication' that a user needs to take each day. Currently, I

Cannot access 'java.lang.Object' which is a supertype of... Check your module classpath for missing or conflicting dependencies

I thought it would be fun and informative to learn more about static code analysis by implementing my own custom linter. I've been trying to declare the below d

Error:(34) error: resource array/preloaded_fonts not found

I imported a font and then decided against it, I deleted it from my files using safe usage and nothing came up, so I deleted it. All of a sudden I am unable t

How to bypass SSL Pinning of an Android App

I want to bypass the SSL pinning of an Android app using the Frida Server method. I have followed the whole process described in this (https://blog.it-securityg

Where is the documentation for build.gradle's `android` block?

In a build.gradle, we have the android block. From my limited understanding of Android Gradle Plugin (and Groovy/ Kotlin), this is a method/ (or function?) call

Unable to connect to adb daeomon on port:5037

I have just installed the android studio, But my "Hello world " App is not running in emulator, It's showing the Emulator error - Unable to connect to adb daemo

Error AAPT2 aapt2-4.1.2-6503028-windows Daemon

When I build apk in Android Studio, it fails with an error like this: Execution failed for task ':app:mergeReleaseResources'. Multiple task action failures oc

How to achieve fluent scrolling in Hybrid Maui Blazor APP?

Update I've added a screencast to better demonstrate the horizontal scroll problem I'm building a Hybrid MAUI / Blazor app. My goal is to make use of the native

How to prevent adb client from auto starting adb server?

It seems like whenever adb client cannot communicate with adb server, it automatically starts it. Is there a way to prevent adb server from automatically starti

Filtering a recyclerview list using map or switchmap

I've been trying to figure this out for 2 days now - I just can't seem to get it to work! I'm using MVVM with a Repository pattern. Could someone tell me what I

Error receiving broadcast Intent when using SmsRetriever

When authenticating using Firebase Auth, I want to auto input the code that is received via SMS. I am able to receive SMS and go through auth process manually,

Failed to bind to the service

On the app launch, I need to check whether a new version is available on play store or not. To check I have implemented below code in Splash screen. private vo

How to save a cookie in an Android webview forever?

With my code below, I have been able to save a cookie, but as soon as I close the application the cookie disappears. How is this caused and how can I solve it?