Questions tagged as 'java'

1
answer

Like does not return data

I have a function in mysql that returns a decimal value. In this function has a like. When I test the sql in mysql the value is returned if I enter a letter or more than one. Ex: LIKE 'House%'. As for the sql that is in a method of a class o...
asked by 29.10.2015 / 02:15
0
answers

How to capture sound from the device's microphone

How to capture sound from the device's microphone. Specifying better. I just need the volume of the captured sound. The idea is to call a method at a given volume. Is it possible?     
asked by 27.10.2015 / 00:02
1
answer

How to store images within the application?

I'm starting now in Java and I need to finish an application that when I click on a button show an image, I could even do it using the Desktop.getDesktop (). open (new File ()  but I needed this program to work on any computer, how could I pu...
asked by 26.10.2015 / 15:56
1
answer

Error when referencing global variable

I have an application that has a webview, so I created a preloader to load into a thread, now I need to put the webview on another thread, how can I do it (error in code)? import android.os.SystemClock; import android.support.v7.app.AppCompatA...
asked by 26.10.2015 / 13:50
1
answer

Add items to an Expandable List

I'm trying to use an Expandable List. In this Expandable List I want to put "my product categories" as a header and "my products" in my children items. However I am getting the error " java.lang.IndexOutOfBoundsException: Invalid index 1, siz...
asked by 26.10.2015 / 20:03
0
answers

Problem with java.util.NoSuchElementException

Error:    java.util.NoSuchElementException: No child 'runtime-name' exists I would like some advice on this message that is coming up in my application ... the error is above.     
asked by 27.11.2015 / 15:33
1
answer

Why does the dataScroller of primefaces stop fetching the records?

My xhtml looks like this: <p:dataScroller ajax="true" id="listaDiarios" chunkSize="3" lazy="true" value="#{managedBeanUsuario.lazyRegistrosDiarios}" columnClasses="first-letter-page-diary,second-letter-page-diary" var="re...
asked by 28.11.2015 / 21:52
1
answer

Refresh Variable - SQL Database - Hibernate

Here are excerpts from my attempt to create real estate and user registration software. The project was developed in the MVC framework. (Model, View, and Control.) Problem: How to update an attribute of a MySQL table? The update must be done...
asked by 29.11.2015 / 19:58
0
answers

how do I solve accentuation errors when sending an Android message to an API in php

Folks, I'm having trouble sending strings with accents and strings with 2 lines or more. When I send without an accent or with only one line, it usually accepts, however, when I send with an accent, it gives the error. I've already used an AP...
asked by 27.11.2015 / 20:37
1
answer

JasperReports - Is it possible for a report to be listed multiple times automatically?

I have a report that is nothing more than an invoice, with your items and note data and items. A feature was requested that when selecting more than one invoice, this report manages the template of each note in a PDF just so the user massively p...
asked by 30.11.2015 / 18:49