Questions tagged as 'java'

0
answers

WebService - AsynTask problems

I have the following code: public class DotNetWSActivity extends AppCompatActivity { Button b; TextView tv; EditText et; ProgressBar pg; String editText; String displayText; @Override public void onCreate(Bund...
asked by 03.08.2018 / 14:33
1
answer

How do I make a switch with two floating buttons that come from two fragments?

Currently I have two fragments that each in their respective layouts have a floating button that redirects me to another activity. How do I get the id of those two floating buttons in a third fragment and make a switch with them?     
asked by 03.08.2018 / 20:52
0
answers

How to select at least one duplicate value of my JTable?

I try to establish a condition that determines that at least that I have selected at least one duplicate value in my JTable, the information in the JTable looks like this. I have something of this style that fills the JTable try {...
asked by 03.08.2018 / 15:36
1
answer

Turn on Flashlight with google vision?

I'm doing an application to detect words through the camera with the api google vision and I would like to know how to turn on the flash while in the application. here I leave the main activity code where the camera instance and the permissio...
asked by 12.08.2018 / 22:38
0
answers

UCanAccess "user does not have sufficient privileges or object not found"

I have a problem using Ucanaccess. When I try to execute the query String query="SELECT Last Name FROM Table1 WHERE Name LIKE" + name; gives me the following exception: net.ucanaccess.jdbc.UcanaccessSQLException: UCAExc ::: 4.0.4 user d...
asked by 12.08.2018 / 17:26
2
answers

how to round a jbutton in java?

I want to be able to round a jbutton in java, I thought it would be easy but apparently it is not, investigate and there was a library called look and feel2 that solved the problem but nothing .. here I leave the code: iniciar_sesion.putCli...
asked by 12.08.2018 / 21:51
1
answer

Display manual data by screen, without collecting it from the database

I'm in a project and I have to make a filter and show the result on the screen, the case is this: public List<StatisticCustomObject> getPrueba(Date fDesde,Date fHasta, List<Long> transito) { /*TypedQuery<StatisticCustomObjec...
asked by 03.08.2018 / 11:53
0
answers

I am trying to put one listView inside another, or that it comes out in an AlertDialog

The thing is that I'm trying to make an application that asks some questions, and you have to answer, the answers are of two types "yes and no" and "1,2,3,4,5" What I do not know very well is how to focus it, a listview within another wou...
asked by 03.08.2018 / 11:13
2
answers

What does this variable statement mean?

This is a doubt that I have been having for a long time, I have been programming for 1 year in Java, but I still do not have the following clear. Suppose I have 2 simple classes public class Automovil{ String patente; String mod...
asked by 03.08.2018 / 05:04
0
answers

error in java when saving data in mysql database

The following question is already answered and I leave the code for someone else to work with her. This is a code to connect a java program to a MySQL database to save, edit, delete and more things to the table in the database. I have it in 4...
asked by 02.08.2018 / 16:24