Category "android"

How to build a horizontal ListView with RecyclerView

I need to implement a horizontal listview in my Android application. I did a bit of research and came across How can I make a horizontal ListView in Android? an

PHP and WebView - Cookie doesn't are the same

I'm using a WebView to show a web application. All works, except one thing: My login: setcookie("USER_ID", $my_id, time() + 86400); My logout: setcookie("U

Bluetooth HCI snoop log not generated

I'm running Android 4.4.2 and I enabled the "Bluetooth HCI snoop log" as described here Sniffing/logging your own Android Bluetooth traffic After turning bluet

Protect media content from copy or redistribution in Android

I want to i)stream media content to android device ii)read media content from sdcard of the android device. But the media content should be secured.No other

Android DualSim, ways/task/api to turn off second sim every day at same hour [closed]

Im using my phone for personal/work lines using dualsim (right now Xiaomi Mi5) with Android 7. Im looking for a way to use my work line (2nd s

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