I am looking to add a parameterized test to an existing test suite that uses the Robolectric test framework, like so: @RunWith(RobolectricTestRunner.class) publ
I have following binding to handle UDP packets private void doStartServer() { final UDPPacketHandler udpPacketHandler = new UDPPacketHandler(messageDeco
I have a .docx template with placeholders to be filled, such as ${programming_language}, ${education}, etc. The placeholder keywords must be easily distinguishe
Task Description I have this problem statement: Create a class Employee with the following private member variables. int employeeId String employeeName double
how to fetch a single attribute from Redis cache spring boot? I want a response like this one { "answer": "FHFHFHFHFH" } but getting
I know I can add --no-scan on an individual command line (see https://docs.gradle.com/build-scan-plugin/), but I'm looking for a way to disable this in build.gr
Could you tell me what are the default parameters for Spring @Async ThreadPoolTaskExecutor or how can I find them one my own? What are the default values for m
I have a table which stores users information(id, name, surname, address, email, etc). I don't want to use auto-increment function of the database. So, we don't
I have an error when I'm trying to copy data from csv file into mysql database, but when I launch the temps.etl.xml file with java launcher, it gives me an erro
how to make an autofill app like dashlane, or lastpass on android studio. I want to make an autofill app, example facebook, It can autofill my login credentials
I need to document my spring boot application's rest apis with SpringDoc OpenApi. So, I added this dependency in my pom.xml: <dependency> <groupId&
I am currently coding a game that uses an 8x8 grid. I have to stock a domino (2x1 size) in the grid for every player but when a player wants to add a Domino to
I have a text file with path as resources/templates/temp.txt. I tried reading it with built in Files.readAllBytes() function found in java.nio
I am working on a very complex java web project with about hundreds of developers and intend to improve the performance of this monolitic. What I am trying to d
Basically I have a ConsentForm Activity that the user scrolls through and give their consent. Upon pressing the consent Btn (Yes) a dialog where they have to en
I have a Login screen and upon success login, it finishes and shows another page that has information about the user. I read about this post and also this post.
I have multiple 100MB raw files with series of user activities in CSV format. I only want to download the first 100 lines of the files. The problem is that each
In terms of performance, what is better to use, an FFMPEG library(like https://github.com/kokorin/Jaffree) or the FFMPEG command line interface?
I'm using ExtentReports (version 5.0.5) with JUnit 5. Here is my BaseTest class snippet. public class BaseTest { protected static ExtentReports extent;
hello friends, i want receive update user location and show in text view only once and remove update location when it received. i must use foreground service f