Category "android"

Persisted SAF URI from Google Drive changes after a few days, content is unreachable

I'm persisting an URI obtained via SAF launched with the following intent: val intent = Intent(Intent.ACTION_CREATE_DOCUMENT) .setType("application/json")

What are dependencies in android?

What are dependencies ? Why do we add dependencies ? I searched a lot but could not find the answers to above questions.

How to fix User interaction disclosure : Eligibility issue in Play Store Family Requirement Policy?

Issue: You must accurately disclose the app's interactive elements on the content rating questionnaire in the Play Console, including whether: users can interac

Could not reach Cloud Firestore backend. Connection failed 1 times

i'm using a very simple code and fetching data from firestore import firebase from 'firebase/app'; import 'firebase/firestore' const firebaseApp = firebase.ini

Android SDK path not specified

I already installed the android studio but i am having a problem to proceed ahead, and the problem is Android SDK path not specified, what does it mean, do i ne

How to implement hiding the toolbar when scrolling WebView?

I have an Activity with WebView and my own AppBarLayout. I want to implement hiding/showing the AppBarLayout with animation when scrolling the WebView, like in

Why do we need permission-tree in Android?

In Android documentation on permission-tree, I cannot find any use scenario showing permission-tree is useful. Now there are several questions in my mind: Why

CardView cardElevation draws random square inside of CardView

A simple problem, I used a CardView to add elevation to a Button but when assigning cardElevation , then the CardView draws a box inside of itself, I tried swit

"java.exe" exited with code 2 Xamarin.Android project

so I have my Xamarin.Android project which contains several libraries. When I try to build I receive an error which says "java.exe" exited with code 2. After

How to auto complete for loop in Android studio

I'm using Android studio and i'm trying to find a way to use a very common thing i used to do in eclipse. when i'm writing (for example) a for loop, i'm writing

Manifest merger failed : Attribute application@appComponentFactory - Androidx

When I'm building Gradle with androidx I get the following error. Please help me to solve this issue. Error Message: Manifest merger failed : Attribute ap

Unity Addressables: RemoteProviderException : TextDataProvider : unable to load from url /base.apk!/assets/aa/settings.json

I have followed closely the samples for using the play asset delivery in my project as it is from here: https://github.com/Unity-Technologies/Addressables-Sampl

Android Studio live preview requires project rebuild

I decided to make an application on jetpack compose but when I download the Android Studio canary version 2021.1.1.1 and I try to write some code to see the cha

How to manage certificates on Android devices using Android Management API

I am developing a solution to manage client certificate deployment on android devices using SCEP. I have a few questions about the Android management API. On th

Android Nougat: TextureView doesn't support displaying a background drawable

I have been using a TextureView in my android app, and it was working fine. Just recently I tested my code on an Android device with Android API 25 (7.1.2). Sam

How to combine multiple mp4 videos into one video using jcodec in Java?

I have multiple mp4 files which are parts of a whole mp4 file. They have been just split up to smaller files. I want to combine those files programmatically int

How to detect change in time each second in Android?

I am creating a custom watch face for android by following this tutorial. I have implemented broadcast receiver to detect change in time as follows: Inside my

Svg not visible in device but visible in android xml

I have used SVG's for these icons, the icons are visible in xml but not visible in device . following is my code : ` <LinearLayout

How to show thumbnail of audio files from storage in android

I want to show the audio file thumbnail with rest of information, how can i parse the thumbnail of all the audio files Function for loading audio files in recyc

java.lang.IllegalStateException:Make sure the content of your adapter is not modified from a background thread, but only from the UI thread

java.lang.IllegalStateException: The content of the adapter has changed but ListView did not receive a notification. Make sure the content of your adapter is