Category "android"

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

Room Database returns updated value only after app restart

i am inserting and deleting a row in room database using following methods of ViewModel class fun insert(rules: TableRules) = viewModelScope.launch { reposi

I am using viewpager2 inside a recyclerview but the images are not outputting. Why?

No matter what I do the pictures are not showing up. Even if I set the items to match parent, I still have the same problem, I've been dealing with it since the

Here Navigate SDK Issue - "These credentials do not authorize access"

I am trying to migrate my project from Premium Sdk (Android) to Navigate Sdk Edition (Android) , but I have an issue when I am trying to load map scene (Normal_

Android ViewModel's LiveData not updating the UI

I have the following fragment: todays_training_fragment.xml <?xml version="1.0" encoding="utf-8"?> <layout xmlns:android="http://schemas.android.com/ap

Flutter Web-RTC getDisplayMedia results in app crash

I want to create an app for Video-calling between 2 devices, with the possibility to share their own screen with the Flutter WebRTC plugin. I already made the v

FutureTask in android

I'm very new to Android so maybe my question is a bit of a beginner. I want to use the futureTask method in my program, but I really do not know how to use it.

Having issue with installation

I have a project that was just completed on Android Studio, i try to run the apk package on my phone and it giving me there was an error parsing the package. An