Category "android"

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

Wrong ripple in material3 NavigationBar in Jetpack Composee

When I use Material3 NavigationBar in Jetpack Compose I get wrong rectangular ripple effect like this: Material3 library version: 1.0.0-alpha06 Code: Navigatio

How to trigger other CardView element in recyclerview than clicked?

I have a method in adapter using recyclerview I basically display some elements of cardViews. How to trigger method on other element where usually I use cardVie

How to implement In app Update for Android production bundle in Play Store

I have implemented In App Update in my app, its working fine in on both apk and bundle in Internal Testing but its not working when I Upload the production bund

USB Ethernet on Android devices

I have an embedded Linux system that uses the USB Gadget framework to appear as an Ethernet class device (ACM Ethernet, using the g_ether kernel driver.) All i

Debugging an Android crash without a stack trace

This app instantiates a WebView on app launch without adding it to the UI tree. This is done for preloading purposes. When finally adding the WebView to the UI

How do parental control apps lock the screen?

I am developing an app that locks the screen for some time, just like parental control apps do when the screen time runs out. However, I do not really know how

How to handle Navigation Graph in Nested Fragment of Android

I'm using BottomNavigationView in a fragment and want to show different fragments on tap of each option og that. I'm able to see BottomNavigationView but I'm un

Error "Minimum supported Gradle version is 7.0.2. Current version is 6.8." in Android Studio

An error occurred after I downloaded version 6.8 and the latest version of Gradle. A problem occurred evaluating project ':launcher'. < Failed to apply plug

Is it possible to put background image and curved corner in a button in xamarin android?

I am trying to input an image in a regular button, however it does not show up. My code looks like this <Button android:text="@string/buttonexit"

no ad config with error code 3 in test ads

I have integrated AdMob into my android app and I am using test id to show ads. but whenever I run the app it always goes to onAdFailedToLoad method and I am ge

How to play video from URL in videoview in Android?

I am trying to implement video player in Android using VideoView. I have video uploaded on server I am fetching video from the server and trying to play in Vide

compose NavHost Start the white Screen

My app starts with navigation globally, but I found that when I set the following code, the app will remain blank after startup unless I manually touch the scre

Pair new device over wifi not working in android studio bumblebee

when I try pair device with this, QR code and Pairing code not work and stuck in searching for device... I have phone with android 11 & 12 and Wifi debuggin

How to detect if any part of one view is overlapping another view in android

What I am trying to do: I am trying to determine .... If any part of one view crosses other view What I have done: Usage: isDragOverlap = textView.isOverlap(bu