I have a single table in the DB, which contains records with fields like: tipo, data, hora, cliente, historico
According to the value of tipo , the cliente field is mandatory, ie vazio .
To create a ListView...
In my application I can compress a folder and its contents, this content is the result of manipulation of pdf, jpg and xls. But I needed to split it into pieces (the compressed file can not be larger than 10MB for example), but so that one part...
I want to create an application to trigger an arduino relay. I made the code but when I pass it to my cell phone to test it it gives the following error:
App Stopped Working
Follow the code.
MAIN ACTIVITY:
import android.support.v...
I'm using Primefaces 6.2 with Hibernate 4.3 without JPA or Spring. I need to display data on the screen, where I have a Dialog and inside it a DataTable with a button that will open another Dialog. I have two problems, but I will focus on the fi...
I am making an app that le QR code and should open a page on the internet, if it is a web address, if not, show a toast if it is just a text. It opens the page of good but when it is only a text it hangs. Can someone help me?
follow the code...
In the code below I'm getting the message: session can not resolved which prevents you from running the code snippet.
package controler;
import org.hibernate.Criteria;
import org.hibernate.Session;
import org.hibernate.criterion.Restriction...
I created an app that lists all the contacts and sends them to the database, but now I want every time the user creates a new contact, it automatically sends them to the database. I've been looking around and seen that I'm going to use "service"...
I'm having a problem, that I'm not able to know which list an object belongs to.
I have to play a trick game in java, I have the player class, and each player has a list with the cards (the card is the object), however the game has 4 players. Th...
I'm trying to make a parser in an XML file provided by a WebService with open data from incumbent senators at Federal Senate
The XSD file can be found directly by this link . This xsd does not specify a root element, but many roots element...