Category "android"

.class file too large

I have a kotlin file with a function that returns a list of strings with 10,000 elements, but when compiling it generates an error, saying that the .class file

Why I can't send data from child fragment to parent fragment?

I have a parent fragment with 2 children fragments (home, detail). Inside the parent fragment, there are 2 button to change both children fragment: btn_home and

i was trying to add data in room db but not able to add more than 50 rows

I was trying to add some data in room database android. but while adding there is only 50 rows are visible or entered in db. there is no more data is able to ad

How to handle versioning with fastlane for iOS/android

digging into fastlane for the first time on a react native project, and in the process of getting a demo version up for internal testing on both the google play

AccessibilityService stops working after a while

I have a call recorder app. As you know, for Android 10 and above, I have to use the AccessibilityService. Everything is working just fine from the start but af

Companion device pairing: Is location services needed to be enabled?

I have implemented Companion device pairing and it works great for most devices without requiring any location permission or location services enabled. However,

GIT separating 1 project into the 2

I am working in some project for mobile devices. Soon it will be separated into the two projects with the same code but another one will be for AndroidTV. So ho

navigateUp() and popBackStack() not working. Instead, they reload the current fragment

I am trying to navigate up the backstack. On calling the method view?.findNavController().navigateUp() and logging the destination using view?.findNavController

ChromeOS startActivity does not work if I close app (X top right) and get a notification

I have a ChromeOS 100 Acer Chromebook 314. I open the app, I am logged in, and after that I will close it from the top-right corner. Then I receive a notificati

Why does build folder in Android Development studio grow to 1 GB when resulting compile file is 50 MB?

The build folder grew to 1 GB when compile size is 50 MB using Android studio. Why is this happening? Is it normal?

How to make an Image Getter in a RecyclerView using fromHTML more efficient?

I'm using fromHTML to load HTML text into a TextView inside a RecyclerView element. This does work, however it is incredibly slow as the images are being loaded

Android ndk compile error, arm-linux-androideabi-gcc is not excutable

I tried to build a app using andriod NDK ./waf configure -T debug --android=armeabi-v7a,4.9,21 but the compile failed with the error config.log Checking for 'g

Material3 CircularProgressIndicator not working in Mi11x Pro

Hi I am using android material 3, I try to show Progress Indicator as per google guidelines https://github.com/material-components/material-components-android/b

Ionic/Cordova app does not find MainActivity

My app (Ionic 5 + Cordova 9.1.0) crashes when I try to start it on an Android 11 phone. When I look into the logs with logcat I see that the main activity is no

Different versions of Google Play services cannot be declared depending on the device configuration

When trying to upload my application (aab) to the play store - Im seeing this error, and I cant find anyone talking about it. The error message is translated fr

Reading Latitude and longitude from CSV file and display in google map after applying filtering to a column

I managed to fetch long and lat values from CSV and loop them to display all values in google map .Now i need to filter column Fuel_Type = "Unleaded 91" how to

The work manader's work is not controlled

I have a wok manager that I run from the Main Activity when the user logs into the application. So, I will tell you in more detail what I do in the manager: in

ComposeView with dynamic height flickering inside ConstraintLayout

I have a ComposeView inside a ConstraintLayout like that: <androidx.compose.ui.platform.ComposeView android:id="@+id/compose" android:lay

Animate objects in another column in LazyVerticalGrid

I have a LazyVerticalGrid with items that I animate with animateDpAsState and width upon click on the button. The items below do move downwards but there is a p

Getting android.app.ForegroundServiceStartNotAllowedException in Android 12 (SDK 31)

I upgraded my apps targetSdkVersion and compileSdkVersion to SDK 31, and started receiving the following crash in app in a service that updates widget in backgr