Questions tagged as 'java'

0
answers

Uncheck CheckBox or Restart Activity

I'm having trouble unchecking checkebox, I have a listview that comes from a database that contains two Check, and has a button that sends that data to another table, everything up here ok, by clicking the "refresh" the activity, uncheck the che...
asked by 12.07.2018 / 15:07
1
answer

Using different fonts in the same text field

I ask for help, I am trying to build a simple program that contains a text field (Edittext) and two buttons. The idea is to write any text in my text field and then if I click the first button I want my text to change to italic and if I click th...
asked by 25.07.2018 / 12:30
2
answers

I can not make the LIST page work in JSF

I have the following code that I'm developing with JAVA JSF, primefaces, postgre, cdi, tomcat: BUSCARBEAN package controller; import java.io.Serializable; import java.util.ArrayList; import java.util.List; import javax.annotation.PostCons...
asked by 10.07.2018 / 21:03
0
answers

My activity is not showing the menu button, in none of the cases Administrator or Attendant

public class PrincipalActivity extends AppCompatActivity { private FirebaseAuth autenticacao; private DatabaseReference referenciaFireBase; private TextView tipoUsuario; private Usuario usuario; private String tipoUsuarioEmail; private Menu men...
asked by 10.07.2018 / 20:29
0
answers

Error in Android application NullPointerException

I'm trying to create an android application that dynamically generates buttons on the screen, but I'm getting a NullPointerException error and I do not know how to treat it. Someone who has patience in explaining obvious things to me, becaus...
asked by 20.07.2018 / 18:41
0
answers

How to add a .zip file to the eclipse buildpath?

I have some problems when I put the icon images in my project. I read that we can put the images through a .zip file using the configure buildPath of eclipse so that at the time of creating the executable you have no problem loading the images...
asked by 13.07.2018 / 02:10
0
answers

Use QR Code of image generated from the camera of the cell phone

Hello, I built a project in Android Studio with Barcoder to generate and then read the stored data. So far so good. I would like to know now if I can make improvements like capturing an image of a bar code from a label (for example) and us...
asked by 09.07.2018 / 17:24
0
answers

CRUD Java web with JS, syntax error while updating

When adding the Update feature, a syntax error appears in the console, I know what the problem is however I do not know how to solve it. view template(listaFornecedores) { return '<table border='1px'> <thead>...
asked by 06.07.2018 / 18:44
0
answers

How to block 2 users on the same screen - JAVA

I need to block the access of 2 people on the same screen, for example, two people try to access the registration of a certain product, the second person trying to enter must receive a warning that someone is accessing this register. Anyone have...
asked by 06.07.2018 / 17:56
0
answers

SerialRxTx does not receive data - Java

I am testing a class of data receipts via COM ports in Windows. I get this data from an embedded dsPIC-based system. When sending data from the microcontroller to the computer via USB (COM3), the data is received normally, but when using blue...
asked by 07.07.2018 / 04:35