Category "android"

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

Gradle - A problem occurred evaluating root project (Android)

hello there I was trying to add this repository allprojects { repositories { google() mavenCentral() } } but don't know why I'm getting

Can I store a composable function in a variable?

In Kotlin, function is a first-class citizen. We can store a function in a variable as below val functionVariable: () -> Unit = ::myFunction fun myFunction(

In App Review opens only once when testing for the same account

So I integrated In App Review for my app https://developer.android.com/guide/playcore/in-app-review/kotlin-java#launch-review-flow https://developer.android.com

Flutter is not finding android sdk

Whenever i run flutter doctor the following error comes [√] Flutter (Channel stable, 2.8.1, on Microsoft Windows [Version 10.0.22000.438], locale en-IN)

Ripple with rounded corners Jetpack Compose

In this answer I got wrong ripple animation. Do you know how to create ripple with rounded corners using Jetpack Compose? With default ripple I have this: Code:

How to change startIconDrawable Size in TextInputLayout

Seems like there is no XML attribute to change the startIconDrawable size in android. The icon is oversized as compared to the text. Here is a screenshot of the