Questions tagged as 'java'

0
answers

Read Integer with BufferedReader on Android

In an Android Application, I have a socket client java that sends integers (using writeInt) to a socket server on Android that I am trying to read these integers. I get strings correctly but can not convert when using parseInt, Here and Here...
asked by 06.10.2017 / 03:27
1
answer

Jenkins does not compile Maven tests but NetBeans does

I have a difficult problem to solve. When I run Maven's clean install from NetBeans, it terminates the process successfully. When running Jenkins, the process crashes when trying to run the tests, saying that it can not find the classes of my en...
asked by 06.10.2017 / 06:57
1
answer

ID Count with Firebase - Android

In my application, I have an entity called Game that has, among other attributes, an ID . I need every time this entity is instantiated the ID is incremented by +1. This works until the application is terminated, because when I open the app a...
asked by 18.10.2017 / 16:00
1
answer

Send user to an email app

I want to send the user to an email application, however I just want to set the recipient, the rest the user himself will fill in the application he chose and then send What is it like?     
asked by 18.10.2017 / 18:52
0
answers

Unexpected return when converting String to Integer in Java

I have a java code in which it receives motor rotation data. In Java with I get a String I need to convert to Integer to make a comparison to know if the engine has switched on or not. When I receive the string I give print on the screen and the...
asked by 03.10.2017 / 23:00
0
answers

Error in project configuration

What I'm missing, I could not find the error. dispatcher-servlet.xml <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/sch...
asked by 04.10.2017 / 01:49
1
answer

How to use demoiselle.properties custom properties

I would like to know how I could use the demoiselle.properties class to use my custom properties. Ex: # Propriedades personalizadas do sistema sistema.id.documento = 10 sistema.processo.seguranca = true // ... and use this in some...
asked by 03.10.2017 / 22:15
0
answers

problem with Firebase authentication check (Number phone)

Hello! I am trying to build a firebase record with phone number. I did the procedures I found in: link But I'm having trouble. Error message :    com.google.firebase.auth.FirebaseAuthException: This app is not   authorized to use...
asked by 02.10.2017 / 18:37
1
answer

Error when using SimpleEmail

public void enviarEmail() throws EmailException{ SimpleEmail email = new SimpleEmail(); email.setHostName("smtp.gmail.com");//o servidor SMTP para envio do e-mail email.addTo("[email protected]", "teste"); //destinatário email.setFr...
asked by 04.10.2017 / 16:05
2
answers

Comparison request.getParameter with String JSP

I want to get what the user will type with request.getParameter and compare it with a String and if the value that the user type is equal to the string, the user will be redirected to the page but this is not happening. > String login =...
asked by 05.10.2017 / 01:48