Category "android"

How to update Jetpack compose UI by override method or outside the function

I am converting my older XML UI as per requirement. in there, I am unable to update by Jetpack compose UI by my override function. In some research I see many w

Android widget OnReceive() being called multiple times when running WorkManager request

I have an app which has a home screen widget via GlanceAppWidget(). I would like to run a worker inside the Content() function of GlanceAppWidget(). I have used

How to receive data from Instagram programmatically android

By referring to existing blogs like this I got to know it can be done adding ?__a=1 as a extension to link then it will return a jsonObject, sure it does but on

PackageManager.FEATURE_FINGERPRINT always returns false on API 23

I am using Fingerprint authentication in my app. To decide whether a device has a fingerprint hardware or not I am using this getPackageManager().hasSystemFeatu

Create emulator with API level 32 in android studio

I created an emulator but it doesn't work. I selected pixel 3a xl phone and I selected Android API 32 (Google play) with x86-64 ABI. It gets timed out when I ru

Lombok Plugin Does not Working In Latest Version Of Android Studio (Bumblebee)

I use Lombok in my project and recently Update my Android Studio To the latest version (Bumblebee) And The Lombok Plugin doesn't work, is there any way to solve

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