Category "android"

Android App receives 2 connections from the same device (nRF Module)

I have an android app which scans and connects to a predefined device name. My peripheral is an nRF module which is sending an incrementing data at 1Hz. However

How to build a tree using LazyColumn in Jetpack Compose?

In my jetpack-compose app, I'm building a comment tree, where the top level, and the leaves, are lists, that would be best to use LazyColumn. This is of the for

android emulator disable microphone when launching device

How do we disable the (virtual) microphone when launching the emulator? Situation When launching an Android Studio stock emulator device, the microphone is alwa

How to remove application from "All Apps" in Google Play Console

Is there any way to permenantly REMOVE an application from the list of applications in Google Play Console? (not just Unpublish). I would be very grateful for y

Can't find the Transitive Dependency using maven publication

I have checked multiple questions and have checked the answers as well but those are not working for me. LibraryA -> LibraryB -> App I want to access the

How to check classifier declaration in lint rule android

I want to include some additional lint rules in my Android project. when setting up our modules & their corresponding dependencies I need a rule that we alw

Google PLay Console doesn't remember text and pictures inserted before

I have created a full description and put icons of my App to be created and sold via Google Play Console, but when I visit the developer page again nothing is r

Android app's access to TxAdd and PDU Type in the received BLE advertising packets

I am writing an app that performs BLE scanning to collect advertising packets nearby. I wonder if Android Bluetooth libraries allow us to extract the TxAdd and

Can these regexes cause catastrophic backtracking? [duplicate]

I'm new to regexes. I am using these regexes throughout my android project. Can any of these cause the catastrophic backtracking? To check for

Recompose when back to activity

I have an activity with a list of items (LazyColumn). When I click on an item, it launches a new activity to edit the item. If I change the item and save it, go

How to auto-close app open ads after splash

I placed an ad of the type: "app-open" admob. This advertisement is not accepted by the App Store except in one case: That there is a splash for the application

Why is android studio not allowing me to select a locale region?

I want to use resource qualifiers to create a locale specific strings.xml file for English (United States) but when in the "New Resource File" window, if I sele

Android UI tests with Hillt and NavComponent - NavController not set error

I've been trying to write some UI tests for Android app. I followed official docs, youtube tutorials and stackoverflow answers and I keep getting the same error

I am trying to make a smart contract transaction. My transactions never gets mined

I have a smart contract deployed. Whenever I try to perform a transaction, the transaction starts, but that's it. The transaction never actually takes place (or

Order ArrayList with Int and String in Kotlin

I have the given array val things = arrayOf<Any>("Jack", 8, 2, 6, "King", 5, 3, "Queen", "Jack"); Below is the code I have used things.set(things.indexO

(Anrdoid) How to prepopulate the Room database

I made a screen like the current image. Data such as A, B, C.. are currently being set by getting from the strings.xml resource file. I am now going to use Roo

Android Nearby Connection - Keeping wifi direct connection, reconnection with more than 4 devices

We're building an app for sending image payload between 1 to 4~5 devices using STAR strategy. and we are keeping the connection as much as possible, and faster

How to return multimap type with 3 tables (Android Room Databases)

I am trying to do a 3 way JOIN in my query for my Android Room Database. My tables relationships are: Table1 has a 1 to 1 relationship with Table2 Table2 has a

Combining Two Flows and add them to temporary list of StateFlow(Hot Flows)

I m getting data from two End points using flows and assigning those two list to temporary list in ViewModel. For this purpose, I'm using combine function and r

ApolloNetworkException sometime on Apollo Mutation on Android

I am using ApolloClient for Android. Sometime one mutation api failed with ApolloNetworkException. Problem is i can't generate in debugging. This exception occu