Questions tagged as 'java'

1
answer

How do I open a Service from a BroadcastReceiver?

I am creating an application that intercepts an sms via BroadcastReceiver , but from that I want to receive a sms via broadcast open service . probably this is done via Intent but can not do.     
asked by 01.03.2015 / 06:24
0
answers

JSF + PrimeFaces 5 - Same Page Status for Multiple Users

I'm having a hard time compared to PrimeFaces 5 + JSF . I have two applications in the company where I work and the same ones running in the intranet , but when someone performs something, it queries or navigates between both applicati...
asked by 23.02.2015 / 14:21
0
answers

(Hibernate2) How to use createSQLQuery returning unmapped values

Good afternoon, Using HQL, I'm having trouble getting the client price table name . So I decided to try to use Native SQL via Hibernate. But I'm not able to do it in Hibernate 2 ... Next, I'll spend my classes involved and my function whe...
asked by 23.02.2015 / 12:30
0
answers

How to read Bank Draft Tickets that are sent to the Banks?

I would like to know an effective and structured way to read the Ticket Dispatch Files that are sent to the Banks. I have already found some libraries that generate these files, but none that read those files. If there is at least one simple...
asked by 25.02.2015 / 20:00
1
answer

List of everything that implements such class

Well I wanted to know why I can not create a class list that implements another class, for example public List<Class<? implements Classe>> classes; This returns a syntax error ... But I can create one of classes that ext...
asked by 22.02.2015 / 20:17
0
answers

eclipse connection to the database [closed]

btnLogIn.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { try { Connection lig = DriverManager.getConnection( "jdbc:mysql://localhost/gym", "root", ""); Prep...
asked by 18.05.2015 / 10:57
0
answers

Java application app [closed]

This code when pressed on the definicoes button opens a new window with an image, a line with text and also generates radio buttons, but the problem is that it creates another new window with the radio buttons and also doubles the JFra...
asked by 16.04.2015 / 14:06
0
answers

Apply NDVI to images with OpenCV and Java [closed]

Hello, good afternoon. I need help with image processing using the OpenCV library. Basically, I need to take a satellite image and apply the NDVI (vegetation index by normalized difference). Its calculation is simple: NDVI = (NIR - RED) / (...
asked by 17.04.2015 / 20:41
1
answer

The Classpath of my shell script could not find a particular jar

I have a shell script that performs the following statements: #!/bin/bash java -Dcom.sun.management.jmxremote -classpath .:lib/* br.com.governa.admin.sincronizador.negocio.Sincronizador config/sincronizacao-espec-transparencia.xml Time that...
asked by 15.04.2015 / 20:35
1
answer

method that checks if there is any record in my database

Good morning everyone. I'm new to Java programming, and would like some help. Well, it's the following, I want to make a method and check if it has any record in my table, if it has, proceed with the action, otherwise it falls outside the if. I...
asked by 14.04.2015 / 17:14