Category "android"

Firebase Realtime Database from Android setValue not working

I am trying to use the realtime database for the first time. The set value function is not working for me. I already updated the writing rules in the following

cmdline-tools : could not determine SDK root

C:\Android\sdk\bin>sdkmanager Error: Could not determine SDK root. Error: Either specify it explicitly with --sdk_root= or move this package into its expecte

Internal app sharing without install button

In some devices, ex Google Pixel 3 XL, button Install disappear, although they use same google play account and open a same internal app. Does anyone have a s

how to compile a Kivy app, that uses the Google API, with buildozer?

I have created a APP using Kivy and Google API and it working on my computer, but after having compiled with buildozer, by open on my phone, it crashed systemat

How to update list in RecyclerView with DiffUtils?

How do you use DiffCallback to load a newList in RecyclerView when DiffUtil ItemCallback is being used. I would like to give the user the option to return diff

Password manager autofill

how to make an autofill app like dashlane, or lastpass on android studio. I want to make an autofill app, example facebook, It can autofill my login credentials

How to use Android RRO to overlay a layout?

I'm trying to customize Android 10 AOSP Settings app (com.android.settings) using a Runtime Resource Overlay (RRO). When using a RRO, I can successfully customi

handleWindowVisibility: no activity for token android.os.BinderProxy

I have a Login screen and upon success login, it finishes and shows another page that has information about the user. I read about this post and also this post.

I must foreground service when receives location information only once in android 10 and above?

hello friends, i want receive update user location and show in text view only once and remove update location when it received. i must use foreground service f

Share Intent text using Kotlin on Android

I want to share text in my CardView using share Intent using kotlin but there is a problem with last line in the code in kotlin the code val shareIntent = I

How to handle request code in Android ActivityResultLauncher api

After updating my app to AndroidX I noticed startActivityForResult() is depreciated. I looked through the documentation and found some good explanations, but I

Create one aar from multi module library in android

I have the following modules in my aaplication Module -app -library_1 -library_2 the module library_1 'has dependecy of library_2 build gradle library_1 de

Convert Flutter Frame Camera to android Bitmap

I'm developing a Flutter plugin for Android and iOS using the Flutter plugin camera. First I stream the frame from the plugin using this method: controller.star

Dynamically adjust position of textview to always be at bottom of current camera preview

My layout is shown below. i want the textview to appear at the bottom of the camera preview. but this is not the case when the user changes the aspect the ratio

how to Save Inputted Values ​from Edittext into Array?

I am making a program to get Values ​​from edittext and store it in an array then I want to display that array on screen and here is my command Edi

How can I access specific data in Firebase?

I want to delete the messages of every user before 30 days. When the user enters the application, their own messages are deleted. But I can't access every user'

Using PHP sessions to open new android activity

I have created the following PHP in order to check if some username already exists inside a database. If it exists and the username+password is correct, I had

Android react-native-webview “SSL Error: Hostname mismatch” (expo)

when I use the WebView on expo with an external uri which I’m not the owner (I’m doing an SSO Auth page that uses cookies), if I open on iOS everyth

Android Studio Database Inspector always showing database as "closed"

I am trying to use Database Inspector in Android Studio. Why I run the app on the device, it inspector is always showing my application database (highlighted in

how i can add multiple themes in flutter?

i'm new in flutter space 'just 3 weeks from first code i wrote' and wanna to help in this issue, i develop an application with multiple themes 'just colors' and