Category "android"

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

android:exported needs to be explicitly specified for <activity>. Apps targeting Android 12 and higher are required to specify

After upgrading to android 12, the application is not compiling. It shows "Manifest merger failed with multiple errors, see logs" Error showing in Merged mani

Change the background color of exposed dropdown menu

I think Android developers are kidding us. First they removed the real spinner from the Material Design and second it is somehow impossible to style. Look at th

Saving an AnimationDrawable object to a file

I am very new to android development and trying to make an application that will convert a video to GIf using MediaMetadataRetriever and AnimationDrawable. I am

How to center spinner items using styles.xml?

How to center spinner items through styles without creating custom item view? Without extra work in code, just using styles.

React Native Picker Change Overlay Color And Prevent Text Cut

currently i'm using https://github.com/react-native-picker/picker library But i got some problem, my placeholder text is cutted and i want to change the overlay

How to ressolve TypeError: Network Request Failed for react project running at android device

While running my react native app on android device using expo the api response are not coming which is done using fetch and POST method and getting this error:

Retrieving a plain text error message from a call response

I am building out the login form for a client, and their backend, upon successfully authenticating the user, returns the user validation data in a JSONObject as

Lottie Animation is too small

I am using a lottie animation in my android app. I downloaded the json file and pasted res/raw. I am using it my app using XML and Java, but when I run the app,

android 10 how to disable Randomized Mac Address in source code

Currently, I am working on connecting specific WiFi in the source code. But the problem is, since Android 10, the default setting is to set a random macArress.

Get the ip that an app uses on bluestacks

I want to get the IP that an app uses on bluestacks or any other android emulator, how can I do that? I tried using wireshark, but bluestacks connect to tons of

Gradle: compileOnly and runtimeOnly

I'd read the documentation but I'm not able to understand how to create a working example to understand better their differences. And ofc I've created a play

Unable to import any library in Android Studio after updating it to Chipmunk

I have recently updated my Android Studio to Chipmunk and I am unable to import any library in it. Here is my build.gradle project level file. App level build

Error uploading Multipart to MongoDB using Ktor

I'm trying to upload a JPEG to MongoDB using Ktor and Kotlin but keep getting an error: java.io.FileNotFoundException: /document/image:32: open failed: ENOENT (

Dalvik crash on Oneplus on Android 12

I've got an app in the play store, and have just started seeing the following crash on crashlytics as we're releasing a new version: Fatal Exception: java.lang.

Image asset not overwriting existing icons, but disappearing

In Android Studio when we create a new image asset, it says the icons will overwrite what is already there, but when we hit finish, the icons disappear on the c