Category "android"

MutableStateFlow and Firebase console with jetpackCompose

I don't know why, but my text in MutableStateFlow doesn't change when i'm changing the string in firebase console. Can someone help me and say why ? I'm putting

Firebase Query in Android returns random number of items altough multiple items match the query

I am using the Firebase Realtime database and I constructed a query for the node "Orders" which should return all items whole attribute "orderID" is equal to 2.

How to open SQLite DB created by one Xamarin Android app in another app?

I have a Xamarin Android app which creates SQLite DB. After reinstaling this app I am not able open the DB with a new version of the app. For the testing purpos

Convert EditText to TextView Programatically? [duplicate]

What I Want I want to convert EditText into TextView programmatically. <EditText android:id="@+id/inputValue" android:layout_width=

How to run android app (.apk) inside a docker container without emulator

I want to run android apps inside a docker container to run them on Linux. I know there are ways to run android apps using some tools like Anbox or Genymotion b

When I Update my Phone to Android 12, Installation did not succeed. The application could not be installed: INSTALL_PARSE_FAILED_MANIFEST_MALFORMED

I was working on my project perfectly since I Update my phone to Android 12 unfortunately when I run the project to my phone this Error appears: Installation d

Keep data in ListView after refresh - Android Studio

I have a Main Activity and PersonListView Activity. In Main Activity, there are some input text and when click save button, it will send data and save to listvi

I am trying an else if statement for validation email however it throws an error on else if(password.isEmpty) saying "else without if"

@Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCRE

Failed to create AR session in AR supported devices

I am trying to implement AR Core feature in my app. This works fine in few devices (supports AR core - One plus 6T and Xiaomi Redmi Note 8). Doesn't work in few

Kotlin: issue with NestedScrollView with RecyclerView loading all data at start

I have a fragment that has multiple elements in it, some textViews, imageViews, a page ViewPager for ads and at the bottom I have a recyclerView. I want them a

Need help changing the button text using Android Studio

Sorry if asked before, but I don't find a solution on the web. As mentioned in the title, I don't know how to change the button text on this app (screenshot) th

How to pass an image from one composable function to another in Jetpack Compose?

I am developing an app with texts and images. The images appear small, like thumbnails, on one composable (activity), alongside the text. The idea is: when the

Is that posibble to modify APK to pass all traffic via VPN?

Is that possible to modify, patch Android app, to pass all application traffic through some ip (country region) ? For example inject code for pass traffic throu

After changed JAVA.VERSION to 11 I get "Android Gradle plugin requires Java 11 to run. You are currently using Java 1.8"

I have changed sourceCompatibility and targetCompatibility to JavaVersion.VERSION_11 in build. gradle files for all modules. In my PC I have JDK 11, JAVA_HOME a

Border radius of selection list of DropdownButtonFormField in flutter

I didn't find how to decorate the list that appears when you click on DropdownButton like make radius for the corners as you see in the screenshot below.

Can I install an uncertified eSIM profile provisioned by myself on Android?

I would like to set up an SM-DP+ server to provision my own eSIM profiles. These usually get certified by GSMA and are used for large-scale Remote SIM Provision

Dropdown Button/Wheel Picker/Spinner in Jetpack Compose

Is there any standard implementation in Jetpack Compose for visual component like Spinner/Wheel Picker or Dropdown Button?

why JNIEnv can't find class com/google/android/gms/ads/identifier/AdvertisingIdClient?

I'm trying env->FindClass("com/google/android/gms/ads/identifier/AdvertisingIdClient") in Instrumentation.callApplicationOnCreate and it returns NULL. I foun

kotlinx.serialization.json.internal.JsonDecodingException: Polymorphic serializer was not found for missing class discriminator ('null')

I am using sealed class to handle api response. I am trying some code but getting some error of serialization. I tried this solution as well but it not working.

Convert TensorFlow Keras python model to Android .tflite model

I am working on an image recognition project using TensorFlow and Keras, that I would like to implement to my Android project. And I am new to Tensorflow... I w