Category "android"

Jetpack compose - How to do popBackStack with arguments?

I have this scenario in which the user clicks on a button in composable A then selects an item from the list from composable B and selects another item from the

Error: no suitable method found for add(int,int)

ImageSpinner adapter = new ImageSpinner(context, Icons); spinner.setAdapter(adapter); ImageSpinner adapter = new ImageSpinner(context, Icons); spinner.setAdapte

Unable to create converter for class com.anyarscaner.model.ResponModel

I created the Retrofit API function, but it's an obstacle like the following. I corrected it yesterday, but after today it returned to the same problem. Here's

Android camera permissions reduce availability on Playstore

I have an flutter app in playstore but rigth now i'm trying to update with new features, but some camera permissions/features are reducing the app availability

How to programatically determine Android device setup timestamp

I am trying to figure out if there is a way to programmatically determine the timestamp of when an Android device was setup, just like how it can be found in Fi

SDK location not found. CircleCi

I am attempting to deploy a React Native Android application using CircleCI. Here is the job android_deploy_staging: docker: - image: cimg/android:20

Google Maps clustering feature for polygons

I want to use same feature which is used for markers on GoogleMap with clustering if you zoom out too much on map. But I want to use this for custom drawn polyg

Range Error(index): invalid value: valid value range is empty

im trying to set initial value for 'title' but it keeps showing me the error: range error (index): invalid value: valid value range is empty class _ProductCreat

How to call a function on a RecyclerView Item click [android]

I did an OnClickListenner on RecyclerView Item in the ViewHolder class Item = small card + big card like that init { itemView.setOnClickListener {

ANR at android.os.MessageQueue.nativePollOnce

We are seeing this ANR in different parts of our app. Wanted to understand what causes this ANR? main (native): tid=1 systid=31940 #00 pc 0x5431c libc.so #01 p

manage Multiple back stacks when using bottom navigation and navigation component

I am using bottom navigation and I have 3 main fragment in it (fragment 1, 2 and 3 in image) and there is some other fragments that I manage them in navigation

How the AudioManager receive productName for device? From sysfs? Where I can find example?

I want to know how AudioManager in AudioDeviceInfo receives the product name of the connected device.

how to Access to the Response body in the retrofit?

I changed the Volley library to Retrofit. Now I want to access the response body like the Volley library. I searched the internet and came up with this solution

Android studio custom icon state_focused not working

custom_email_icon.xml <?xml version="1.0" encoding="utf-8"?> <selector xmlns:android="http://schemas.android.com/apk/res/android"> <item andr

Firebase App Distribution - No "install" button on Google Play window

I am deploying an aab with Firebase App Distribution to testers in my company for the first time. Devices not any worries while others ... Some are blocked on t

Fatal Exception: java.lang.IllegalArgumentException offset(23) is out of bounds [0, 0] JetPack Compose OutlinedTextField

Facing one crash in the jetpack compose, can anyone please help me with this. Fatal Exception: java.lang.IllegalArgumentException: offset(23) is out of bounds [

How to use this Android Week View Library

I'm trying to implement on my android application a calendar week view where I will show all the events in that week like a school schedule. After searching for

Composable calls are not allowed inside the calculation parameter of inline fun

I am trying to access the dao instance of my room database which is being used to store names(This code I wrote just to get familiar to jetpack compose). I trie

Permission denied when trying to open a PDF file (in the default PDF viewer) from an Android app

My app has "Files and media: Allow management of all files" permission. However, when I try to open a PDF file LogCat reports the following errors: 2022-04-20

How to update Rcyclerview after removing an Item from shared preferences

I have a few recyclerview in different activities and all of their items specified by sharedpreferences but after removing an item from sharedpreferences the re