Category "android"

Getter for defaultDisplay: Display!' is deprecated. Deprecated in Java

I need the width of the screen. But recently found Android defaultDisplay deprecacted with message: Getter for defaultDisplay: Display!' is deprecated. Deprecat

Alternative to requestLegacyExternalStorage and MANAGE_EXTERNAL_STORAGE for Public Folders in Android 10/API 29?

I have an Android app on the play store that publishes data to a simple .txt file and lets you share using any other app of your choice. It used to write direct

How to write files on SD Card from Android API 24+

I have a big problem. I want to save some files that I download from internet with my application, into my SD card fallowing this path: /storage/9016-4EF8/Andro

sdkmanager throws Exception in thread "main" java.lang.NoClassDefFoundError: javax/xml/bind/annotation/XmlSchema

I am on MacOS, installed the JDKs 8 ( LTS ) from AdoptOpenJDK to get the android environment up and running and that worked fine! brew cask install adoptopenjdk

React Native KeyboardAvoidingView not working properly after orientation changes

while trying out KeyboardAvoidingView with the Expo Go app and npm create-react-native-app on Android I noticed a weird behaviour after a device rotation. When

Android Play integrity api samples possibly xamarin

I am looking for way to secure my apps in both Android and iOS. Android Noticed that there is this new api Play Integrity Api I am looking for any example on us

ERROR: Could not build wheels for coincurve, which is required to install pyproject.toml-based projects

Error while installing bit using Termux on a Samsung Galaxy s10 Android 12 which is not rooted ~ $ pip3 install bit Collectin

Can we integrate POLQA (perceptual objective listening quality assessment), to Check Voice Quality of Call?

I have requirement to Check Voice quality Rate out of 5 , 5 indicate excellent and 1 is bad. i have research POLQA can do it. but can not find any reference for

Could not find org.junit.jupiter:junit-jupiter:

I was trying to learn how to use OkHTTP. I importetd the library to my project but when i compile the code it brings out this error. Could not find org.junit.ju

Including "implementation 'com.google.firebase:firebase-analytics:17.4.4'" causes app to crash at startup every time

Here is the Logcat: 2020-07-29 15:36:26.382 1382-8050/? I/ActivityTaskManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] f

Firebase chat adds message in other conversation when online

We have implemented a chat application both in iOS and Android which is 1:1 chat, and the structure is also well designed. Recently we figured out a bug which s

Integrate Python Library Spleeter on Android Studio

I want to build an android app based on Spleeter. But I am not sure which tool to use to bridge the way between Java and Python on Android or whether it is poss

How to keep class' members untouched if it contains a field with an annotation in proguard

How do I configure proguard/R8 to keep all the fields and methods of a class if the class contains an annotated field? I have a class public class MyDocument {

sentry android install error Failed to resolve: androidx.lifecycle:lifecycle-common-java8:2.4.0

i want to add sentry 5.6.0 to my android project but always give error on gradle build buildscript { repositories { mavenCentral() } } plugins

After fixing "Android Gradle plugin requires Java 11 to run. You are currently using Java 1.8" Android studio emulator still doesn't work

I got an error "Android Gradle plugin requires Java 11 to run. You are currently using Java 1.8" I change it in IDE settings and JAVA_HOME environment variabl

My Flutter App is Not Working on Android 11 But Working fine in emulator as well as android 8 || (OS Error: Operation not permitted, errno = 1)

Here is My Code import 'package:flutter/material.dart'; import 'package:screenshot/screenshot.dart'; import 'package:sweld/globals.dart'; import 'package:geoloc

How do we use Android package JAR in NativeScript

I'm following the tutorial below but getting issues using the JAR file in nativescript. https://nativescript.org/blog/plugins-and-jars/ I was able to generate a

Android Auto app doesn't show up on physical device

Currently testing Android Auto, where we are now testing on a physical device (in a car). So far I have managed to get add working Android Auto support to an ap

Unable to start activity ComponentInfo: java.lang.NullPointerException: Provided document path must not be null

public class ReplyActivity extends AppCompatActivity { String uid,question,key,privacy; FirebaseFirestore db = FirebaseFirestore.getInstance(); DocumentReferenc

Value con of type java.lang.String cannot be converted to JSONObject

I just got an error at runtime. I understand the problem, but I could not fix it. This is my first time working with Volley and a MySQL database. I want to save