Questions tagged as 'java'

1
answer

Data autocompletion with Booststrap Typeahead + Spring MVC and JavaScript from the database

I am trying to autocomplete data using the bootstrap typeahead. The idea is that, when you write a code in the input, do a search from the database. When selecting one of them, I automatically fill in the code and the name. I tried to do i...
asked by 08.03.2017 / 15:06
1
answer

Instance classes and execute java methods from jsf

I'm doing a webservice, and I have several JSF Managed Bean methods, and I need to instigate the class and invoke the methods by sending parameters type String from a JSF page that is of .xhtml extension. I do not need it to inv...
asked by 08.03.2017 / 17:51
2
answers

Pass variable to class cursorAdapter from activity

I have data loaded into a listview with custom cursorAdapter, my question is how can I pass a variable to the adapter cursor from the activity where I call the cursor, I do not know if they understand me. Try to pass it through the constructo...
asked by 16.05.2017 / 22:10
3
answers

Generate Excel document from Java

Good, I'm using the Apache POI library to generate excel files from Java. This works by loading the records in a JTable and pressing a button generates the excel document. The problem is that I need to generate the formatted document, that is, t...
asked by 08.03.2017 / 11:43
2
answers

I have a problem with a NullPointerException when comparing a String [closed]

Well, in this program the idea is to register a department and then register an employee, which asks you for a department in which the employee works. The problem is that when I put the department I made a method to compare the one with an ex...
asked by 02.03.2017 / 01:03
2
answers

Word reserved "float" in Java

What is the FLOAT command in java for? They left me an exercise where I have to capture enrollments, names and the 3 student ratings and then give the user the option to consult them when entering the student's enrollment and request to use the...
asked by 02.03.2017 / 14:29
0
answers

Problems with Mariadb when creating table from java

Good morning, I can not find the solution to my problem. From java, I create a table in phpmyadmin and insert data, which apparently does it well, I do not get any errors, however I find that if I want to enter data in a column that I created...
asked by 01.03.2017 / 20:31
0
answers

How to write in system files?

I want to be able to write to a file that is system and that the only way to do it is with root permissions (I have them but it does not even work). My code Process proc = Runtime.getRuntime().exec(command); Toast.makeText(this, "Si", Toast...
asked by 16.02.2017 / 01:18
0
answers

webView Does not load the resposive design [closed]

Greetings my people I'm grabbing this app with help from the internet ... .. This is the same app in different android oks what happens is that in the virtual android AVD loads well but in phone does not load the responsive of the web not huh di...
asked by 07.02.2017 / 22:40
1
answer

How do I update an editText of a fragment from another fragment in an activity Tabbed?

Good morning, I have a tabbed activity with three fragment, one of them is called frPrincipal and another one is called frConfiguracion. In frConfiguracion I have an editText where I enter an ip and a button with which I save using SharedPrefere...
asked by 08.02.2017 / 13:13