Questions tagged as 'java'

1
answer

How can I make the voice change its speed?

I made an app that converts text to speech ... but now I want to change the speed of the voice ... that there are options that make it faster or slower. This is my Android code package e.macg.traductor; import android.speech.tts.TextToSpee...
asked by 12.12.2018 / 07:32
1
answer

AddSchema command in an XMLReader in Genexus

I am developing an application in Genexus Evolution 2 U7, for java and I have a problem with the AddSchema command of the XMLReader data type. I have a procedure that has an XML validation against an XSD, which falls on the following line:...
asked by 04.02.2016 / 19:39
1
answer

How to save the input of a Java dialog?

When I try to read or write to an external file in java. The program compiles to me but when the code is executed and I write the name of the file that I want that it reads, the program stays run but it does not show anything to me in screen....
asked by 09.12.2018 / 09:11
1
answer

Mqtt-client JAVA + user interface

I'm trying to implement a code that uses the MQTT protocol in Java, now I come from C ++ and a long time ago I did not program (Reasons for university), but I need to take up with a small project in JAVA and better than once to remember my knowl...
asked by 16.04.2016 / 17:11
2
answers

Attempt to invoke virtual method 'void android.widget.TextView.setText (java.lang.CharSequence)' on a null object reference

The error I got when doing Debug from my app was: Attempt to invoke virtual method 'void android.widget.TextView.setText (java.lang.CharSequence)' on a null object reference I have a custom adapter called MyAdapter where I t...
asked by 17.12.2018 / 05:07
0
answers

I'm getting java.lang.IllegalArgumentException

Hello here, making new inquiries. I'm moving on a API REST project in Java I'm getting the following error when wanting to show my branches of a related base where branches is the parent. Error al mostrar la sucursal java.lang.IllegalArg...
asked by 11.12.2018 / 18:20
1
answer

How to create a personalized query using JPA?

I am migrating a Java Swing application to JavaFX and please if someone could help me to the following: Use PostgreSQL database. In native SQL I have this query that works perfect: SELECT count(t.idremision) as entregados, COUNT(*)-cou...
asked by 10.12.2018 / 13:00
1
answer

Compare elements of JAVA messy lists

I have two state objects ( e1 and e2 ) in Java. These have a list of key objects as an attribute that have an X position and a Y with their respective llave.getX() , llave.getY() . I want to check that these attributes o...
asked by 16.12.2018 / 18:11
1
answer

Execute a CMD command with administrator privileges from Java

For a final project, I need to create my own hotspot, using a Java application developed by me, but to execute the CMD command I need administrator privileges, but as I could do it from Java This is the code I'm using to execute the CMD comma...
asked by 05.12.2018 / 03:27
0
answers

I have problems with NetBeans

My problem is, when I create a project, do not believe it, but rather, the program what it does is that it stays in the window when I finish it (to create the project) then, nothing, there is left , and if I want to edit a file with netbeans,...
asked by 30.11.2018 / 06:22