Category "android"

React Native. Native Android component is not rendered

I want to add a component from Android to React Native. But it does not render and does not have dimensions. How can I fix this and display the component? Code

Android Plurals for float values

I would like to use plurals for my Android project. However, the values I provide can be float values. So for instance, when setting 1.5 stars, I want this to

Android Studio Error Code: 1 Executing tasks: [:app:assembleDebug]

When I run my app I get this: Executing tasks: [:app:assembleDebug] Configuration on demand is an incubating feature. :app:preBuild :app:compileDebugNdk UP-T

How to prevent Bluetooth Disconnected when moving Fragment

I make a POS in android. I want to make a printing in my apps. To do printing I'm using bluetooth printer. Then, I had success make the bluetooth connection and

How do we get the position/size of a Composable in a screen?

In Compose, how do we get the position or size of a Composable in a screen ? For example, I'm trying to focus the map camera between specific bounds and adding

Unable to sync Gradle with Firebase Crashlytic 2.6.0 using Android Studio 4.2

Project-level build.gradle buildscript { addRepos(repositories) dependencies { classpath 'com.google.gms:google-services:4.3.5' // Cra

Communication between BroadcastReceiver and Activity - android

I have a broadcast receiver in my app which is fired every time the user gets an incoming call. Now, when it happens, I need the broadcast receiver to invoke a

Is it possible to update Android Manifest programmatically at runtime?

What I want to achieve: I am creating an application which changes the app icon and app name programmatically. What I have achieved: I've already achieved t

How Do We Leave Picture-In-Picture Mode?

We have enterPictureInPictureMode() to move an activity from its current form into a picture-in-picture representation. What is the means by which we revert th

How to build an app locker application using flutter

I want to create an app which allows to put lock on the other apps that are to be protected in the device. This app lock will start automatically before opening

how to update value of a firebase column on event success

I am using the RazorPay API in my android app and I want to update the value of a particular user's "count" on successful payment. So I put the following code f

Expo SecureStore Limitations

I will build an app that will have 2 Features Store a unique secret that will never leave the Device Store a secret that has to be backed up For the first Featu

"Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.5.1, expected version is 1.1.16"

I am a beginner in Kotlin App Development. The following error is occurred when I tried to build the app - e: C:/Users/Lenovo/.gradle/caches/transforms-2/files

Get full address details based on current location's latitude and longitude in Flutter

I have used the location plugin in the flutter, I can get the latitude and longitude only. How to get the full address details. Codes on below. Future<Map&l

Recomendation for daily background work in Android

I just want to know any of your experiences scheduling daily jobs that perform tasks like data upload with POST API request and then update the local database w

How to add dividers in Bottom Navigation View

I'm trying to add divider in menu items of BottomNavigationView All items are showing horizontally in the bottom but I'm not able to add dividers into it. Bot

How can I change default dialog button text color in android 5

I have many alert dialogs in my app. It is a default layout but I am adding positive and negative buttons to the dialog. So the buttons get the default text col

SQLite (Android) : UPDATE query with ORDER BY

Android, SQLite : I want to insert rows in between other rows in myTable using SQLite in android. For this, I am trying to increment ids of the all rows startin

Android : copy file to Google Drive using Google Drive API - what is best approach?

I need to copy a file to Google Drive from Android App. Consider copying 4-5 MB file size to root folder. Have gone through some sample code from here. Can some

No signature of method: .android() is applicable for argument types. Exception in build.gradle (app)

Exception is: org.gradle.api.GradleScriptException: A problem occurred evaluating project ':app' Caused by: groovy.lang.MissingMethodException: No signature of