Category "android"

Show custom alert dialog in Jetpack Compose

I am searching how create custom dialog in Jetpack Compose. In XML or Material Design we can create easily custom Dialog in which we can take user input, radio

How to init a sealed-class in MutableStateFlow

I have a sealed-class like this sealed class LoadState { class Loading : LoadState() class Success : LoadState() class Fail : LoadState() } I use s

How to identify the source of a context object in android java?

Overview I am working on android application in java. I have Products which can be viewed as a list by customers and vendors. Problem I want to be able to utili

How to do file operations (create/write/update/delete files) using the Flutter "saf" Package

How to do file operations (create/write/update/delete files) using the Flutter "saf" Package. link:- pub.dev/packages/saf I didn't find any solutions on Google.

How can I install Firebase AppCheck in my Android React Native project?

I have secured my project with Appcheck in Firebase, I have two apps in my firebase project in which one of them is a web app (https://host-bloodhelper.web.app/

Location tracking in react native even if app is closed?

I am looking for Location tracking in react native even if app is closed? I have tried react-native-location but how i will track location and get response from

Android Alarm Manager Plus in Flutter never fires periodic

Android Alarm Manager Plus in Flutter never fires periodic after 1 minute regularly

On a Sunmi K2 Terminal how can I print (on the build-in printer) something using WinDev Mobile?

I'm using a Sunmi K2 POS Checkout Terminal running with Android 7.1.2 I'm developing a POS software with WinDev for Mobile 26, I'm already displaying some windo

Android 12: Detect if user disables/enables camera and microphone

With the new Android 12 operating system, the user now has the ability to completely disable microphone and camera usage from ALL apps. This is actually a good

Do I have to use Bundle for data exchange between activity and fragment?

Multiple Fragments are created in one Activity to switch pages to Fragment binding. At this point, the data in Main Activity must be used by all fragments. So I

Android Studio app crash when paho mqtt eclipse client connect [duplicate]

My Android app keeps crashing only in Android 12 when i want to connect to the mqtt server. What can i do. I tried this solution:Targeting S+

Nativescript Core > TabStripItem auto-formatting text (Android)

Re-posted here from here I'm working with Tabs / TabStrip / TabStripItem and I'm running into a problem (this is only tested on Android). I'm creating a Label u

Android Studio Layout Preview Default Theme

Maybe this is well known option in Android Studio but I couldn't find it and Google has not helped me with this :( Every time I open a layout preview in Android

How to deploy an Android instant app from Azure-DevOps release pipeline

I am trying to deploy an Android Instant App using Azure DevOps release pipelines. Therefore I already have a working release pipeline for my app and can succes

Why i can't install something on termux android?

Its still get error, error and error again, i trying to install it again but still error The error: CANNOT LINK EXECUTABLE "/data/data/com.termux/files/usr/

Jetpack Compose: Text remains black even when the theme is dark

The text in the app still remains black even if the theme is set to dark and background is dark. Just take a look at the code and screenshots below. Theme.kt (h

How to send message from "Activity" class to a customize layout

I am trying to develop a bluetooth app. I have a class called "ConnectionManagement" which implement the "connect/accept" and "read/write". The information i ge

Is there a way to set auto refresh the jetpack compose preview?

I just started to use the Jetpack compose toolkit. I added the @Preview and a set showBackground = true, showSystemUi = true as parameters and it works really g

Android talkback reads background text behind the bottomsheet

When bottom sheet is shown in my app want to stop talkback reading background text. The behaviour works fine in Google News app. Issue: Talkback setting is ON.

Android studio emulator Stops

I am asking for your kind support. I have problem with Android studio emulator. The emulator always stops. It is quite annoying as I want to test the applicatio