Category "android"

Push notification doesn't pop up on Android

I am creating flutter application using FCM for sending push notifications. I am sending notifications with Cloud Functions from website by sending JSON to devi

Detect Adapter onclick Listener method in activity using Entrypoints Dagger hilt

I need a help to detect adapter onclick event in activity class with the help of dagger hilt. Step1 : I have created one interface class which name is ItemClick

Android ViewModel - "by activityViewModels" called before "by viewModels"

After some time away from android development I'm trying to start again with a simple project. I've created a new project picking the "basic activity" option wh

Crossfade Animation with multiple Images using Ffmpeg

I'm creating video with Multiple images using Ffmpeg and i'm using given link - (Remember most important thing is All the images have different sizes) https://s

Is it possible to use kotlinx-datetime with Gson

I have JSON data which is retrieved from the local realm database. I'm trying to convert it into the corresponding data class. I have an ISO date field { ....

How to update jetpack compose slider state outside of the slider

So, I'm using the Jetpack compose for my app and I have a state with a float value in the viewModel. This value can be updated outside of the slider; but also f

Failed to resolve: com.android.support:appcompat-v7:31.0.0

I'm trying to add Jitsi meet sdk to my android project. i've implementation('org.jitsi.react:jitsi-meet-sdk:5.0.2') { transitive = true } and maven { url 'https

Error "Cannot resolve symbol R" only in one file

When enabling View binding, I cannot reference the resource files in custom RecyclerView Adapter anymore. I get an error "cannot resolve symbol R" and it attemp

Critical alert android equivalent

I am developing an app for a local fire department using React-Native, one feature is to alert everyone in case of emergency. On iOS I can use "Critical Alerts"

Use a different image if Dark Mode is enabled on Android

I have two variants of a PNG, one where the drawn text is black and one where it is white. By default, on a white background, I am using the black image variant

How do I wait until data from Preferences DataStore is loaded?

I'm trying to make a LibGDX Live Wallpaper. But I think that is unrelated to the problem I'm having at the moment. Basically, I'm storing the wallpaper's settin

Can i "add module" to unity editor that download without unity hub?

I downloaded unity editor from unity download archive but now i need the android build support module "also known as android SDK/NDK tools" but the "add module"

Firebase android studio not inserting data correctly

This is the data being inserted the the correct one is the [email protected] while the incorrectly inserted ones are the ones with a:Name mAuth.createUserWithEmai

Firebase android studio not inserting data correctly

This is the data being inserted the the correct one is the [email protected] while the incorrectly inserted ones are the ones with a:Name mAuth.createUserWithEmai

How to remove app bar in fragment without .NoActionBar in themes

I need to remove this home_fragment action bar, but I can't write NoActionBar in themes.xml because bottom navigation won't work that way. Anyone has any soluti

error: [MissingType]: Element 'xxxxx.AppDatabase.room' references a type that is not present

error: [MissingType]: Element 'xxxxx.AppDatabase.room' references a type that is not present I get the mentioned error in the title when I try to compile my cod

Netty gRPC server on Android - channel not registered to an event loop

When running Netty gRPC server on Android I am getting the following exception java.lang.IllegalStateException: channel not registered to an event loop Depende

how to configure one or more invocation names for my android app actions application

Im investigating adding App Actions to my existing Android application I have a number of actions working ok using the Google Assistant App Actions test tool an

Pages must fill the whole ViewPager2 (use match_parent) while i set it to match parent

I use viewPager2 in my app with custom adapter and in layout i use my viewpager2 in linearLayout. i set the height and width of my viewpager2 to matchParent, an

adb server version (40) doesn't match this client (41)

Android Studio is unable to install an application throwing the following error: adb server version (40) doesn't match this client (41); killing I tried answer