Questions tagged as 'java'

1
answer

Attribute "titleTextStyle" has already been defined

I try to compile my project but I get these types of errors    "Error: (2) Attribute" titleTextStyle "has already been defined" this is my gradle dependencies { compile 'com.android.support:multidex:1.0.0' compile project(':library') co...
asked by 04.05.2016 / 21:49
4
answers

Action on primefaces does not redirect me

Home page: <?xml version='1.0' encoding='UTF-8' ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xmln...
asked by 12.04.2016 / 21:58
1
answer

CRUD Firebase for Java object

I am faced with a problem creating the CRUD for a Java object in Firebase, in the documentation there is no section on it. Assuming the CRUD is about User.java : public class User { private int birthYear; private String fullN...
asked by 29.04.2016 / 12:52
2
answers

Problem with gradle sync

I just installed Android Studio , and you're giving me this error all the time: Failed to resolve: com.android.support.test.espresso:espresso-core:2.2.2 Failed to resolve: com.android.support: appcompat-v7:26 Any suggestions as to w...
asked by 20.07.2017 / 10:56
2
answers

List of exceptions in JAVA [closed]

I wanted to know how I access from Netbeans to see the types of exceptions, their characteristics and how they work.     
asked by 09.01.2016 / 21:03
2
answers

Can you pass predetermined or optional arguments in Java as it is done in PHP?

I have a Java method where I sometimes need to use a numeric value, but sometimes I do not. In PHP there is something called Default argument values , where you can do something like that ( example from the same PHP manual ): <?php func...
asked by 04.12.2018 / 14:25
2
answers

Increase RAM memory timerTask

I am doing a query to a table in the SQL database, the problem is, I have to consult the data in real time, therefore I have created a task every 1 second, but it turns out that the RAM memory increases until that is full. public void sent...
asked by 13.10.2016 / 23:23
1
answer

Hour data for a Spinner

I have a Spinner and as data these hours: final String[] horasInicio = new String[] { "09:00", "09:30", "10:00", "10:30", "11:00", "11:30", "12:00",...
asked by 15.06.2016 / 17:37
2
answers

I have a problem with the getMenuInflater ()

package com.example.victor.asteroids; import... public class MainActivity extends AppCompatActivity { private Button btnAcercaDe,btnSalir; @Override protected void onCreate(Bundle savedInstanceState) { super.onCrea...
asked by 17.06.2016 / 22:57
1
answer

Can a web panel (already deployed) be changed in tomcat for it but with some improvements?

Hi, I'm working with Genexus Salto and I have an application already in production that I developed last year with GxEvo3 update 3. It's somewhat complex, it has mobile integration, GAM, among some other things. What happens is that I changed a...
asked by 20.06.2016 / 01:25