Category "android"

Hiding Android Splash screen in Capacitor Ionic/Ionic React

I'm having issues with the Ionic Capacitor Splashscreen. I've tried to use the official documentation which can be found here. However none of the examples in t

Jetpack Compose Decrease height of TextField

I am trying to design a search bar like Google search bar with decreased height. But the Input text is getting cropped also the placeholder text. Te

Hiding and Unhiding App icon in the launcher

I am currently implementing a feature to hide and unhide app icon in the launcher based on some certain condition. I have succeeded in hiding the icon. However

android studio with Java compiler error: string too large to encode using UTF-8 written instead as 'STRING_TOO_LARGE'

When I clean the android project in android studio, the error happen, I have backed to previous commit or different branch, which works find couple days ago, bu

setOnUtteranceProgressListener not at all working for Text To Speech for API > 21

I want setOnUtteranceProgressListener should notify a Toast after the speech is completed.It seems not working. I have used setOnUtteranceProgressListener and o

OSMDroid Points of interest using multiple facilities

I am using OSMDroid with its bonus pack to display a map and get point of interest near a location, but I can't find a way to get POI of different type in once.

React native TypeError: Network request failed with fetch()

I'm using React native for developing an android application. With this fetch request I'm getting the error TypeError: network request failed: fetch('https://p

Flutter Execute Method so long the button pressed

I want to execute a method while a user is pressing down on a button. In pseudocode: while (button.isPressed) { executeCallback(); } In other words, the exec

When can I stop using AppCompat or Support libraries? [closed]

I'm building an app with minSdkVersion 23. Can I stop using support libraries like androidx.appcompat:appcompat and stuff like AppCompatActiv

Android page design editing

I have radio app with scrolling sort view on home screen like this: https://i.ibb.co/HBwFH2X/1.png i trying to edit this and make 2 columns with 2 rows like thi

BitmapFactory.decodeFile returns null with inJustDecodeBounds set to false

In my android app I am trying to create a Bitmap file from path. Here is the path localImagePath = "/storage/emulated/0/Hootout/HootImages/Profilepic/user_pro

Android 11 ACTION_OPEN_DOCUMENT_TREE: set initial URI to the Documents folder [duplicate]

using the Scoped Storage model in Android 11 I want to give the user the ability to choose a folder, starting in the documents folder: val int

Build complex PDF in kotlin [closed]

I want to create "complex" (footer, header, cells and pictures) pdf for my android application (kotlin). I've seen some people already asked f

Android - deep link - got null categories from intent

My app can be opened with deep link. When clicking a link in an email from the Outlook Android app, my app is opened. But, the Intent doesn't contain any catego

How to add a Lottie animation in Java programatically

I tried to add Lottie Animation to Java (Android) programmatically, but I keep failing. I will show my code below I need to change from drawable to Lottie. This

download url is getting as com.google.android.gms.tasks.zzu@441942b : Firebase Storage

i have checked available resources and yet either i get error or at best i get com.google.android.gms.tasks.zzu@5f9a842 as the uri Following this latest google

How to implement a custom view in a RecyclerView using a BindingAdapter

Can anyone help me to use a custom view (AAChartCore-Kotlin, ChartView) in a RecyclerView (displaying some speedcubing sessions' data) using a binding adapter?

How can I set the ACTION_OPEN_DOCUMENT_TREE start path the first time a user uses my app?

I've seen a lot of questions regarding setting the start Uri for the Intent.ACTION_OPEN_DOCUMENT_TREE but all of those require a Uri that comes from having used

Migration to Google Identity Services(GIS) and Sign In using REST

I have an Android project with "Google Sign In" button. In most of the cases, I use native Sign In SDK BUT cover as well the case when device has no preinstalle

Android Kotlin findViewById must not be null

We have created a custom alert dialog that was used in a Java project by converting it to Kotlin The error posted below java.lang.IllegalStateException: findVi