Category "android"

Error inflating Class Fragment in Recyclerview with Navigation Activity

I'm making an app that uses Android studio to write and call messages. This error message appears during the process of inflating the recycler view into the fra

Some Androids requires manually sending RATS and adding block numbers in transceive() for NfcA tags (ISO 14443-4A)

When reading NfcA tags, I found that some Android models (e.g. Samsung S8) requires me to explicitly send out RATS before SELECT and to send any I-blocks, the b

Jetpack Compose LazyVerticalGrid items having a different size

When I'm trying to use LazyVerticalGrid to display a list of images, some grid items have a different size even the images itself have exactly same size 240x178

Dynamically replace url's with custom text hyperlink url in Android TextView

Let’s say you have the string: "https://google.com to go to google. https://amazon.com to go to Amazon." In a TextView, how would you replace the url&rsqu

CPU, RAM stress android

I have a task to compare the performance of Java and Kotlin programs. I would like to measure CPU memory and RAM usage. I read somewhere that a good idea for CP

Flutter SafeArea: avoid notches, but ignore rounded corners

Is there a way to detect and avoid notches in a phone's screen (for example, the camera notch in an iPhone X), but ignore a screen's rounded corners? For exampl

Firebase notifications on ios - React native

I'm trying to get push notifications running with React Native on iOS and Android. To do so I am using firebase, as that seemed to be very convenient. On Androi

The spinner is empty when no new object is being generated for an ArrayAdapter

To assign data of an ArrayList<String> alKategorien to a spinner auswahl_kategorie, I am using this snippet: ad = new ArrayAdapter( this,

Flutter Error:Please ensure that the SDK and/or project is installed in a location that has read/write permissions for the current user: Flutter Error

I have just started mobile app development and I choose flutter as my first mobile app developing language(I know python,html,javascript already). I have instal

Unable to install Android build-tools with sdkmanager

I'm trying to build android applications with the command line tools in Windows 10. I was able to install the platform tools and the platform with the sdkmanage

Facebook Audience Network Bidding integration in Android

I hope many of you are using Facebook Audience Network for app monetization. I am having some questions regarding their latest new "bidding" strategy. I want to

Detect target phone number on incoming call is it for SIM 1 or for SIM 2 for Android 29+?

I have tried all of the stack overflow solutions but it didn't work, all solutions are outdated I tried both below codes but it always return the -1 int slot =

Could not compile build file, startup failed in android studio

1 Build File "C:\Users\Macking Crasher\Desktop\Nasmus\gl/1a.gradle Tanw: 19 Could not compile auslaste "C:users\Macking Crusher\Desktop\nashoploustd.greate'. st

Testing custom Lint rule with custom scopes

On the project I have a bunch of custom Lint rules. At some point of time I had a need to report single issue with different severity, depending on the scope. S

How To Fix VT-X For Laptop Lenovo

enter image description here android studio can't run the app on emulator I don't what happen in my device small note: my device Lenovo Ideapad 700 Operating Sy

When i click on multiple buttons, multiple audios start playing at the same time in android studio

When i click on multiple images of recyclerview then multiple audios start playing without stopping the previous one. It is getting irritating. I hope someone c

RecyclerView editText text change show another field in android

I have recyclerView where i have added a editText. But when I type text to one edittext, text shows another edittext too. Here is the image.. Above image, I ty

Android >= 11 navigate between folder to find file without manage_external_storage permission

I have an app that have to update some machine firmware. Until targeting API 29 there are no problem, now Google Play Store need to target at least API30... and

ListAdapter currentList and itemCount not returning updates after filter or submitList

I am implementing filterable list for RecyclerView using ListAdapter with AsyncDifferConfig.Builder that implements Filterable. When searching and no result mat

React native keyboard covering input

I have pages with inputs aligned to the bottom of the page, when the keyboard pops up it covers the inputs. To solve this I am using, KeyboardAwareScrollView Ho