Category "android"

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

Android Gradle plugin requires Java 11 to run. You are currently using Java 1.8. **EXPO.dev**

I'm trying to use the command eas build -p android to build my android .aab file, but each time I'm trying to do so, then I'm finding the error 🤖 Androi

How to align title at layout center in TopAppBar?

TopAppBar( backgroundColor = Color.Transparent, elevation = 0.dp, modifier= Modifier.fillMaxWidth(), navigationIcon = {

AndroidX navigation navigateUp twice

I am using the new AndroidX navigation framework. I have a few fragments all linked in a navigation chain. FragmentA --> FragmentB --> FragmentC Fragme

How to use Parcel.readTypedList() along with @Parcelize from kotlin-android-extensions?

I'm running into a problem with implementing Parcelable-based state persistence in a View. Namely, as I need to implement the methods of BaseSavedState like thi

ImageView.setBackgroundResource

Attempt to invoke virtual method 'void android.widget.ImageView.setBackgroundResource(int)' on a null object reference at com.Adapter.MessageAdapter.onBindView

How to fix this compilation problem on Android?

For the past few days, I have had a problem with my Android app. First it shows me this error: F:\DataHosting\ApplicationV2\app\src\main\java\fr\ph1823\datahost