Questions tagged as 'java'

2
answers

Email and password in Android Studio application does not register in Firebase

I do not see any type of error when I click to register the button, I have already put all types of password sizes and I have put up my own valid email only that does not register in firebase authentication. private void Cadastrar() { nom...
asked by 15.12.2017 / 18:21
1
answer

How to create an automatic click (touch) on the Android screen?

I'm a beginner and I'm trying to make a game and I want to automatically, during the execution of the app, click on a specific area of the screen as if the user had done it. 1 - Can I simulate this click / tap automatically without a real use...
asked by 12.01.2018 / 20:04
1
answer

How to run maven dependencies?

I'm doing an application inside a virtual machine and I'm using maven to install Mahout, in Eclipse in another pc worked perfect, but when doing the same project in a virtual machine I did the following steps giving me the error below : I ins...
asked by 12.01.2018 / 15:54
2
answers

No result when sending data from a form in JSP

I'm trying to make a mini-login screen, grab the data from the compare form and then redirect it to a JSP page. <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <title>Insert title...
asked by 23.11.2017 / 23:07
1
answer

Problem in request via ajax

I have a JSP login page on my system, but when trying to perform a request via ajax to authenticate me, the form does not seem to be sending correctly, as it is redirected to the login page itself. Ajax Code: $( document ).ready( function...
asked by 26.11.2017 / 02:05
1
answer

Read ArrayList that is serialized

I create and instantiate student-type objects (abstract class), and add them to the array. Soon after this, the serialization of the same one is made. How can I deserialize this array, and print the toString of it, and use other functionality, s...
asked by 27.11.2017 / 01:14
2
answers

Hibernate Spatial + Postgis + Geotools - persistence failure

I have a problem to persist a geometric data in the database (Postgres) I read in the forums and documentation and did not find anything about it, can someone give me some help? Libs: pom.xml with versions <hibernate.envers.version>...
asked by 28.11.2017 / 17:07
1
answer

Problems with Sockets

I'm creating an application that needs to send and receive information from a web page through Sockets , the Java server I was able to do, but I do not understand much of JS , could you help me make the client that sends and receives messages...
asked by 19.12.2017 / 21:32
1
answer

Magic Square on android

I wanted to make a magic square, where I put 9 numbers, and the sum of them has to be 15 (on the diagonals, horizontal and vertical) I'm doing in android studio. I only have this until then: import android.support.v7.app.AppCompatActivity; imp...
asked by 19.12.2017 / 23:33
1
answer

Java Stream convert MapString, Obj to ListObj

I have this object filled: Map<String, List<LogLine>> logMap = new TreeMap<>(); And after making a filter, I'd like a flat list of it, but I can only create list list List<List<LogLine>> foo = logMap.ent...
asked by 20.12.2017 / 09:00