Questions tagged as 'java'

1
answer

close alertdialog open with inflate

I have a project with an open dialog box with an inflate giving the user the option to type a text to change the value of a String. I'm having trouble closing this box and going back to the previous layout. public class Calendario extends A...
asked by 29.06.2018 / 17:29
1
answer

Multiple bags Exception / Searching multiple collections with JPA

I'm having a problem with JPA when it comes to making a query. I want to query Entity A that has a% of Entity% B and% of Entity% C (I want to query Entity A by bringing Entities B and C into the same List ). > When I try to execute th...
asked by 11.07.2018 / 04:54
1
answer

ActiveMQ on Wildfly 12

I'm migrating an application to Wildfly 12 and I'm not able to connect in my queue using ActiveMQ. Log: 20:27:21,862 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0025: WildFly Full 12.0.0.Final (WildFly Core 4.0.0.Final) started in...
asked by 11.07.2018 / 01:48
1
answer

Joins with child entities

I have a parent entity called OCR, this has 2 that are specialization (inheritance): OCR_A, OCR_B. My hql needs to contemplate the 2, ie I need to join the 2. I start like this: select o from OCR o How do I join in the 2 child tab...
asked by 11.07.2018 / 14:34
0
answers

Hexadecimal for Color Name

I have my final project to present this Monday, and it's an android app made with Android Studio. My app captures colors with the camera and returns a value I have already created an XML file with more than 1000 colors with their names and...
asked by 14.07.2018 / 20:35
0
answers

Logging in with Jsoup

I'm trying to log in with JSoup on this page here, however I have some issues with doing this. Hereisthehtmlpageurlistheonehere( link ) <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/><...
asked by 15.07.2018 / 04:55
1
answer

Return from database values

I have two variables: Int id; String Produto; I want to fill in the variable "id" with the corresponding "product" value. The data is collected directly from the bank. public static void main(String[]args){ connectionBancoDados con =...
asked by 28.06.2018 / 16:56
0
answers

Problems with Array

I'm doing a facial recognition system, and all that's missing is for me to finish everything. I have the following code: for (int i = 0; i < facesDetectadas.size(); i++) { Rect dadosFace = facesDetectadas.get...
asked by 28.06.2018 / 17:20
0
answers

How to store image in SQLite?

I have an app with product registration that has 3 EditText and 2 imageView. I am trying to save these values in SQLite but there is something wrong because it does not give error but also does not save, it follows the code. mBtnAdd.setOnCl...
asked by 06.07.2018 / 05:44
0
answers

Error using ProGuard the first time in an Android app

My Gradle is as follows: buildTypes { debug { shrinkResources false minifyEnabled true proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } rel...
asked by 06.07.2018 / 04:23