Category "android"

FacebookSdk not starting android

I have tried everything from tutorials, answers all around, even with examples from https://github.com/facebook/facebook-android-sdk/tree/master/samples. I have

Android NavigationRail Show multiple label lines for item text

I'm developing a NavigationRail and I wanted to display the text of each item in two lines, as show in this official example, but it keeps getting ellipsized in

How to programmatically change Bottom Navigation View's Icons?

I want know how can I change Bottom Navigation View's Icons when user basically selects it and then again replace it with previous icon if user selects differen

Android walkie talkie application unable to connect to server

I am trying to modify an open source application Android Walkie Talkie http://sourceforge.net/projects/android-ptt/ but the original application itself seems to

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