Posts by Carlos Ximendes • 267 points
22 posts
-
7
votes2
answers1075
viewsQ: Send camera image to server by Retrofit
I learned how to send a picture of the folder drawable to my network server using lib Retrofit, but I’m not getting it from a ImageView, received from camera capture. I create a class that converts…
-
0
votes1
answer23
viewsQ: Vote indicator
I want to make a simple app for android vote count. Only instead of showing numbers, I want you to show a bar that as the vote goes up, it goes up, it changes color, like it does in "Who gets…
androidasked Carlos Ximendes 267 -
0
votes0
answers51
viewsQ: FATAL EXCEPTION: Asynctask #1: An error occured while executing doInBackground()
Could someone please help me and tell me what’s wrong? public class SecondActivity extends AppCompatActivity { //CONECTANDO O APP À INTERNET HashMap<Integer,View> views = new…
-
2
votes2
answers6010
viewsA: How to import classes like Httpclient, Defaulthttpclient etc
My question was to be able to import the class HttpClient. Actually this class is already obsolete, but as I said, I intended to learn to import it. After some research I found that I should add…
androidanswered Carlos Ximendes 267 -
4
votes2
answers6010
viewsQ: How to import classes like Httpclient, Defaulthttpclient etc
I implemented these classes, but I can’t import them; the project was done in Android Studio. public class HttpConnection { public static String getSetDataWeb(WrapData wd){ HttpClient httpClient =…
androidasked Carlos Ximendes 267 -
0
votes1
answer388
viewsQ: Error synchronizing: Could not reserve enough space for 1048576KB Object heap
This error appears when I try to synchronize my project in Android Studio, how to solve it? Error:Unable to start the daemon process. This problem Might be caused by incorrect Configuration of the…
-
5
votes3
answers302
viewsQ: Access web images application
I am beginner in android app development; I have the following question: if I want to make an application where the images used are not within the project, but on the web, what is the best way to…
-
11
votes3
answers533
viewsQ: Pure Java and Android App
I’m a beginner in Java. I preferred to start studying pure Java, that is, I discarded studying by dragging components. I met Javafx; I preferred to study the construction of these components at hand…
-
0
votes1
answer1194
viewsQ: Prevent a second click on the same button
In this memory game, when I click the first button and then the second button, everything happens according to the algorithm, but when I click two clicks on the first button, there is a problem... I…
-
0
votes1
answer956
viewsQ: Adjust display of a monitor resolution-independent application
I made an application Java And I realized that when it runs on a computer with higher resolution, it gets smaller. How to adjust display of a monitor resolution-independent application?…
-
0
votes2
answers177
viewsA: Image problem
After much research, I understood this problem. In Swing, and using Joptiopane, there is no problem; the images appear and are only undone when the message is closed. In Javafx, using Joptionpane,…
-
0
votes1
answer4316
viewsA: Navigation between Javafx screens
I don’t really understand what you want. Do you want to navigate between screens, or just create independent screens? Take a look at this form: public class Main extends Application{ public static…
-
1
votes1
answer150
viewsA: Combobox values do not appear for selection
Your code is right, except the object that wasn’t built: Combobox comboboxQuantCam = new Combobox(); Would look like this: ObservableList<Integer> options =…
javafxanswered Carlos Ximendes 267 -
0
votes2
answers177
viewsQ: Image problem
I made a small app to show my problem; whenever the player makes a sequence diagonally, wins, if no one does that, it’s a draw; don’t look at the fact that the second player will never win... I just…
-
1
votes1
answer808
viewsQ: Randomization in Memory Game
How can I work on this code below so that instead of appearing numbers on buttons appear images? package memory; import java.awt.BorderLayout; import java.awt.Color; import java.awt.Dimension;…
javaasked Carlos Ximendes 267 -
0
votes1
answer24
viewsA: Calling method in Choicebox
Resolvi, guys; thanks. Follow the solution: cb.getSelectionModel().selectedIndexProperty().addListener((obs, old , newValue)->{ switch(newValue.intValue()){ case 0: metodoUm(); break; case 1:…
-
0
votes1
answer48
viewsQ: How to clean Choicebox without losing the items?
I made a ChoiceBox, but a problem occurs; when I leave the stage and then return, the ChoiceBox continues with the previously chosen item. I want that when leaving and then returning, it returns to…
javafxasked Carlos Ximendes 267 -
0
votes1
answer24
viewsQ: Calling method in Choicebox
I created a Choicebox, where at each selected level, a method should be called; but the following happens, any selected item calls the method; how to make a condition, that is, depending on the…
-
0
votes1
answer34
viewsA: Tilepane: how to create individual event on buttons
I was wrong about where I was putting the event, but making several attempts, I ended up getting: TilePane tilePane = new TilePane(); tilePane.setPrefColumns(3); //preferred columns…
-
0
votes1
answer34
viewsQ: Tilepane: how to create individual event on buttons
I have a difficulty using Tilepane, I can’t create an event for each button of the array. Follow the code for you to help me. `TilePane tilePane = new TilePane(); tilePane.setPrefColumns(3);…
-
0
votes2
answers1336
viewsA: Javafx application does not run on some computers after exported to jar
If you used Javafx 8, you need to update the Java Virtual Machine, in which case it should be JRE 8. http://www.oracle.com/technetwork/java/javase/downloads/server-jre8-downloads-2133154.html…
-
2
votes1
answer1874
viewsQ: How to use thread in Javafx?
Before appearing the main scenario of my Javafx application, I want a class containing a presentation to appear; I’m unable to use the method sleep. A stage blank and then the class containing the…