I have an Android app with multiple addresses. When you click on an address, you want to get the user's current location and play on link from google maps http://maps.google.com/maps?&saddr=" , along with destination coordinates....
I'm having this error when running my application:
05-Oct-2016 21:18:25.586 SEVERE [localhost-startStop-26] org.apache.catalina.core.StandardContext.listenerStop Exception sending context destroyed event to listener instance of class org.spri...
I need to check in Java whether an email or if your domain exists. I do not mean to treat the validity of the email, using for example regular expression, but rather really check if there is an associated account. I have seen some forums on the...
Why is the method below returning -1? It should return the difference in hours between two dates.
public int diferencaHoras(String h1, String h2) throws ParseException{
DateFormat df = new SimpleDateFormat ("dd/MM/yyyy hh:mm");
Dat...
I made a program that asks the user for a number that will serve as maximum value. And then the program shows the odd and even numbers from 0 to that number. I used printf to have an output like this:
Os números pares são os seguintes:...
I have the following code snippet:
import java.util.Random;
import java.util.Scanner;
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.JTextArea;
import java.io.*;
import java.lang.String;
public class findthewordgam...
I and my team work with iReport, I have not used mine in a while, but I needed to open it for maintenance recently and it does not work. The splash screen displays "Loading cached objects" and terminates the process.