Category "android"

While use TextInputEditText, the error icon override the end icon

I am developing an interface that contains a component TextInputLayout. Here is my layout code: <com.google.android.material.textfield.TextInputLayout

Do I need to disclose use of Google Play billing library in the data safety form?

I've implemented in-app purchases in my app by using the Google Play billing library. I've implemented it as per the guidance here. This just a basic one-time p

Changing button color causes the button to get bigger

Here is what the button looks like after changing the color Here is what it looks like with "show layout bounds" on I have an "add note" button which shows a

silent push notifications in react native app

We are working on a react native app, in which we have some features where we can do some actions using silent push notifications. we are using react-native-fir

Scheduling alarm not working on Android 12

When running on Android 12 and targeting SDK 31 scheduled alarms stopped working for me. I schedule the alarm by AlarmManager alarmMgr = (AlarmManager)context.g

What exactly is the difference between physical density and physical density of a device?

I have created a function to calculate diagonal screen size based on the resolution and pixel density. viz- def find_display_size(d): width=float(720); he

How can I make an accompanist navigation BottomSheet fully expanded?

I know that a normal bottom sheet can be setup like this rememberModalBottomSheetState( initialValue = ModalBottomSheetValue.Hidden, confirmStateChange = {

FirebaseInstanceId Token retrieval failed SERVICE_NOT_AVAILABLE

I'm working on an android app, it uses Firebase Authentication, Database and Storage. It was all working fine until this error message started to show up in log

Using UUID for Primary Key using Room with Android

I need to sync my Android mobile app with a multi-tenant database in the cloud. I thought the best way to do this was using a UUID for the Primary Key of my tab

Android WebView Not showing Anything

I am trying to use webView to show a URL in android app. If I try with this URL- http://stackoverflow.com I am getting this- But if I am trying with th

How i can get Uri from intent?

I did @Override public void onClick(View v) { switch (v.getId()){ //если выбрали

How Do I Solve Android Gradle Plugin Error On Android Studio 3.1.1?

I upgraded Android Gradle plugin to version 3.1.1 and Gradle to Version 4.4. I got the error. How can I solve it?. Please, Anyone. Could not find method fla

Avoid hearing my own voice on PlayFab Party Voice Unity SDK with Photon - PUN 2

I have tested one user on Windows and the other on Android Device. I went away from my computer for making sure that my Laptop does not receive any audio. When

AbstractSavedStateViewModelFactory: SavedStateProvider with the given key is already registered

Although it is the same exception, my situation is different from SavedStateProvider with the given key is already registered as I am using Nav-graph Scoped Vie

Be alerted when an Ad-Blocker blocks ads

I have my android app published in Google Play just like many of you. I know that many users use an Ad blocker to prevent my AdMob to load an interstitial ad an

Flutter build apk on release mode cannot generate updated version

I had run this flutter build apk to release my App. Now I had built version 2 of that. Now, I want to release my version 2 App. So, I run flutter build apk aga

How to resolve "Warning: debug info can be unavailable. Please close other application using ADB: Restart ADB integration and try again"

I am having a slight issue when trying to debug and android app via usb to external device. I keep getting the error "Warning: debug info can be unavailable. Pl

Failure INSTALL PARSE FAILED MANIFEST MALFORMED

I am getting a strange issue while installing application. When I compiling my project there is no error but when I trying to launch its shows me, Installatio

How can I use an API to implement a search functionality on Android?

I am attempting to create a search functionality in an android application and have been doing research on how I can accomplish this while taking in data from a

Calculate distance point to line

I'm using Mapbox for Android Java and need to calculate the distance between a drawn line defined by start and endpoint to the users current location. Any idea