Category "android"

How to update multiple types appwidgets from the fragment of ConfigActivity by pressing one button?

I've made 2 different types of appwidgets showing some calendar data. Each type has it's own layout, AppWidgetProvider class, AppWidgetProviderInfo object, but

How to remove Async storage warning from react native

Dependencies i used "dependencies": { "@react-native-async-storage/async-storage": "^1.16.1", "@react-native-community/netinfo": "^8.1.0", "@react-navigation/bo

Keep headphone jack powered on android device, even without music playing

I recently installed a tablet in my car (370z) I love the thing but the only problem I have is that when music isn't playing I get a static noise buzz. After do

How to mock a class of a library used by the app during instrumented test?

I am working on an Android library and I am writing an instrumented test for it using UI Automator and Mockk. The library has a class called InstallManager whic

Target sdk 30 and All File Access permission

My app is rejected due to All file access permission but our app needs it without that it won't work out. we are not able to upload app with target sdk 30 or 31

How can I create monthly repeating tasks in Flutter/Firebase?

I am currently working on a finance app, where the user can create many transactions. To make the user's job a little easier, I want to add transactions that re

How to solve the gradle caching ANDROID_SERIAL problem?

In order to run android test on different devices, I'm using the following command ANDROID_SERIAL=ZY22F757TO ./gradlew -Pandroid.testInstrumentationRunnerArgum

Android camera intent

I need to push an intent to default camera application to make it take a photo, save it and return an URI. Is there any way to do this?

How to create Update method inside the same page as the user profile?

So as you can see here's my profile page i just want to create an update method here. Is it possible to do inside this page for the update method? I'm still new

Flipper doesn't show my network plugin and shows connection problem

My colleague did the same and his flipper works fine, but my flipper doesnt show network plugin and requests. Even if start other apps in same device it works g

Voxeet UXKit Cordova - Cant install cordova plugin missing "Carthage/Build/VoxeetUXKit.xcframework

I use this plugin for a cordova app and I didn`t ahve any problem on Android platform, is working as expected but Ican't install it on IOS. After cordova-instal

How to create a timer on Button and save in SharedPreferences(android)

I want to create a button that after clicking this button will be not clickable for 1 min, but after restarting a program, this button is clickable cuz i didn't

How do I assign an id to a drawable in text view in the xml file?

How do I assign an id to a drawable in text view in the xml file. The three dots is the drawable. So I can find it by id. findViewById<??????>(R.id.id_of

Buildozer issue: sh.CommandNotFound: ./gradlew

I've been trying to package an application created using python and kivy for android on buildozer by running on Ubuntu wsl: buildozer -v android debug deploy ru

Do a connection using EventSource from Android with HTTPS to Spring-Boot server (JAVA)

I have a spring-boot server which only accepts https requests, the point is that I need it to be able to communicate with the client (android) using SSE. I have

Update recyclerview item from background thread after changing configuration

I have a RecyclerView in a Fragment. Also I have an AsyncTask which updates items of RecyclerView from background thread. The problem is when I rotate the devic

How to handle two data type in the same API android

I have an API response. When data is purchased it gives as a JSONObject else a null string. How do I process both the data types. If I try to specify Any as the

Build OpenCV for Android with CMake's ExternalProject_Add

I am creating an Android library that uses OpenCV via NDK. It doesn't require any Java parts of OpenCV, native parts only, so I decided not to use OpenCV for An

How And Where Do Meditation Apps Store Their Audio Files?

I'm building a Flutter app that plays audio files. I have hundreds of audio files that are too large to store in the app. So, I want to host the files, then str

DevEcoStudio: No SDK file downloaded on installing DevEcoStudio

I have an issue in downloading SDK file in version 3.0.0.800. After I installed DevEcoStudio I realized that SDK file did not get installed with it. So when I g