Category "android"

Executor pauses and doesn't process pending queues

I have a long-running task of creating a bitmap saving it and recreating more bitmaps which I was doing on a single background thread ExecutorService executor =

Can't get my Activity in front of the lock screen

I want to put my activity in front of the lock screen. I added whatever I saw on the internet as a flag to print activity on the lock screen. But on some device

Hi all ., Not able to sendkeys in Appium server, when connected to my real device ! ...[Android]

[ this is the version am using & connected to my real device Where I used the xpath such as (//*[@resource-id='text-input-outline'])1 After that , its showi

How to mark the icons according to the GPS coordinates on the map-captured image?

Capture a map, create an image, and display it on the screen. The image has a start point and an end point. Rotate the image so that the starting point is alway

How to make a Generic Type Serializable API Model?

When i using Retrofit2, I wanna to trying to convert JSON to Object in Kotlin. I have no idea how to generate it to an Object. My Api Response Json [ {

FFMpeg Add multiple Gifs/Watermarks to a video

I'm trying to add various Gifs/Watermarks to a video, but I'm having a problem getting it to work properly. We're assuming the video is 60 seconds long and I'm

Can I apply popEnterAnim when I popUpTo a destination?

I have a NavGraph like below. Why I CANNOT execute the popEnterAnim when popUpTo the graph starting destination? <?xml version="1.0" encoding="utf-8"?>

How to detect state of ModalBottomSheetState while swiping bottom sheet in compose

simple question, How to detect state of ModalBottomSheetState while swiping bottom sheet in compose? I mean, I want to know how can I find out where state of M

Cannot use search view to filter list view displaying data pulled from SQL server

I am very new to app development and i'm trying to create an app connect to an sql server. The app pulls data from the server and displays it in a list view. I

Can't see implementation of protected abstract functions in Android package

I have been going over the android package a bit. I am using sdk 30 and for example in SensorManager.java there is a function protected abstract List<Sensor&

holder.itemView.rowLayout.setOnClickListener

I have created the following adapter class for recyclerview but there is a compilation error while building in layout section "holder.itemView.rowLayout.setOnCl

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