Category "android"

How to remove memory leaks in android studio using leak canary

This is my leak stack trace from Leak canary in my android app. I was unable to provide the whole stack trace but here are the ends and begining ┬─&

There is no overloaded version of 'RequestPermissions' that can be called with these arguments giving more then one permisssion

with Delphi 10 i used a procedure to give android app multiple permissions on a onCreate Event: var permBatt, permRead, permWrite, permBlue, permAccess, per

Android - VideoView unable to play video in external storage

Inside of a fragment in my android application, I take a video using an intent and then save it to my external storage: private void dispatchTakeVideoIntent() {

error gradle when update to bumblebee android studio version

today, i update to bumblebee android version, and i create new project and i import some lib, include dagger-hilt. in build.gradle (module) i insert: plugins {

Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified

App crashes at runtime with the following error : java.lang.IllegalArgumentException: maa.abc: Targeting S+ (version 31 and above) requires that one of FLAG_IM

Handle Notification Bidirectional Body Text in the Correct Way

I have a notification service that sends a notification to the client according to its language. The notification body language can be either Arabic or English.

How to know if a support library already supports AndroidX?

I have project in unity, that uses Mapbox, Mapbox includes the following support library: support-v4-25.1.0.aar This library comes as an .aar file and NOT as a

Why is my runtime dangerous permission auto denied?

I am trying to use the "new" way of requesting external storage write permission. But the request is automatically denied and no window pops up asking the user

How to draw curved line chart using Canvas Jetpack Compose

Does anyone know how to drawLine with curved every corner using canvas in Jetpack Compose? I have achieved this using Canvas.drawPoints(): but I want to make e

Unity-Android checking Export Project in android build settings causes Addressables issues

Im currently using Unity 2020.3.5f1, addressable ver 1.19.17 This is how im setting up my projects : building my addressables in Project A, and downloading and

How can I kill an app that I have started earlier in Android?

My app executes other apps depending on different events. For example, if the Bluetooth gets connected to "my loudspeaker" then my app launches Spotify. This wo

How can we create the below UI as shown in Native Android

I have to implement the below seek bar as shown below. The left side round thumb icon can be dragged and can be placed to each corresponding numbers. The number

Caching JSON data on android: Room vs file

An app retrieves JSON formatted strings from a network and parses them for presentation to the user. What would be the best way to cache the data in case it's n

I would like to change my Items Page from using CollectionView to ListView in xamarin.forms but I am having issues?

The above header refers. I would like to make this change so I can implement expanding lists (whereby my some of my list of items could have sub-items that can

Firebase React Native Expo login error with google

Error message : (0, _auth.signInWithRedirect) is not a function. (In '(0, _auth.signInWithRedirect)(_firebaseConfig.authentication, _firebaseConfig.provider)',

Android 12 Splash Screen API - Increasing SplashScreen Duration

I am learning Android's new SplashScreen API introduced with Android 12. I have so far gotten it to work on my Emulator and Google Pixel 4A, but I want to incre

BottomNavigationView covering up fragment

When creating a new app in Android Studio, using the Bottom Navigation Activity, I've found that having things in the bottom of the fragment will not be shown,

how to see the values I send with the in-app event to Appsflyer?

I used the this tutorial to capture logEvent and then send data to AppysFlyer as in-app events. I can find the event in the dashboard, for example, how many log

What does "pending composition has not been applied" exception mean and how can it be avoided?

I have a working application, but sometimes, for reasons unknown to me, the application crashes with this message: java.lang.IllegalStateException: pending com

How can enable HotSpot on android device by delphi code

By this delphi code I can enable wifi on android device. var WiFIServiceNative: JWifiManager; begin WiFIServiceNative := JWifiManag