Category "android"

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

Firebase auth : getIdTokenResult(true) returns expired token after few minutes of inactivity

Using Firebase auth from https://github.com/invertase/react-native-firebase for the react-native project. It works well in all scenarios, handling the token ren

Gradle build-attribution unexpected attribution

I recently deleted and reinstalled my Android Studio IDE and my before working project still finishes building but gives an unexpected exception which is as fol

How to start specific screen when notification appear in flutter

I am using firebase_messaging for notification, everyting is work fine. I have a video calling screen I want to start this screen on notification when app in ba

importing java libraries into dot os source

Hey I'm building dotOS rom for samsung grand prime. Im stuck with an error. the device/samsung/qcom-common/doze/doze/Android.mk: error: SamsungDoze (APPS andr

Flutter error - Gradle task assembleDebug failed with exit code -1

I'm new to flutter. I just created a new project in flutter and have not even altered the code. And when I run the code I get the following error. Launching li

How can I program a while loop that waits for my input in Android?

My question is simple. What method can I use to tell my program that a button is pressed? I'm trying some codelines but its not really working (I tryed with isP

how to make gpx file in android

I wanna write gpx file with DOM and Transformer My code is like that try { val document = DocumentBuilderFactory.newInstance().newDocumentBuilder().

How to fetch 50 by 50 contacts from contact list?

I want to fetch 50 by 50 contacts from the contact list. I tried for loop but it gives me 10 contacts randomly. How to fetch 50 by 50 contacts .. please help

What steps to take to verify my Android Firebase app is on the cloud

I'm a newbie to the firebase cloud process. I have a commercial a security camera to view my house that I can view on my phone many miles from my home. Gettin

Unable to delete eSIM profile on Google Pixel 3a

I have recently changed phone carriers. I cannot download an eSIM for my new carrier while it is supposed to be compatible with the Pixel 3a. They claim this is

Flutter - Adding Container (widget) in GridView when click a button?

I wanted to add a container widget in the GridView when a button is clicked. I was able to do this with the column widget but could not do it with GridView. im

Failed build Project after change directory to external storage; Timeout waiting to lock Java compile cache (/.gradle/7.0.2/javaCompile)

I have an issue when building project after created a new project in different volumes in Mac Os. This what error said : Could not create service of type Defaul

Android/Java: How to open gallery photo in webview android from html ? "<input type="file" id="file" name="picture" multiple="">"? doesn't work

I created a button in html with the command <input type="file" id="file" name="picture" multiple=""> that allows me to choose a photo in the gallery or t

Flutter webview intercept and add headers to all requests

Using the webview_flutter package i could load my website and add session cookies to the initial URL. _controller.future.then((controller) { _webViewControll

Android Tab layout: Wrap tab indicator width with respect to tab title

Is there any way to wrap tab indicator width with respect to tab title ?