I'm developing an application based on another application, in this case the app is a map (provided by the Google Maps APIs) where points are added map and can be clicked to display more information about the location, such data (name, descriptio...
I want to appear in a ListView all the information of a select that I gave. I can do just with txt appearing an information:
public void sendjsonrequest() {
JsonObjectRequest jsonObjectRequest = new JsonObjectRequest(Request.Method....
I want to load the chart as soon as the date is selected, but I can not get the date value.
NOTE: The date is null, giving NPE (Null Pointer Excpetion)
And my buttomCommand is only working as a test, to see if it enters the method
XHTML:
&l...
I have a problem with a report generated by the Jasper Report.
I created a screen with parameters of the report that when pressing the button calls the method below.
public void imprimir() {
try {
RpFolhaDePagamentoDAO dao = new Rp...
Button that calls the page that lists the requests:
<p:commandButton value="Avançar" id="avancar" action="#{clienteMB.avancarPedido(pedido)}" styleClass="ui-priority-primary" ajax="false"/>
Next Request Method in Manageable Bean:...
The == operator says that the Strings are different, and they store the same literal value, see example:
public class TesteString {
public static void main(String[] args) {
String str1 = "teste";
String str2 = "Otes...
I have the following problem: I need a program that receives a positive even number from the input and forms a "wheel" with these numbers, so that:
All numbers from 1 to n are used in the circle only once.
The sum of two consecutive number...
How can I send a ImageView to DB? I'm trying to declare it to connect to the WebService and send the data but I'm having this doubt, code follows:
// Tirar foto e aparecer numa ImageView chamada: ATESTADO
protected void onActivityResul...
I have a problem that when I click on the image, the first time nothing happens, only after the first click that the simple click function works and long click.
XML Code:
<ImageView
android:id="@+id/idimagem"
android:layout_width="wrap...
Keyboard opens when I call my LoginActivity, how can I solve this?
This is my LoginActivity.java
package fabiohcnobre.jhotelcolonialdosnobres;
import java.util.ArrayList;
import java.util.List;
import static android.Manifest.permission.R...