Category "android"

How to add/remove characters inside TextField?

I have a Room database with a table that holds users. Each user has an ID and a name. My goal is to change the name of the user based on the ID. Here is what I

when i try to install android application, "app not installed" and stopped. how to fix it

When we try to install our android application, "app not installed" error came and stopped. how to fix this issue and we want to install our application and hav

Trouble getting systemBars Insets on Android 11+

I'm fairly new to Android, and I've been experimenting with edge-to-edge content as described in this guide just making it work with a basic RecyclerView that s

How to set Android exported for Cordova application

I am need to publish a Cordova application on Google Play targeting Android 12. When I uploaded my APK file, I get error You uploaded an APK or Android App Bund

Firebase Authentication fails after publishing App

I am using 2 google accounts and 2 different firebase projects for Development and Release for android app. I have Implemented Google Authentication on both of

Could not resolve org.webkit:android-jsc:+

I'm getting an error every time I try to run 'react-native run-android' or './gradlew bundleRelease' for my React Native project. FAILURE: Build failed with an

Problems with android Compose

I am trying to work through a tutorial on android compose. It works well while I use:kotlin-gradle-plugin:1.5.31, but the android studio has updated to :kotlin-

Need Assistance with Security assessment on Flutter compiled binaries

I'm developing an android app using flutter but during vulnerability assessment client have raised security concerns on flutter compiled arm-based binaries. NX

access web serial api in android chrome browser

using web serial API in windows, mac os, and Linux chrome browser I can receive and send data. but in the android chrome browser, I am not able to send or rece

Load More RecyclerView and Bottom ProgressBar

How to implement setOnScrollListener in RecyclerView Hi I am new in android , i have a query regarding lode more on infinite scroll , Please give me some ways

jCenter returns 502 Bad Gateway

I am trying to build my project but it seems the jcenter is down. $ cd android $ sudo ./gradlew assembleRelease > Task :app:lintVitalRelease FAILED FAILURE:

Android Jetpack Compose - java.lang.NoSuchMethodError: No virtual method setContent(Lkotlin/jvm/functions/Function0;)

I'm getting a java.lang.NoSuchMethodError exception when trying to run setContent{ Composable() }. Full code: class ComposeFragment : Fragment() { override fun

Native Android Firebase AppCheck App attestation failed

I am running the following code from android to get the AppCheck Token. However, I am getting an error with in. FirebaseAppCheck.getInstance() .

In Flutter 3.0, the Qr Code Scanner is giving an error

I am updating an old project. This qr code scanner is giving an error.The project had previously run on flutter 2.10. There are errors in Flutter 3.0. import 'p

FATAL EXCEPTION: OkHttp Dispatcher

I'm using the OkHttp library in my android app to make web requests to a weather API. I've already implemented my code and I'm getting a FATAL EXCEPTION when do

List folder content on sdcard

I'm trying to display mp3 files in a specific folder on sdcard/myaudio, I found this example: How to list all files and folders locating on sd card I write t

How to setup protobuf in kotlin/android studio?

First time using protobuf, so following googles instructions I placed all my .protos in a protos folder in my android studio project. I know the .proto files ar

Flutter: upgrade the version code for play store

I have published an application on the play store with flutter, now I want to upload a new version of the application. I am trying to change the version code wi

Prevent dismissal of BottomSheetDialogFragment on touch outside

I have implemented a BottomSheet Dialog and I want to prevent the bottomsheet from dismissing when the user touches outside of the bottomsheet when it's peeking

How to open google play protect in android programatically?

I want to open google play protect directly from my app so that user can enable or disable play protect easily. Image just for refrence