Category "android"

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

problem in connecting two device through socket programming in python

I'm trying to send a simple message from my mobile to my laptop through socket programming in python. I'm using win 10 and python 3.7.4 on my laptop. I am also

Android / Execution failed for task checkDebugAarMetadata / A failure occurred while executing CheckAarMetadataWorkAction

TL'DR: In this Android Kotlin library I updated from Gradle 5.6.4 to 6.6.1 (commit d5d8d2). Now I cannot build a project depending on the aar anymore. Test setu

Is it possible to release only instant app without installable version?

I have only one module and I want my whole app to be an instant app without any other installable modules. Is it possible to release this app in play store only

Gradle : DSL element 'useProguard' is obsolete and will be removed soon

Since the 3.5 update of Android Studio, I have this warning when building my app : DSL element 'useProguard' is obsolete and will be removed soon. Use 'an

java.lang.IllegalArgumentException: HTTP method annotation is required (e.g., @GET, @POST, etc.).Error when trying call apiInterface GET request

I get error when trying to call API interface get request. I am trying to pass a value through GET method. But I get this error in logcat Caused by: java.lang

Could not install Gradle distribution from 'https://services.gradle.org/distributions/gradle-5.4.1-all.zip'

Could not install Gradle distribution from 'https://services.gradle.org/distributions/gradle-5.4.1-all.zip' I have just installed Android Studio 3.5 on windows