This week's giveaway is in the Java in General forum.
We're giving away four copies of Java Challengers and have Rafael del Nero on-line!
See this thread for details.
Win a copy of Java Challengers this week in the Java in General forum!

Darius Boteand

Ranch Hand
+ Follow
since Jul 03, 2020
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
1
Received in last 30 days
0
Total given
2
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Darius Boteand

Thank you for the help!
I will let you know how I am progressing with this!
1 month ago
Hello everyone!
I am trying to change the background of an apk via android studio, using a function?
The idea is to make a "light/dark" mode by using a switch button.
Could anyone give me a lead on how I could do this please?
1 month ago
Hi everyone!
I am sad to see that this task seems not to be solvable.
Does anyone have any kind of leads by any chance?
2 months ago
Hello!
I would like to ask for help regarding geometrical shapes using java on android studio.
You see, I am coding an app where I want to make a button having the shape of a triangle that would take on the whole screen.
I searched on the internet regarding shapes, but I am having concerns about the fact that not every smartphones uses the same screen sizes.
How could I make this shape to stay "true" to the size of the screen?
I am intending to divide the screen in three main buttons separated by a "V" which would create 3 triangular buttons.
Could anyone help me and guide me through this task?
Many thanks in advance!
2 months ago
Oh I understand better now as for why using only / with its full path!
Thank you for your help!
3 months ago
Never mind, found the solution!!!
But this is very weird honestly...
How is this making sense??? instead of ./ I was supposed to only use / ...
well anyways, thanks again for the help!
3 months ago
Hi!
Thank you for your help!
I just managed to make it run.
Only I don't know exactly how to make it work with inputs:
If I echo something or use a simple bash script, it would display an output.
On the other hand, as soon as I use an input, it doesn't display anything anymore.
How should I do this?

Here is the code I have used:

3 months ago
Hi!

This is a tricky task, but I am trying to run a runnable jar across different OSs.
I know that this task is possible should you already have installed eclipse or anything supporting java.

Now how about a system without any IDE.  Is there a way of perhaps embedding something within the jar that will make it run?
Or perhaps I should use a portable IDE on a USB stick?

How would you do this if you were me?
3 months ago
ok, no... that's the terminal command...
3 months ago
Hello!
I am trying to connect to a server and execute commands remotely to that server via java code.
Unfortunately every code I could run (using JSch, since that's what google has mostly recommended  me) has resulted me in soooo many different types of errors for every tutorial.
Could anyone guide me for this task?
Let's sayI want to execute the command "ls -al". How could I connect to that server properly and execute the command?
Thank you in advance!
3 months ago
Ok, I found the answer myself.
In fact this "dark bar" was the colour of the navigation bar that followed the page when swiped up or down.
Changing its colour depending on what activity I go to was enough to solve the issue.
Thank you for trying at least.
3 months ago
Imagine two blank papers put on a table one next to the other.
From east to west and vis versa, it would slide from a page to another while stuck together. As if it was in fact one single big page.
From north to south and reverse, they are appearing separated (displaying a black background). The easiest experience that can relate to that is like using Microsoft Word when you get from a page to another.
3 months ago
Hello everyone!
I made a simple apk file that has 4 buttons. each button is redirecting to a new activity using a slide amin xml.
What I observed is that sliding to the right or left makes the pages stuck to each other, giving a continuous effect.
But this is not the case when I slide up or down. It has like a black gap between pages.
Are there any ways to make it look continuous?
Thank you in advance!
3 months ago
Thank you for you answer! You see I have been using the latest driver, I didn't know that I wasn't meant to use other than the 5.1 version! this did solve my issue. Thank you very much!
4 months ago
I just tried to follow another tutorial, but I just have the same issue! As soon as I insert the jdbc driver, it just crashes! link
I really don't understand why my android studio doesn't want to use the jdbc driver...
4 months ago