Category "android"

React-native <Image> onProgress event returning wrong event.nativeEvent.total in Android

I am using onProgress event of Image component from react-native to try to get the file size in bytes of the remote image (the source uses uri). In iOS everythi

Android 11 SSL handshake fails when using Charles Proxy

Unable to use Charles Proxy with Android devices since the update to 11. I've read the Configure CAs for debugging page and verified that the app I'm testing is

How to implement Android playstore in-app update with react-native

How can I implement play store in-app update with my react-native app, which is already live on play store? I have already implemented code push and also int

Do I need to keep AdMob ad unit IDs in a safe place?

I wanted to ask where should I keep my AdMob ad unit IDs? Is it wrong to keep it in the strings.xml inside my Android Project? And what happens if someone get

How to upload multiple images using Dio and multi_image_picker plugin in Flutter

I want to upload multiple-images using Dio and multi_image_picker plug-in in Flutter. List<Asset> this is the problem because I can't convert from List&l

Google sign-in doesn't work after releasing apk from flutter

The app in debug mode was working fine and everything is good. after releasing apk, Google sign-in doesn't work. I tried all the possible solutions, I checked f

Android AGDE in Visual Studio - how to package an AAB?

I'm using the Google Visual Studio plugin AGDE to generate an APK - which works fine. I'm trying to get it to output an AAB file - but not having much luck. Doe

Intercepting TCP packets of genymotion android emulator

I am pentesting android application. I used burpsuite and configured genymotion emulated android to use my host as proxy. Installed CA certificates on android (

Set Drawable instance to Image in Jetpack Compose

In Jetpack Compose, who can tell me is there a way to assign a Drawable Object to the Image compose view? I took the apps installed on an Android device. I get

Flutter local notification onSelectNotification can not open a new page when a local notification is clicked

I want my flutter app to open a page when a local notification is clicked. I've defined the following codes in the event listener: Navigator.push( Ccontext,

Jetpack Compose - Column - Gravity center

I'm creating a layout with Jetpack Compose and there is a column. I would like center items inside this column: Column(modifier = ExpandedWidth) { Tex

In android how to find what /dev/input/event* is used for touchscreen using c function

I am trying to read touchscreen event, in my device /dev/input/event4 is used for touchscreen, while in some other phone, event7 is used for touchscreen. I am l

Facebook and Google login doesn't work for Android AAB build uploaded to Firebase App Distribution

Since I started to upload AAB instead of APK on Firebase App Distribution, I've noticed Facebok and Google authentication were not working anymore. In my Fireba

a TCP client communicating with a server set on ESP8266-01

I'm setting up a TCP/IP communication between an android app and an ESP8266 module connected to Arduino uno. I'm using AT commands to set up the server as follo

How to send Body Data to GET Method Request android

like this, I want to send json body request to GET API tried this but not worked public static void getQuestionsListApi2(final String requestId, final Str

Admob interstitial ads are not closing

I'm showing interstitial ad in my app and ads are loading and displaying perfectly but the issue is that ads are not closing when I click cross button on back b

Why does GLES20.glCreateShader always returns 0?

I'm trying to make an OpenGL ES app in android using java and I have run in a major issue: GLES20.glCreateShader(type) (type beeing GLES20.GL_VERTEX_SHADER or G

Is 'constructor LocationRequest()' deprecated in google maps v2?

I stumbled upon this message recently, and I was pretty sure that this constructor wasn't deprecated in prior versions to 18.0.0, but I cannot find information

How do I best control activity flow?

I am tasked with building an app that does not have a fixed screen order. When started the app will contact a server an get a list of actions to perform. So one

Reference to an enclosing class method cannot be extracted on refactoring

When I want to do "Extract to widget", it raises an error : "reference to an enclosing class method cannot be extracted" I know there is some variables that mu