Category "android"

How use File("/sdcard/myfile") without READ_EXTERNAL_STORAGE on android 11?

After my Application have been refused by the play Store I have to remove MANAGE_EXTERNAL_STORAGE to the manifest. This authorisation is only for app like antiv

Play video from URI in Jetpack Compose android

I am trying to play a video which user selects from file explorer. Then it should open and start video as expected and as shown in below tutorial. But there is

Match Width of Parent in Column (Jetpack Compose)

By default, Column {} has the width of it's largest child element. How can I make all other elements to fit the width of the parent Column? If I use Modifier.fi

Match Width of Parent in Column (Jetpack Compose)

By default, Column {} has the width of it's largest child element. How can I make all other elements to fit the width of the parent Column? If I use Modifier.fi

How to properly setup google play signin in Android?

I developed a game in android. I tried to implement the GooglePlay SignIn but it shows an error. I'm not able to debug this error. I tried installing the app in

No variants of io.grpc:protoc-gen-grpc-java:1.33.1 match the consumer attributes

Issue: I'm using Dexguard to obfuscate codes for release build. Previously, I could build as normal without errors. However, when I add this dependency com.gith

'android.app.ActivityThread$ApplicationThread android.app.ActivityThread.getApplicationThread()' on a null object reference

I am trying to show the native phone number hint pop up from unity, but I keep getting the below exception. java.lang.NullPointerException: Attempt to invoke vi

But really, how does the AndroidX Paging Library know when to load more pages?

There's this question, which is identically worded. But the poster's problem was solved without actually answering the question posted - because the problem was

Flutter web view doesn't work on release mode

I'm creating a Flutter application. If I run this application on debug mode webview works well but if I run this application on release mode it shows blank scre

Issue centering a QR square

I am writing an Android test app to see how to handle QR codes. This is the code for the main activity (MainActivity.kt) and a question is following. package me

How to add a marker in my location in a map

I want to add an image into my map marker, I don't know why this code is not working. The marker is not displaying in my current location.If I move the marker t

Android: Issue with transparent activity

Recently, on one of our production apps, transparent activity has stopped working. By this I mean that it became a black background instead of transparent. When

`Failed resolution of: Lcom/google/android/datatransport/TransportFactory` when using Xamarin.Firebase

I'm creating a .NET MAUI application using the current preview 11. When I tried to implement Push notifications I added the Xamarin.Firebase.Messaging package a

Manifest merger failed : uses-sdk:minSdkVersion 19 cannot be smaller than version 21 declared in library

I am using instamojo payment library in my project version 3.4.0 compile 'com.instamojo:android-sdk:3.4.0' when i change min Sdk version from 21 to 19, it is sh

Azimuth mirrored after remapping axis coordinate system

I am trying to remap a device that has an alternate coordinate system. The sensor is reporting values that are rotated 90° around the X axis. The format is

How to fix this issue ? FAILURE: Build failed with an exception

I try to add a package name as new_version: ^0.2.3. After the terminal return the below error. How can I fix this? FAILURE: Build failed with an exception. Wher

Firebase CreateUserWithEmailAndPassword problem

Everything is looking fine but i am not able to undertand why every time it is showing only registration failed... please help me out

react-native swipeable gesture not working on android?

I am doing a react native course with Mosh (https://codewithmosh.com/). I am using expo. I am very new to react native and don't really know what I am doing, bu

Create a new colour resource to be used as the background for the data entry part of the MainActivity using android studio

Create a new colour resource to be used as the background for the data entry part of the MainActivity.

Flutter Failure [INSTALL_PARSE_FAILED_UNEXPECTED_EXCEPTION]

Recently, I used Flutter to reconstruct the previous Android project, but it could not be installed on some Android phones. The following is an error message: E