Questions tagged as 'java'

0
answers

Recognize when my Android gives a bluetooth ping response

I need to know what it takes for my Android program to detect when my bluetooth is responding to a ping command in bluetooth . Type are pinging l2ping against my cell phone, on my cell phone I want to detect this.     
asked by 25.09.2015 / 15:51
4
answers

Creating base date using StringBuilder

I'm creating my database with class sqliteOpenHelper , passing DB creation by String through StringBuilder . The problem is that you are only creating the first table, and then you do not create the next table, in which case I...
asked by 10.11.2015 / 23:27
0
answers

Error when calling WebService that returns a list (JPA)

Hello, I can not return a list of requests through the WebService: public List<Pedido> getPedido() throws Exception { String query = "SELECT p FROM Pedido p"; TypedQuery<Pedido> typedQuery = entityManager.createQuery(query...
asked by 14.11.2015 / 13:29
0
answers

Jersey API Cache

I'm having second thoughts about the Jersey Cache control. Using QueryParam, does the browser / server risk performing the result cache? Or does this happen only when I work with PathParam within my GET method?     
asked by 14.11.2015 / 15:46
0
answers

ClassNotFoundException error in RecyclerView $ SavedState

When I spend some time without touching the application and I go back to it, it gives this error: E/Parcel: Class not found when unmarshalling: android.support.v7.widget.RecyclerView$SavedState, e: java.lang.ClassNotFoundException: android.sup...
asked by 16.11.2015 / 04:20
2
answers

Why is jsf not recognizing listener in Bean?

Why is jsf not recognizing the Bean listener? My bean: /** * Listener que escuta a mudança do tipo de Solicitante * * @param event */ public void mudarSolicitante(ValueChangeEvent event){ logger.info("Novo objeto : " + event.getNew...
asked by 22.09.2015 / 02:51
0
answers

Photo saved but does not appear in gallery [closed]

Good evening, I'm working on a camera project that adds what the user writes in the text fields in the name of the photo. The application works only if the photo does not go to the gallery. It only appears in the gallery if I access the folde...
asked by 23.09.2015 / 01:08
1
answer

Problems connecting to my computer using external ip

I am trying to make a java application that will serve as a server for an android application to establish a Socket communication with the computer that my program is open on the port that it is listening to (I chose 50000). everything is correc...
asked by 23.09.2015 / 16:53
0
answers

String conversion to BigDecimal is giving error and method does not save [closed]

I'm making a video system and on my category screen a field called value to save the value of my category. I was able to do the conversion from String to BigDecimal using the following methods: ToString, DecimalFormat, StringBigInteger, valueof,...
asked by 21.09.2015 / 15:27
0
answers

Give more than one event to a window [closed]

So I created a window in java, but I need to assign a different event to it depending on the time it is called. And the problem is, I can not do that. Is there a way to do it? Window:     
asked by 07.09.2015 / 19:36