Questions tagged as 'java'

0
answers

React + application server + authentication / authorization

From now on I apologize for the long text but I need to detail the problem to make me understand. I'm trying to develop a SPA application using ReactJS trying to use the application server's native security (Wildfly 12, in my case). I read so...
asked by 28.04.2018 / 04:53
0
answers

Android connection with MySQL - Error with POST method

Good evening! I'm developing a simple interface in Android Studio for login and user registration. I followed the steps of a YouTube tutorial and almost everything works perfectly, I'm just having trouble trying to log in. Button code Login:...
asked by 28.04.2018 / 01:28
0
answers

Display android accelerometer values in degrees

I'm developing an android app that uses the ACCELEROMETER sensor. I need to measure the slope in degrees. I was able to instantiate the sensor to get measurements of it, display the X, Y and Z axes in TextViews. However, the values that the sens...
asked by 21.04.2018 / 21:22
1
answer

Java, when I use CRTL + V appears the question mark in front of the text?

I made a class that fetches text in a .TXT file that is saved in UTF-8 format, and write to the Clipboard so I can paste it with CRTL + V into a field on another system. The problem is that when I use CRTL + V a ? appears before th...
asked by 25.04.2018 / 01:52
1
answer

"No suitable driver found" in Java database connection

Well, I use eclipse and I'm trying to connect to a MySQL database with my project, my code, compared to other tutorials I found, is perfect, and that's it: package pack; import java.sql.*; import javax.swing.JOptionPane; public class Banco...
asked by 10.06.2014 / 01:49
1
answer

Cycle is only executed once within a while and should always be executed

listaA = new ArrayList <>(); boolean n = true; while (listaA.size() < listab.size()) { Log.i( "while ordena" , String.valueOf( listaA.size() )); valorAl = nRandom.ne...
asked by 25.04.2018 / 00:30
0
answers

Print PDF with PDFBox

I'm trying to implement printing a PDF directly on the printer with PDFBox 2. Printing works normally, however, the only problem is that I can not change the PDF's scale. An example of a scale would be when you print from Google Chrome (CTRL...
asked by 29.04.2018 / 01:14
2
answers

How to get the current date / time, regardless of the device?

Well, I know that when you create an object of type Date: new Date() , the device's time and date is returned, so if I get into settings and change these values, then the time returned will be different from the universal time or local, co...
asked by 05.05.2016 / 21:50
0
answers

Registro.br and Tomcat

I'm having trouble making this configuration, I accessed the Registro.br I have entered the following information: meudominio.com.br A 00.000.000.000 www.meudominio.com.br CNAME meudominio.com.br I entered tomcat and entered the fol...
asked by 19.04.2018 / 21:11
0
answers

An API similar to Android Publisher that can retrieve empty comments on APPS evaluations by users

System.out.println(appReview.getComments().get(0).getUserComment().getText()); Android-Publisher does not currently write evaluation comments with empty comments.     
asked by 20.04.2018 / 14:17