Category "android"

Android: Unable to detect vertical plane

I am trying to detect a vertical plane like wall to add image view on a vertical plane. But did not find the vertical plane. As per the default config for a ses

Error inflating class android.fragment.app.FragmentContainerView, can someone tell me what I'm missing

I'm working on getting the Google Place API to appear within a CardView. The particular code I'm looking at is from GitHub, seems to be working for everyone el

Convert Google Map zoom level into km

Can anyone help me to calculate or convert google map camera zoom level into KM distance . I want to send distance to api to get more pin data when user zoom ou

Flutter - save file to download folder - downloads_path_provider

I'm developing a mobile app using flutter. For that I used downloads-path-provider to get the download directory of the mobile phone. The emulator returns /stor

Toast inside onclick recyclerview

I'm making an app in which an activity shows a recyclerview. I'm trying to get a toast when the item in the list is clicked. I've seen the various solutions on

Android Dagger2 ComponentProcessor was unable to process

I'm trying to make multi module project with Dagger2. You can see my code following the link. In the main branch is working solution where all the dagger classe

Does flutter_background_geolocation fetch the location even when app is killed?

I’ve been using background_locator to fetch the location of the user in the background even when app is killed. To be honest, it’s the only package

Room field / getter mismatch warning when using sealed classes or Any

I have a Room (v2.4.0-beta01) database, and whilst it works fine, during the build it gives a field vs getter mismatch warning on a few fields, included below.

Plugin with id 'com.google.gms.google-services' not found. [ Android ]

I was Setup firebase Firebase Official link I'm Following This Link my 2nd step went through it correctly, but I think I am doing some mistakes in 3rd & the

Refresh fragment is not working any more?

I lost some hours today because my code was not working any more. The code to reload the view of a fragment was not working anymore after updating to the new ve

Networkcallback called multiple times even after unregistering

In my android-app I need to call an API via my Wi-Fi connection which doesn't have an internet connection, even though cellular data is enabled. I manage to han

Could not find method compileSdk() for arguments [30] on extension 'android' of type com.android.build.gradle.internal.dsl.BaseAppModuleExtension

I got the above error compileSdk() not found. While creating the app I have installed TargetSdk 31 and min SDK 19 But Apk does not install on Oreo Version so I

Google Play Store Application is Rejected Saying : " Not adhering to Permissions policy"

The application got rejected saying: "Not adhering to Permissions policy" not giving any particular reason as of why it has been rejected but received a mail sa

React Native Android location request timed out

In IOS there isn't a problem while looking for gps coords. It works fine. On Android side its not stable as IOS. This problem both in real device and emulator.

How to edit /etc/hosts file in Android Studio emulator running in nougat?

Anyone know how to edit /etc/hosts file inside an android studio emulator running in nougat? I will be editing it so I can use my virtual host in my local web s

How to fix ERROR: No signature of method: build_ap86oam3dut3pxce3x49rdtma.android()?

ERROR: No signature of method: build_ap86oam3dut3pxce3x49rdtma.android() is applicable for argument types: (build_ap86oam3dut3pxce3x49rdtma$_run_closure1) value

Android force BarCode scanner to scan only BarCodes

I have an Android app, where it simply scans the Barcode and this is working fine. The problem is, sometimes if I have my phone during scanning turned to carpet

how to get the Context Inside the FirebaseMessagingService?

I have an app and It Uses FCM for sending and receiving messages. I have implemented every thing as suggested in docs. Now on generation of token I want to sa

Android Jetpack Navigation - Custom Action with Drawer Item

I am using the new Jetpack Android Navigation in combination with a Drawer Layout. Everything is working as expected when using the same IDs in the Drawer XML i

How to set Google Play `inAppUpdatePriority` using google-php-api-client

I found following thread at : https://issuetracker.google.com/issues/133299031#comment14 Hello, In-app update priority of the release can be set using the P