Questions tagged as 'java'

1
answer

Problems with DataSource on a tomcat server 8

I have a web project on a Tomcat server (Windows 2008) with a MariaDB 10.0 database, for the connection we use the mysql driver "mysql-connector-java-5.1.36-bin.jar". I have made a migration from TOMCAT from version 6 to 8. Apparently everyth...
asked by 24.08.2016 / 15:38
1
answer

How can I check if he clicked again?

I'm doing a program for Android with access to database. Then I have an edit button, which when I pulse I deactivate a create button. To modify a text. Then I want that when I click again on the edit button (which at this moment has te...
asked by 30.11.2018 / 18:16
1
answer

App does not work on android 5.0, but on android 7.0

I'm a novice in programming. I'm running an app that detects if an app is installed and open the play store; I found this code How to make the PlayStore open if an app is not installed? and work perfectly on a smartphone with android 7, but on...
asked by 30.11.2018 / 22:46
1
answer

How to authorize access to Google Drive with OAuth2?

In my final year project I want to implement a client in which certain files are synchronized with your Google Drive account. I'm trying to use the Google Drive API for Java and I'm pretty lost with the OAuth2 because all the sources I read i...
asked by 15.02.2016 / 20:53
2
answers

I capture null value when I make a select to the database

Well, the problem is: I do not capture the value that exists in the database, especially in field codsubmenu , it is only capturing null values. I leave the code. public class Menu implements Serializable{ private int idMenu; pr...
asked by 19.01.2016 / 05:49
0
answers

Concept of step by reference and value

I know that the subject has already been commented and I have been checking in detail the contributions that have been presented during each one, thanks to them I think I have managed to really capture the concept but I still have doubts about w...
asked by 31.12.2018 / 03:29
1
answer

How to make me return the variable with the assigned values within a TRY

public Usuario buscar(final Usuario nombreUsuario) { Log.i("Usuario:", nombreUsuario.toString()); final Usuario usuario = new Usuario(); final String url = EstructuraURL.URL_LOGIN; StringRequest stringRequest = new StringReques...
asked by 31.12.2018 / 04:29
1
answer

No default proposals in JSF

I would like to find out how to get to show in a jsf code propositions for existing values in the java code of the view bean. I am using eclipse Luna . For jsf tags and their tags if you give me proposals, but for what I m...
asked by 19.02.2016 / 09:23
1
answer

How to reconnect a wasync client (atmosphere) when the server goes down?

I am developing a project for which I must implement PUSH notifications with an atmosphere server. For this I am using a wasync client. In the original project, it is an Android client, however I isolated both the server code and the client to i...
asked by 17.02.2016 / 10:16
1
answer

WebView in a Fragment?

I have this error:    Second_Fragment can not be converted to Fragment Code: public class Second_fragment extends Fragment { String direccion_web = "https://www.google.es/"; public View onCreateView(LayoutInflater inflater, @N...
asked by 27.10.2016 / 23:31