Questions tagged as 'java'

1
answer

Doubt: Variable increment in Java

I have a jFrame (server) that by pressing its button does the following and sends the thread1 ... try { ss = new ServerSocket(9999); Hilo1 hilo = new Hilo1(ss,jLabel1,jLabel2,i); hilo.setDaemon(true); hilo....
asked by 01.05.2018 / 14:32
0
answers

How can I remove the legend that appears when using RecognizerIntent, because it did not appear before? Thank you

My question is how do I delete the legend "The audio to google is enraged to provide a voice recognition service, a transcript will be shared with this app.s Saving audio at [email protected]"     
asked by 02.05.2018 / 04:05
0
answers

Change the jqgrid of a RowNum with default value to 10 when I submit to a save button?

My problem would be the following: I have a jqgrid to which I give a rowNum 10 when I create it. The problem arises if I change the rowNum to 20 and give it to save I always get the value to 10 when the page is reloaded and I would be interested...
asked by 01.05.2018 / 23:08
0
answers

Error wanting to enter the App

The Logcat throws me this error E/AndroidRuntime: FATAL EXCEPTION: main Process: com.example.matias.finalcode, PID: 9952 java.lang.NullPointerException: Attempt to invoke virtual method 'com.google.android.g...
asked by 02.05.2018 / 01:56
0
answers

java.lang.NullPointerException in JasperPrint with JasperReport

Hello! I have a Jasper document / report that I want to access and then print. For this I enter the following code: //Creo la variable que contendrá el reporte JasperReport miReporte = (JasperReport) JRLoader.loadObject("src/REPORTE/...
asked by 02.05.2018 / 13:39
1
answer

Display data in a TextView and change it every time you select another data from a Spinner

I want to show the data in the txtloc, but it always shows the first data of the spinner and does not change when I select another spinner data. On the other hand, the txtpro does change when I select another data inside its spinner ... How coul...
asked by 02.05.2018 / 14:10
2
answers

error in java = Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 1

After researching and not finding a solution to this problem I decided to resort to this forum the code is simple and the error maybe is silly but I am just beginning to write code, I leave the code and the error attached, and if I they can expl...
asked by 03.05.2018 / 02:46
0
answers

Send Image To Later Show it

as they are ... My problem is that I have an image, the application takes the photo, shows it in a Web service. Through this code: private void tomarFoto() { Intent takePictureIntent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE); if (t...
asked by 30.04.2018 / 15:51
1
answer

File downloaded from Ftp Android (Java)

I try to download a file from a web server, but I can not code it "creates" it empty and does not create it with the ftp server data, I use Apache Commons Net API, My problem is in MainActivity > showProductDialog > ftpclient.ftpdownload (...
asked by 03.05.2018 / 04:08
1
answer

Modify data from a listbox in python with tkinter using postgresql ... mouseEvent

I have an interface where I show a list of data from different clients with a Listbox. I was wondering if it is possible to select a data from there and that can be modified directly? those are the data that I have in postgresql a...
asked by 08.05.2018 / 20:27