Questions tagged as 'java'

1
answer

Qt Java - Get gallery image

I'm trying to get an image from the gallery of Android using Qt. I've already called intent of Java using a arquivo Java , but I do not know how to return the value to Qt. I have a class that calls a method in the Java file...
asked by 26.11.2015 / 17:43
2
answers

Java args pass file as parameter

I am doing a graph work where I have to make a library and after generating the jar in the execution I need to inform two parameters that are txt files, the first one will be the input data in the second output. My doubt is how I do to pass two...
asked by 26.11.2015 / 15:44
1
answer

Concatenate values in the JFreeChart chart

How to concatenate values in jfreechart? I'm trying this way: public static DefaultCategoryDataset dataset = new DefaultCategoryDataset();; public void atualizaDataset(int humano, int zumbi, int rodada){ final String series1 =...
asked by 26.11.2015 / 15:35
1
answer

User Authentication in AngularJs with API Rest in Java / Jersey

I'm developing the user authentication module in my application and I'm having some trouble accessing the API, getting a 403 error. In the old way I was doing, when I sent the request to the service, it correctly returned the data I needed wi...
asked by 08.11.2015 / 14:58
1
answer

Convert java.time.Ser to java.time.LocalDate

Hello, I am reading Caelum's handbook on java testing jsf web services design patterns . The problem is that I can not read the date (I replace Calendar with LocalDate in class Negociacao ) by having those tags (...
asked by 09.11.2015 / 01:49
1
answer

How to change the maven life cycle?

I have an EJB project and would like to run the test after deploying my ear. I have a test in the ejb layer, which needs to access the ejbstubs inside the server (was), before I did this with ant, but I'm changing to maven, but I'm not able to c...
asked by 12.11.2015 / 17:10
1
answer

ksoup2 org.xmlpull.v1.XmlPullParserException:

I'm trying to make a query on the WEB SERVER implemented in PHP in this link . In the web service I have to send a request passing the parameters imei, password, operation . public class cargaColetaDao { private static final String URL =...
asked by 24.11.2015 / 08:45
1
answer

Error app android 5

I developed an android app that works perfect but does not run on android 5, I do not know what else to do ... Follow the cat log: 11-19 20:36:27.387 24358-24358/? I/art: Late-enabling -Xcheck:jni 11-19 20:36:27.414 24358-24368/? I/art:...
asked by 20.11.2015 / 18:33
2
answers

FTP connection is not listing files

I am not able to list the files in the folder via FTP (by Filezilla I can access list correctly): FTPClient ftp = new FTPClient(); ftp.connect("ip_ftp"); ftp.login("usuario", "senha"); System.out.println("conectado: " + ftp.isConnected()); //...
asked by 25.11.2015 / 14:50
2
answers

How to change a list of another ManagedBean

I've developed a search area on my system where the user can add an item to their list of items. Like a shopping cart. The search area uses a different ManagedBean than the user panel that has a dataTable that is loaded in another managedBean...
asked by 24.11.2015 / 15:23