Questions tagged as 'java'

0
answers

Sort chained list in Java

How do I incrementally sort a linked list in Java without any kind of function? There is another class besides those listed below, which is called List, only performs node getters and setters (value and next element). DynamicList class (respo...
asked by 28.03.2015 / 23:51
1
answer

Capture form fields ExpandleListView

I have ExpandleListView with each item having its own layout. This layout has Editexts , checkbox , etc. I need to capture what is typed and selected in every expandle listview item. Has anyone used this approach? Ad...
asked by 27.03.2015 / 19:44
1
answer

Error trying to consume WebService: Server did not recognize the value of the header

I'm experiencing the following error when trying to read a WebService: SoapFault - faultcode: 'soap:Client' faultstring: 'O servidor não reconheceu o valor do cabeçalho HTTP SOAPAction: http://temuri.org/HelloWorld.' faultactor: 'null' det...
asked by 27.03.2015 / 19:05
0
answers

Inserting records into the database only after you have finished inserting into a List

I do not know if I was very specific in the title, but I'll try to be more in the description. I have in my database a table of Disciplines that contains: id name hourly load I would like these disciplines to be added in a table (in p...
asked by 28.01.2015 / 01:56
0
answers

Tomcat: The server encountered an internal error that prevented it from fulfilling this request

I'm having problems with Tomcat using Eclipse. First it did not find the MySQL Driver, then I used Class.forName in class ConnectionFactory and now it is returning line 52 of AdicionaContatoServlet as null . Can any...
asked by 27.01.2015 / 10:53
0
answers

What should I implement to print the user name on a data output?

Here is my code below: import java.util.ArrayList; import javax.swing.JOptionPane; public class Operacoes { int codc, codf, codl; Cliente cliente[] = new Cliente[30]; public Operacoes() { for (int i = 0; i < cliente.l...
asked by 02.02.2015 / 23:41
0
answers

ImageView Android Responsive for all devices

I have an ImageView and the problem is as follows: On smaller screens the image becomes too large; On larger screens, it gets very small. I have already made the folders hdpi , xhdpi and similar, but it did not help, I was won...
asked by 04.03.2015 / 17:14
1
answer

Using FTPClient I can not send file to FTP server. Problem with permission

I'm developing an android application that accesses an FTP server where I save backup files. I'm using this tutorial. The FTP server is CesarFTP. The operating system is a Windows Server 2008 R2. I make copies of files by FTP without proble...
asked by 20.01.2015 / 13:44
0
answers

Error resetting alarm with AlarmManager shortly after canceling alarm

I have an alarm set to wake up at a certain time and repeat every 5 minutes. But after a few repetitions, I automatically set the cancellation of that, that is, I call the method to cancel " cancelAlarm(); " and then call the method set...
asked by 20.01.2015 / 18:07
2
answers

How to store a pdf file in a MySQL database?

I'm developing a project and one of my tables in MySQL will contain .pdf files. The table ' arquivopdf ': + - - - - - - - - - - - - - - - - - - - - + | numerocotacao | arquivopdf | + - - - - - - - - - - - - - - - - -...
asked by 03.01.2015 / 20:25