Category "android"

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

Kotlin Flow returned from Room does not update when an insert is performed from another Fragment/ViewModel

I have a Room database that returns a Flow of objects. When I insert a new item into the database, the Flow's collect function only triggers if the insert was p

Android app crashes when activity is initialised from fragment [duplicate]

I am currently trying to create a calendar app in android studio. The app contains a calendar with different "Views" e.g. monthly view, weekly

Modify xml shared_prefs file using adb

I am trying to interact with android app shared_prefs using adb. Let's use VLC for this example. The shared preferences are stored in: /data/data/org.videolan.v

Interaction jetpack compose with bluetooth library

how to use Android Bluetooth api in jetpack compose ? compose need state and Bluetooth api has not compostable function .i mean how to instance state for Blueto