Questions tagged as 'java'

0
answers

How to upload / transfer files with java?

I am trying to make a program that controls the information of students in a school. One of the functions of this program is to archive the students' scanned documents, but it is precisely in this part that I am having difficulty. I want t...
asked by 20.10.2016 / 17:10
1
answer

Java Test with bank in memory

I'm in doubt when running my application tests: The question is whether Hibernate can be used to create a non-physical database to perform the in-memory tests to make it easier and faster to run the tests in question.     
asked by 02.12.2016 / 11:27
0
answers

hashCode of the APK signature

I need to return a single hashCode of the apk signature. Signature[] sigs = context.getPackageManager().getPackageInfo(context.getPackageName(), PackageManager.GET_SIGNATURES).signatures; for (Signature sig : sigs) { Trace.i("MyApp", "Sign...
asked by 01.12.2016 / 15:30
0
answers

Error generating ticket using Stella Ticket

I'm having trouble generating a ticket for Bradesco bank. I'm using Caelum Stella and IntelliJ IDE, just the basic test code that follows: public class BradescoBoleto { public static void main(String[] args) { Datas dat...
asked by 01.12.2016 / 19:25
1
answer

Android consmindo web service soap

I'm having trouble consuming a complex SOAP web services SOAP As I could send this request, I am a beginner in mobile development. <Autenticacao xsi:type="urn:Autenticacao" xmlns:urn="urn:RouterBoxMobile"> <ChaveIntegracao xsi:...
asked by 17.10.2016 / 13:46
1
answer

Java Runtime.getRuntime (). exec () Does not execute commands with space

I have a client socket and a server, the client sends a command to the server to run, but when the command has spaces, the server throws an exception: java.io.IOException: invalid null character in command Server Code: import java.io.*; imp...
asked by 30.11.2016 / 17:10
0
answers

Making a data filter

I have a page where I get data from a table in my database. In it, a field and a form, to filter data from the table. The following code is used to make the filter: <p:panel header="#{language['tela.cadastro.pedido.filtro']}" rendered="#...
asked by 17.10.2016 / 18:39
0
answers

Error: android.view.InflateException: Binary XML file line # 10: Error inflating class android.widget.ListView

I'm running my app, but it returns the following error: Caused by: android.view.InflateException: Binary XML file line #10: Error inflating class android.widget.ListView And I'm simply running the App and opening my ListView directly with a...
asked by 17.10.2016 / 01:55
0
answers

Remove file from a JList and computer [closed]

I have a frame with a list of values where multiple files are displayed. AtthispointI'mdoingthedeletebuttonsentinel(lastpartcode),inwhichthegoalistodeletethefilefromthedisk,andthejlist.publicvoidaddContentFrame(){frame.setLayout(newBorderLay...
asked by 18.10.2016 / 16:07
1
answer

receive the size of a folder in the textview [closed]

I'm an Android development trainee, so I need to create an app to receive / discover the size of the WhatsApp images folder / directory ... I researched and could not find anything, I saw some technologies that could be used, I have no idea h...
asked by 06.12.2016 / 14:30