Category "android"

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

Flutter app does not start in debug mode

I had simple Flutter app with debug config. After I change the gradle config and other stuff to build apk in release mode.I did all the config based on the docu

How to handle notch(display cutout) in android API lower than 28?

Android added notch support on API 28, but how to handle it on devices running API 27 (Honor 10, Huawei P20, etc.) ? I was trying to use DisplayCutoutCompat

YouTube video player in flutter

I'm using this package youtube_player_flutter: ^8.0.0 to display YouTube videos in my flutter application but I have a little of issues that I can't solve yet.