Category "android"

Utilizing the Websocket Data from Android cellphone while running

Using SensorServer, I am establishing a connection between an android phone and Python and utilizing the data sent. The accelerometer of the Android device is u

How to check if an APK/AAB binary was signed in debug mode?

Let's say I am responsible of a tool to publish APK/AAB to play store and I need to do some pre-checks before doing so. How can my tool check if an APK/AAB bina

Flutter: Missing Plugin Exception Raised when running release builds of android app

Issue I am currently working on an app which uses multiple packages. The app works like a charm in both debug and profile modes. But when I get the release buil

How to fix net::ERR_INVALID_RESPONSE in webView android

after update chrome to last version (75.0.3370.143) my app which use webView is showing error when load data. "Web page not available The web page at data:

What's the difference between a UI test and an E2E Test? And What's the benefits of each?

Our team is considering starting testing based on user scenarios. So, we are picking a E2E framework. Searching for UI test lead to the following: So, I found

Active Element Issue on Firefox for Android

I want a button to change color while the user has clicked on the button and hasn't released it yet (on Mobile: while the user touches the button). For changing

ScrollView programmatically scroll on button press in react native

So I manually created an onboarding screen in React Native using ScrollView and also I added a button labeled next to enable the hidden screen to move in on the

Could not resolve all files for configuration ':app:androidJdkImage

I am trying to build flutter apk on debug mode from android studio. Flutter run I get this error: Launching lib/main.dart on sdk gphone x86 arm in debug mode...

How to check adb access over ethernet?

I want to connect my Android device via ethernet to access adb. The device is not connected to any internet/wifi. The ethernet cable should connect the laptop w

How to get Bitmap From imageUri in Api level 30?

I am using getBitmap method in the older version but I can't find any alternative of getBitmap From Uri. try { bitmap = MediaStore.Images.Me

Adding metadata tags (like title, artist, album) to audio file not working (Android MediaStore)

I want to create an audio file and set the title, artist and album tags of the song using Android MediaStore. Creating the file works but unfortunately the tags

Hide system navigation bar when show DialogFragment

My app is in sticky immersive mode that the system navigation bar (I call it SNB) is hidden in running time of my app. It works well but exists one problem, it

Gradle UncheckedIOException

My Android Studio project worked correctly, after restart project i got this error : Caused by: org.gradle.api.UncheckedIOException: Failed to create direct

how to view google play store listing in different language

i uploaded an android app to google play store, and i have English and Chinese content for the store information (descriptions, short desc, etc... My default la

Kotlin I can't add element to the end of the arrayOf

the problem is, that I can't understand differences between: ARRAY OF, LIST OF and ARRAY LIST OF I know, that arrays are mutable in nature, but list not. When I

Missing 'name' key attribute on element activity as AndroidManifest.xml

I encounter the following error when running gradle build: Missing 'name' key attribute on element activity at AndroidManifest.xml Looking up the other stacko

Is it possible to convert a Scratch project to an Android app?

For those of you who don't know, Scratch (scratch.mit.edu) is a programming language based around connecting 'blocks' of code in order to create a project. I h

Get Android system accent color (Android 10 System color accent)

This question should be simple, but i didn't find an answer. I have an app with selectable accent, and i'm trying to add an option to use the android system acc

Hilt Inject field into any class with no scope

Suppose that I have a class A class A () I want to inject an instance of A as a field into class B and let Hilt or Dagger to handle it. Class B { @Inject la

Plugin 'kotlin-parcelize' not found

Google is recommending users to migrate from kotlin-android-extensions to kotlin-parcelize. However, Gradle sync fails with the following error: Plugin [id: 'ko