Questions tagged as 'java'

1
answer

Can you place two different Layouts in the same RecyclerView? [closed]

To give the example of a chat. The messages are placed in a RecyclerView, and each element of the RecyclerView is a Layout that is composed of a cardView where the name, time and message goes. Now, a user is going to choose an option where th...
asked by 13.09.2018 / 14:57
0
answers

Error calling an Activity from an AAR Android Studio file

Good by the StackOverflow community, today I have the sig. problem, I try to call an Activity that is inside an AAR file, but when it calls it, it appears in the middle of the screen and the other half is the Activity of the project where it is...
asked by 03.10.2018 / 05:55
0
answers

Some request data are not mapped

I send the following Request { "name":"juan", "lastname":"caviedes", "email":"[email protected]", "password":"12345678q", "areaid":"13", "profileid":"2" } I have the class to map the object. public class SingUpRe...
asked by 03.10.2018 / 21:20
1
answer

Bean does not show parameters sent from DTO

I am programming a mini form, the question is that I have 2 user and institute beans, the user logs in and enters an index where he has to fill out a form, in index I want to show both the user's name and the institute that it logs both in an o...
asked by 12.09.2018 / 19:35
2
answers

problems with getPropertyName ();

I have the following part of the code: public class ControlaEstat implements VetoableChangeListener{ private String [] valors = {"A punt","Avariat","Ocupat"}; // estats permesos /** * Llenca una excepcio si el canvi demanat vol...
asked by 24.04.2018 / 10:05
1
answer

Rename an image before or after saving it

I'm doing an app in android studio, and I need to change the name of an image before saving it. I detail more, first I upload an image from the memory of my mobile, the change by default and then save it, but save it with the name that had that...
asked by 24.04.2018 / 17:22
0
answers

Draw? it could be said. (java) [closed]

It happens that we were given the task of creating a Main that can print the following figure with the use of "for": @ @@@ @@@@@ en el caso n=3. @@@ @ @ @@@ @@@@@ @@@@@@@ en el caso de n=4. @@@@@ @@@ @ and so on successiv...
asked by 19.09.2018 / 00:13
0
answers

Sort from highest to lowest in java with Quicksort

I have the code that orders from minor to minor but I need it from most to least, I do not know how to do it. public static int[] ordQuicksortAsc(int[] datos, int izq, int der) { int pivote=datos[izq]; int i=izq; int j=der; int...
asked by 05.10.2018 / 02:05
0
answers

Help with putting together a query in Oracle?

I have a table called ESTRUCTURA that has the fields ID_ESTRUCTURA, NOMBRE_TRABAJADOR, ACTIVO And a table called TRABAJADOR_RANGO that has the fields ID_TRABAJADOR_RANGO, ID_ESTRUCTURA, ID_SERVICIO, TIPO_RANGO What I want...
asked by 05.10.2018 / 03:57
1
answer

How to store a color of a JButton in a BD SQLite

My program can dynamically create JButtons, Text is added to it and the value they will return to me when I click: String name = nameField.getText(); String identification = idField.getText(); Person person = new Person(name, identific...
asked by 27.08.2018 / 00:47