Category "android"

Listen to HDMI input port

I am working with a tv-box. In this tvbox, it contains an HDMI input port. Is there any method to listen to the HDMI input singal (connect, disconnect...)? I fo

Android: How to make Google Map Polyline smoother?

I'm using the latest Google Maps Android SDK: implementation 'com.google.android.gms:play-services-maps:18.0.2' This is my method for adding a Polyline to the

Android studio strange behaviour : file gets locked unexpectedly

I am experiencing strange behavior with Android Studio for a few days. I am not able to write/open or do anything with some file(in which I am just working) une

Flutter Nested Navigation Back Button handling on Android

Background I have a Navigator widget on my InitialPage and I am pushing two routes ontop of it (NestedFirstRoute and NestedSecondRoute). When I press the physic

how to get android on click listener to work despite nullpointerexception

My project throws a nullpointerexception buy attempting invoke an onclicklistener on a null object. here is my code. protected void onCreate(Bundle savedInsta

How to convert. APK file to .AAB file?

How to convert. APK file to .AAB file? Even if it is irrelavant to your field, Please do share this to your friends who are expert in android app development. I

Is there any method in react native to generate android and ios folders again?

I messed up in my react-native android and ios folder while doing some changes in internal files, now project is not starting with lots of errors which is from

Ionic: Redirect Android app after keycloak login

I have an ionic 6 app (using capacitor 3) and i am using Keycloak as authentication provider. My current keycloak version is V 14.0.0. When i test the web vers

super.Composable function crashes at text input

App crashes when trying to type in TextField that is in superclass (video: https://imgur.com/a/6RNc2mU) Exception: E/AndroidRuntime: FATAL EXCEPTION: main Proce

When Onclick operates in fragment xml, app crashes

I'm new to the development scene and I'm just trying my hand at fragments. I have an onClick event defined in one of my fragment XML files, but when I click the

SharePrefs not working for Android Spinner - behaviour very erratic

I have a spinner inside of a dialog box, which you can use to select a currency for my app. When you select a currency, it connects to an api from a currency si

Jetpack Compose Slider in LazyColumn changing while scroll

I have a list that includes Slider the problem is when I scroll the slider detecting the tap event and change it, see attached gif The excepted behavior is whe

use requireActivity() or getActivity() in fragment

When to use the getActivity() in the fragment and when of requireActivity() Is it better to use a requireActivity() instead of a getActivity()? In fact, I want

Layout not moving up when keyboard is open in Jetpack Compose

I have a layout in Jetpack Compose where I have a couple of composables (text view and input) that I need to stay at the top of the screen, and then another com

Android studio can not recognize manifest file

My Android Studio Chipmunk can not recognize AndroidManifest.xml files in all projects. Other .xml files are correctly recognized. AndroidManifest is recognized

kivmob doesn't show ads in android app python kivy

I try to add ads in my app. I added in my buildozer.spec: android.permissions = INTERNET, ACCESS_NETWORK_STATE requirements = python3,kivy, jnius, kivmob andro

Firestore Query Default Order

The following is stated in the official documentation: By default, a query retrieves all documents that satisfy the query in ascending order by document ID. Yo

How long is the delay when refactoring the targetClass name in android application shortcuts.xml

I am investigating the use of Google App actions with the Google assistant in my current Android project. I have published my app to the google play store as an

How can I pass tags when starting a cucumber android run using Gradle?

I have a suite of cucumber android tests (they are instrumented tests) and I run them using gradlew connectedCheck. What I'm trying to do is run only certain ta

How to call keypress event programmatically for TextField using jetpack compose, android?

When user type in TextField it will call onValueChange{} callback. but when we set the value in TextField the onValueChange{} callback will not call. I found ht