Category "android"

failed to build react native project

I had been able to build and run the react-native project in my old intel based mac successfully. Recently I migrated my project to the apple silicon and now I'

listview not getting data correctly

okay, so i got a listView in my android app to display messages, everything has been going good ever since i got help on time but now i got a bug where the last

Can't install nodejs in Termux on Android

When I do pkg install nodejs or pkg install nodejs-lts it gives me a this message: Checking availability of current mirror: ok Ign:1 https://dl.bintray.com/gri

How to add arc for rounded corner for cut off area in jetpack compose?

I wanted the rounded curve around the corner of triangle in left and right. I tried to add arc but I don't know it's not working maybe the coordinate are wrong

Android stop foreground service executes onStartCommand

Why calling context.stopService(stopIntent) is going to execute onStartCommand am i missing something? i had to do this in the onStartCommand if (ACTION_STOP_SE

Service stope after few Hours in android

I am creating one foreground service and start this service using STICKY. It detect phone lock and on event. It working fine for few hours but after some time t

[Android][MenuItem]How to display title text when long press actionLayout?

I'm using MenuItem in my tool bar and some of the items require custom layouts, so I created actionLayout for them. The UI looks fine, but when I long press the

How can use MediaMetadataRetriever().setDataSource() while MediaStore.Audio.Media.DATA is deprecated to get the path

I'm trying to get all audio files of an android device in addition to cover image of each one of them. MediaMetadataRetriever().setDataSource() should take a pa

setOnClickListener is not showing the Toast or doing the Intent

this is in Kotlin, it doesn't seem to work no matter what I try it's just a button with a click listener. Its function is to take me to another activity, I trie

Button in Action Menu in Title bar doesn't Work

When I click the button in the title bar it doesn't do any thing. I use item in menu and I linked it to main activity class but it doesn't work. @Override

How to add border to a circle image in DevEco Studio?

Whenever I am using border-radius property the border to the image is not coming but when I am not using the border-radius property the square image is coming a

How to check for network security config with Androguard in python script

I have an .apk file and want to check wheter the res/xml/network_security_config.xml [1] trusts user supplied certificates. I read into the androguard docuemnta

TypeError when converting firebase data snapshot to map

I am currently following a Flutter tutorial and the instruction states that I retrieve data from Firestore and convert to a map, the tutorial uses the code belo

I want to intent to select the image from gallery and camera option in WebView app (both together as picture shown)

I want to like this as picture shown in WebView app Here is my code but I am not getting camera option only I am getting gallery in my app public class MainAct

How to solve flutter Execution failed for task ':twitter_login:compileReleaseKotlin' error?

I am trying to build an apk from my flutter application. I am using the algolia native api and modified my FlutterActivity according to this official documentat

How to solve flutter Execution failed for task ':twitter_login:compileReleaseKotlin' error?

I am trying to build an apk from my flutter application. I am using the algolia native api and modified my FlutterActivity according to this official documentat

Updating a Single Column In Room Database

That's the function I'm using for updat private fun updateSettingsDatabase(settingsDao: SettingsDao) { lifecycleScope.launch { settingsDao.u

Firebase getting ID for specific node to delete/update

first time using Firebase and pretty new to android studio, i'm trying to make a schedule app where a user can create many schedules and it would be associated

Unhandled error LateInitializationError: Field 'currentUser' has not been initialized. occurred in Instance of 'HomeBloc'

so i do get this error : Unhandled Exception: Unhandled error LateInitializationError: Field 'currentUser' has not been initialized. occurred in Instance of 'Ho

Android: How to change the control type for Accessibility

There are some controls in our app which we'd like to update the control type read out by Talkback. For example: A TextView which would better be described as