Category "android"

Intent action type ("image/jpeg") not enforced by all registered apps, which return incorrect filetypes

Objective Send an intent to open the gallery for selecting photos, show photos only, and allow multi select. Simple. Problem There are some apps that are regist

Android deep link intent doesn't work on some devices

I have an app that listens for a deeplinks starting with example:// The app can be launched by scanning a QR code containing a deeplink. <intent-filter&g

Recyclerview notifyItemRemoved removes a wrong item and not working properly when using view binding

When removing an item from recycler view, it is not working properly. For instance, if you remove beginning from the start it removes other items that are not p

NavHostFragment.findNavController throw: Method addObserver must be called on the main thread

I have another Fragment where this function work. But when i receive a response by the server the program crash and return this exeception. I'm new in android,

NavGraph with dynamic destinations - restore after process kill

This is the setup: View-based Android UI Using androidx.navigation library (tested with versions 2.4.1 and 2.5.0-beta01) Activity, consisting of a bottom bar an

Jetpack Compose Navigation - Bottom Nav Multiple Back Stack - View Model Scoping Issue

So I have two tabs, Tab A and Tab B. Each tab has its own back stack. I implemented the multiple back stack navigation using code in this google docs val na

Android pause and resume ringtone playback

In android, is there any way to pause ringtone playback, play audio and then resume ringtone playback. Using PhoneStateListener Could stop ringtone using below

How can i change the entire speed (timing) of a android game made with cocos2dx?

i'm making reverse engineering on a android game made with cocos2dx library, editing the .so file (libcocos2dcpp.so) with ida pro and a hex editor. i've getting

ViewCompat.setOnApplyWindowInsetsListener() changes background of system navigation bar

App normally has this navigation bar: But when I add ViewCompat.setOnApplyWindowInsetsListener() ViewCompat.setOnApplyWindowInsetsListener(window.decorView) {

Multiple/Nested NavHostFragments - Jetpack Navigation

I have two NavHostFragments, one in an activity which is the startDestination and another one in a Fragment. I can't seem to make the Bottom Navigation work in

Loading assets from Asset Bundles for Play Asset Delivery in Unity

I am currently maintaining an old project which I would very much like to keep the old code and avoid refactoring of the old code if it's possible. To upload it

AndroidDeadException - Knox, Samsung mostly Android 12

We released an update of our app and got a near immediate set of AndroidDeadException crashes reported which continue to the present. These type of exceptions a

What happens to Sharedpreferences/AndroidKeyStore/AccountManager when user choose to copy apps and data from your old device

When a user grabs a new phone, and has an existing phone and wishes to migrate apps and data to the new phone. What exactly happens with the SharedPreferences/A

How to refresh snapshot in flutter

I what to refresh home page so I create widget called RefreshWidget look like this import 'dart:io'; import 'package:flutter/cupertino.dart';

Why is JAVA version not detected? Android Gradle plugin requires Java 11 to run. You are currently using Java 1.8

I am trying to build app in App Center. Build.gradle buildscript { ext.kotlin_version = "1.5.30" repositories { google() mavenCentral()

Ways to work around the Android workManager 15 minute minimum interval?

The game I am working on is a missile-oriented GPS-based combat game on Android. The app checks every 15 minutes to see if the user is under attack by any other

How to solve the error FAILURE: Build failed with an exception. * Where: Script 'C:\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 1005

I'm trying to run the application in the android emulator but this error keeps popping. FAILURE: Build failed with an exception. * Where: Script 'C:\flutte

Room database RawQuery() is not work on "IN" and "NOT IN" clause

I have my one table like UserTable. @Entity public class UserTable{ @PrimaryKey(autoGenerate = true) private int userId; private String userName;

ReferenceError: Can't find variable: _UIManager

First, I am not good at English. I'm sorry. I get the following error on every touch event All that has been modified is to install the react-native-scroll-menu

Error occur when I am building my app.(Execution failed for task ':app:checkDebugAarMetadata'.)

What went wrong: Execution failed for task ':app:checkDebugAarMetadata'. Multiple task action failures occurred: A failure occurred while executing com.android