Category "android"

OpenCV Android React Native unknown exception on some functions in imgproc module

I'm trying to use OpenCV in an mobile app written with React Native. For now i only focus on the Android part. I use the official OpenCV for Android release. I

Cannot resolve symbol FlutterActivity

I imported flutter project from github into Android Studio with 'VCS -> Checkout from Version Control'. And now I'm facing the issue: Cannot resolve symbol F

Run python code right out of github on phone

Is there any mobile python IDE that let you get download code from GitHub directly into the app? In fact, IDE would be an overkill - I don't need to code in the

Task :app:bundleReleaseJsAndAssets FAILED - React Native - Android

Getting this error in my React-Native app when I run on Android using npx react-native run-android --variant=release or generate a Release Build. I tried whatev

Suspend function 'callGetApi' should be called only from a coroutine or another suspend function

I am calling suspended function from onCreate(...) override fun onCreate(savedInstanceState: Bundle?) { ... ... callGetApi() } and the suspended

MutableStateflow Value Vs Update vs Emit

Let say I have a MutableStateFlow variable. What is the main differences and usage of the three cases mutable.value = 1 mutable.emit(2) mutable.update {3}

intent.resolveActivity returns null in API 30

Looking at intent.resolveActivity != null but launching the intent throws an ActivityNotFound exception I wrote opening a browser or an application with Deep li

How to use a condition in a MutableState in Jetpack Compose

I'm trying to change my loginEnabled value to true or false based off two textfield's being not empty, however my current implementation always returns false, c

How can I get new entered value on EditText with TextWatcher

I can get the old value. But I do not have a solution to get a new entered value. In fact, I want to separate the old value from the new value. For example: I

Flutter failed to create parent directory

I formatted my PC and kept flutter sdk location in the same spot. The only difference was the name of the user folder. Before it was called "thesl", but now it'

Latitude and Longitude from google's geocoder not working on waze

I am trying to make this link work on waze app: https://waze.com/ul?ll=-58.440634,-34.611324&z=10 Those are the lattitude and longitude given by google's

Android Studio - ActivityInstrumentationTestCase2 not found?

I am trying to unit test my MainActivty. My project cannot find ActivityInstrumentationTestCase2 and android.test package. I changed the target SDK to 27 to see

Truecaller like alert dialog in dart

I am trying to implement a true caller like alert dialog in flutter. Since I am very new to flutter+dart, I was looking for any out of the box implementation. S

Android studio Composable Preview Render problem

I am having this issue When previewing composable from file. This is the code I made in other kotlin file. package com.example.movieapp.screens.home.details im

Is it good to use radio button instead of ImageView for just displaying purpose in android?

I have a design where the image view looks like a radio button but serves no purpose of radio checked/ unchecked. Since it looks like a radio button, is it good

How to open flutter application from url?

For example, i have case in my flutter app when user can recover his password. In that case user will receive link on e-mail, and i want by clicking on that lin

java.lang.IllegalStateException: enterPictureInPictureMode: Current activity does not support picture-in-picture

Error message java.lang.IllegalStateException: enterPictureInPictureMode: Current activity does not support picture-in-picture. at android.os.Parcel.c

How to fix image view icon color changes in dark mode and lite mode of the device

I'm trying to include icons in imageview but when the dark mode is on the color is dark and when on lite mode its shows in white, I want color to be white in bo

how to play one video in view pager with exo player

i am making a app where i am playing videos with exo player in view pager but problem is that i am not able play one video at a time. all videos playing there a

Can't find Composer Class when Building

I'm trying to add compose to my existing project and getting the following exception when building e: java.lang.IllegalStateException: Cannot find the Compose