Category "android"

How to pass an interface as parameter in koin

I'm so beginner in koin. I have a method that named "MesheRepoImpl" that get an interface as parameter. I know that I can't pass an interface to a method in Koi

How to restrict the user to enter leading, trailing and consecutive space in a string in kotlin

I have a scenario, where I need to restrict the user to enter leading, trailing and consecutive space and if the user enters do not update the text with space b

Firebase dynamic link does not go smooth

I'm trying to use Firebase dynamic link option and succeeded to create a link that opens the app, but the opening process doesn't look smooth. It looks somethin

How to create unique id for each collection in Firebase?

I want to create a unique id for collection call 'Reservation' and I'm not sure how to do it so. It currently has name, plate number, phone number and timestamp

Firebase crashlytics not able to read crash reports

I have configured crashlytics as per Firebase Documentation https://firebase.google.com/docs/crashlytics/get-started?platform=android. But crash reports not gen

Pass context to store data in Room

I am trying to save received data to local storage using Room library. I have created a database class in which I define the parameters I need and define the co

bottom navigation view doesnt shows fargment unless double click

i fixed the previous error but now this here. fragment isnt visible if i dont click bottom navigation two times. my code: activity_main.xml <androidx.fragmen

How to load data into the database and get it back

When I open the screen by "ID", I get the title and data from "dummy.dart" in accordance with the "exercise_model.dart" model, which fall into the "Slider", in

How to load data into the database and get it back

When I open the screen by "ID", I get the title and data from "dummy.dart" in accordance with the "exercise_model.dart" model, which fall into the "Slider", in

Using Xamarin.Forms and C#, how to connect via bluetooth to Arduino and receive message?

I'm looking all over the place, and I can't find a description of how to do this that I understand... I have to make an Android app in Xamarin.Forms, that conne

Agora SDK- Is it possible to implement peer to peer (one to one) "video chat" using Agora SDK for Android?

I was wondering is there a way to implement one-to-one video chat using Agora SDK. I found lot of resources to implement the video call feature with establishin

Unhandled Exception: HiveError: Cannot read, unknown typeId: 34. Did you forget to register an adapter ? ( Flutter )

App is not restarting after writes made using hive in disk. It's throwing the above error and app is not opening.

request I made to the database server in the apk of my React native android application does not work

in my react-native app, I created a server with express js to connect to the database. And I created api to get data from database. This api works successfully

Flutter overide method back()

How can I make the back button work in android the same way as home. If I click on back, the application is killed, but I need the back button to work the same

Discard a push notification when received on device

I'm using OneSignal to send push notifications to iOS and Android devices. Is it possible to discard a push notification when it's received on a iOS and Android

Redirect a Fragment to another Fragment

I'm studying a lot about Kotlin, and I have a single project to make. So, I have some Fragments and one Activity. All actions from left menu are working, ok. Bu

How can I do work with a coroutine in a foreground service? Kotlin Android

I am trying to build an app that will run in a foreground service and give feedback to the user only through audio. I have followed this example: https://better

How to emulate clicking on coordinates on android in the editor on android python

On my device there is a safe from which I forgot the password and I want to sort through all the passwords through auto-clicking on python. The problem is that

How to use KeyGenerator with PasswordProtection

Let me start off by saying that I am a noob in the whole encryption thing. I am trying to generate a key and store it in the Android KeyStore protected with a p

The plugin `path_provider_android` doesn't have a main class defined

Since i wasn't using the plugin path_provider anymore i tried to delet it, then it gave me a warning, so i deleted a folder caled "data" know i'm trying to do f