Questions tagged as 'java'

0
answers

Error in Throwable returns null

I have a problem I need to receive the memory stream from a webservice that was developed in C #. The routine below worked correctly, but now it falls into catch and the exception is null. What could be happening? is there a better way to receiv...
asked by 05.12.2014 / 15:25
2
answers

Error opening Activity: Application stopped

I have a VigasFragment.java file with a button that when touched should open Activity VigMetBiapsb.java , however some error occurs, closing the application. VigasFragment.java: public class VigasFragment extends Fragment {...
asked by 23.11.2014 / 19:55
0
answers

Tap the application close button

I followed this tutorial to create a layout with tabs . After this, I created a button in XML, which is displayed without action, because it is only in XML. I want to open another Activity from the touch of this button, but whe...
asked by 20.11.2014 / 23:14
1
answer

How do I know if SMS failed to send?

I have this method of sending SMS via application: public boolean enviaSMS(String fone, String mensagem) throws Exception { try { smsManager.sendMultipartTextMessage(fone, null, smsManager.divideMessage(mensagem), n...
asked by 10.02.2016 / 14:53
1
answer

Protecting Source Code (Encrypt .jar) [duplicate]

I have an application and would like to protect my source code, which is the safest and most correct way to use it?     
asked by 24.11.2014 / 03:11
0
answers

System 'hangs' after uploading image

In my system, I upload a certain image, the image is saved in a directory and then saved the product in the database until the right td, the problem is that after saving the product the system hangs, logging of the server does not show any error...
asked by 04.02.2015 / 01:55
0
answers

Pointer error in a table-fill method

Apparently it's supposed to be right, but when I run it, it leaves the following errors: Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException at bibl.PesquisaSimpl.preencheTabela(PesquisaSimpl.java:188) at bibl.Pesquis...
asked by 20.11.2014 / 19:32
0
answers

getId () returning null (AWT-EventQueue-0 java.lang.NullException)

I am building a basic system that helps in the calls of the IT sector. The problem is this: as it is already in the title, the getId () method of the sector entity is returning null. Seeing this, I decided to create a test class, which works wit...
asked by 03.02.2015 / 13:29
1
answer

How to create a search filter for a three-dimensional string?

I have ArrayList of type String Three-dimensional: String[][] And I would like to do a search system that filters the values, eg: String[][] table = {{"Ronaldo","32","Atacante","Sao Paulo"}, {"Cristiano",...
asked by 03.02.2015 / 20:02
0
answers

Search in listView with custom itemView

I have a listView that has two text fields ( nome and local ) that are taken from a Empresa object. The examples scattered on the internet only show search in listViews normal with only one string . H...
asked by 28.10.2014 / 06:07