Questions tagged as 'java'

1
answer

Can you delete a project that is uploaded to the play store, and replace it with another one with the same package name? [duplicate]

classmates, I have a small question. I have an application in the store play store, but due to the new update of android studio I came up with the idea of doing another project with the same name of the package and the same keyStore to see if...
asked by 07.10.2018 / 17:49
2
answers

In which cases the IMEI of a mobile device is not available?

I have an application that needs to download data, for that the IMEI of the device has been previously registered in the base, the problem has worked well, now that I use a device with API 27 the IMEI returns it to me null. public String getI...
asked by 31.08.2018 / 01:04
2
answers

How can I save the numbers of a notebook in an array in java and then order those numbers [duplicated]

package vista; import core.core; /** * * @author geovanny9596 */ public class vista { public static void main(String[] args) { //leer un TXT core c = new core(); String s1 = c.leerTxt("C:\Users\geovanny9596\Do...
asked by 24.09.2018 / 05:06
1
answer

Error in xsd dian colombia

I am trying to generate the classes of the xsd that the dian provides in java with netbeans using the jaxbinding tool, but at the time of doing so, it generates the following errors, [ERROR] 'AcceptedIndicator' is already defined línea 21 de...
asked by 08.11.2018 / 15:23
1
answer

Why does the same date appear on all Users?

I am in Java, and I want to show the users that I have in the database, I make the query and it collects it well, I insert them well in an ArrayList and when I show it, only the date of birth of the last user appears. Why? try { senten...
asked by 12.11.2018 / 14:35
1
answer

Life of a snake in JSP

I am doing a "game" of a snake, in which it must grow little by little and each part of its body has a color. I have problems with putting the color and I do not know in what way I can enter it. I put the code that I have put in which I get null...
asked by 26.09.2018 / 11:18
2
answers

Show results of a RealmResults in a Recyclerview (Android)

I'm trying to create an adapter to display data in a RecyclerView , but that your data provider is using the database system realm.io , that is, populate the RecyclerView from the result RealmResults of a query, list of...
asked by 27.09.2016 / 22:57
2
answers

Take the text from a flat file (File.txt) and save it in a string

As the title says I would like help to be able to take the text of "x" file and save it in a string to be able to traverse character by character. thanks in advance     
asked by 27.09.2016 / 22:08
1
answer

Inject EJB into controller

I'm with a JEE application based on Servlets and EJB 3.1. I want to inject the EJBs by annotation. From the Servlet itself I can do it, but if I do it through another class (a Controller) it does not inject it. Let me explain by example: I ha...
asked by 28.06.2018 / 15:08
2
answers

DataTable component of primefaces is not updated correctly

I try to refresh the dataTabale component of primefaces when I delete a record from the table, however, when I click on the delete button, sometimes the table is updated and sometimes not, then I have to manually refresh the entire page to see t...
asked by 27.06.2018 / 14:24