Category "android"

Making textinputlayout uneditable and setting click event on it

I want to make textinputlayout uneditable by user and when user click on it i want to perform an action. I added android:focusable="false" inside edittext of te

Use adb screenrecord command to mirror Android screen to PC via USB

I've tried the suggestion from fadden to mirror the Android screen to PC, but the vlc player screen show nothing: What would be the correct commands lines f

Flutter-Android how to use the camera while the app is in foreground/background

is it possible to use the camera while the app is in the foreground or background? I tried with these two packages flutter_foreground_task and flutter_backgroun

Charles Proxy certificate is installed on device but calls are blocked Android

So I am trying to use Charles to test the analytics on this app. I've followed many tutorials but I can't seem to get it to work. I've set up Charles properly,

Converting SVG file to Android Vector Drawable XML while keeping the group structure in place

I want to convert SVG files to Android Vector Drawable XMLs. I need the structure of the SVG. To the extend that the SVG groups multiple elements together, I ne

Error with Gradle using VS Code: "Could not run build action using Gradle distribution"

I've started getting the following error message when opening an existing Gradle project in VS Code after upgrading the Gradle installation on my computer: Cou

Unable to connect to ADB server

Previously I was able to connect Android Studio to Samsung Galaxy S4 and muz uPAD tablet. But then I encountered ADB problem. it says ADB is not responding. No

React Native: Error: Package name not found

After integrating RN into an existing Android project, I get the following error: Error: Package name not found in /home/.../AndroidManifest.xml at Object.pr

Cannot create instance of viewmodel after using Hilt in Android

Here is my AllFilesListViewModel class. class AllFilesListViewModel @ViewModelInject constructor( private val pdfItemRepository: PdfItemRepository):ViewMod

I am trying to build a bottom sheet in the below code when i am using Column,the code works fine,but doesnt work with Listview

showModalBottomSheet( context: context, isScrollControlled: true, isDismissible: true, shape: const RoundedRectangleBorder( borderRadius:

Cannot create instance of viewmodel after using Hilt in Android

Here is my AllFilesListViewModel class. class AllFilesListViewModel @ViewModelInject constructor( private val pdfItemRepository: PdfItemRepository):ViewMod

Google Sceneform – Is it deprecated? Any replacement? [closed]

I use in my ARCore project Sceneform. It seems that this project is now mentioned as Archived by Google. More info we can find here or on this

Facebook login not working with facebook application

I am coding for the Login with the Facebook into my android application.I am following this STEPS. I have problem that The logout button is not showing after l

Listen to incoming Whatsapp messages/notifications

I'm working on a notification based app, for which I need to listen to incoming notifications. I've been able to listen to incoming calls, SMS, mail etc. I have

What is the correct way to run mobile UI tests using Appium?

Using Selenium webdriver we can open needed webpage like a precondition before our tests. But how to realize the same way in mobile and does it make any sence?

Crash in AutofillManager NPE: trying to invoke virtual method containsKey(java.lang.String)' on a null object reference

I have no direct traces of using AutofillManager in my project but still getting this crash in crash analytics. How we can handle this? Crash Logs- java.lang.Nu

Gradle can not find firebase auth ktx library in android

As you can see below, I have encounter this error when I try to download missing files inside firebase auth.ktx library otherwise I can not reach any document

What is the easiest way to use SVG images in Android?

I have found a myriad of libraries in order to use SVG images in Android and avoid the frustrating creation of different resolutions and dropping files for each

How to filter a nested relation in Room?

Let's take this example: I have a form, which has several sections, each having questions. Sideways, I have answers that are mapped to questions and they have a

Firebase recyclerview always refreshes and losses its scroll position when starting new activity and returning

My Firebase recycler view always refreshes and loses its scroll position when opening new activity and coming back. Tried multiple solution in Stack Overflow bu