Category "android"

App Crashes when Room DB Entity Class object boolean value is changed to false

I have a Room DB setup in my app and it was working well until recently when the app started crashing. It happens that I have a boolean value as a field in the

How reverse data in model class

I use firebase ui realtime database to fetch data in RecyclerView and i use model class and i need to show the latest item firest i try to use Collections.rever

How open the emulator on Android studio with the old way ? (Before bumblebee)

In bumblebee version of android studio the emulator is display like in the screen. I cannot move it on an other screen of something like that. In the old way th

How to match color attributes between theme and icon in Jetpack Compose?

I have a vector drawable which has two paths with different attributes referencing to different theme colors. And these attributes' values are being changed by

Twilio 'twilio-video-app-android' github app Video Calling app crashes on joining a room

I am new to twilio and i am developing a andorid app for video calling i have started with the twilio 'twilio-video-app-android' from github But app crashes whe

How do I set up and deploy a Unity application to Google Play using Play app signing and app bundles?

Using app bundles and play app signing is currently the way recommended by google to deploy new apps on google Play. And starting from August 2021 new apps will

Stopping Exoplayer on swiping in viewPager

I am making a reels type app. I have made a ReelsFragment and ReelsAdapter. I have used View Pager 2 to swipe views vertically. I am using Exoplayer to play vid

How to reduce apk size when using FFmpeg

App is developed it's size is hardly 30MB and when integrated FFmpeg Library its size goes to 135MB which is Too much. Anyone know anything?

Volley gives timeout Error but data is sent to server?

I am creating a chatting app using volley. When I send data to the server onResponse comes and I delete the particular thing from my senderHelper class so that

Caused by android.app.ForegroundServiceStartNotAllowedException startForegroundService() not allowed due to mAllowStartForeground false

I have upgrade the Android SDK project 30 to 31. Also i am using the the Android Beacon Library for scanning the the iBeacon. Android 12 i am getting the frquen

Recycler View life cycle methods

The flow of recycler view function call is: getItemCount() -> getItemViewType() -> onCreateViewHolder() -> onBindViewHolder() The size of array list i

Android: SpannableString with correctly formated numbers

I would like to have a list of instructions that are correctly numbered in an enumeration. For that I use the SpannableString and I have the following code: //G

Data not visible

My Variable Class data class QnaVariable( val questionOne: String, val answerOne : String, val questionTwo: String, val answerTwo : String) My ViewModel Class

how to return result in cmd if you use adb to send a broadcast

I have a BroadcastReceiver like this: class PlatformAccountReceiver: BroadcastReceiver(), CoroutineScope by MainScope() { override fun onReceive(co

Google Play Android App Internal Testing - Update button not shown to internal testers

I have found the other versions of my question on SO and have already tried to contact Google through their dev support trying both the chat/email options, but

Android Bluetooth (BLE) corrupted data on onCharacteristicChanged

My app do the following: It sends a command with onDescriptorWrite to the BT device. As soon the BT device gets this command it starts transferring data to the

Paging3 with ViewPager not working (where pages use the same type of PagingSource)

I'm trying to use Paging3 with ViewPager in a project, but something strange is happening. I think it is due to the fact that each page uses the same type of Pa

Modify textview of parent layout from adapter xamarin android

Sorry, I'm using google translate. Hello, I am developing an application in xamarin android with visual studio 2017 to take requests where I send information fr

remove and update items in listview at firebase database

May you help us with our school project. We are trying to delete and update items in listview and firebase database. The delete works but only delete the values

Share file .txt Android

I'm trying to share a .txt file to another app (gmail for example) but I have some problems. I decided to use the file provider. When I select gmail among the a