Questions tagged as 'java'

1
answer

Problem with access to MySql database

I am learning programming and I am struggling with a problem in my web application. I have made the same application using SQLServer and I have not had problems but changing the connection string to make it work with MySql stops working. I am...
asked by 20.10.2018 / 06:27
1
answer

Problem when putting admob in android studio

I have created an application in android studio and it works fine but when you put the ad theme with admob it can not even be opened and it comes out all the time the application has stopped working. I have followed guides, tutorials, etc. I...
asked by 19.10.2018 / 09:43
0
answers

Rename the device from a textbox [closed]

I would like to change the name of the android device (the name of the bluetooth) from a textbox and I do not know how to access it, I do not know if it is accessed from the bluetooth libraries or from another library     
asked by 01.10.2018 / 08:41
0
answers

Problem when uploading image to server with Spring java

It's been 2 days without being able to solve this and I see no other recourse here, the problem is that I try to upload the image to server with the java spring framework and place the path of its location in the database, but when sending it I...
asked by 27.09.2018 / 16:01
0
answers

Android sqlite INNER JOIN that returns an array

I'm using sqlite for android and I want a function that returns an array with all the objects that meet a condition. Let me explain: I have two tables: Movies private static final String CREATE_PELICULAS_TABLE = "CREATE TABLE " + PE...
asked by 27.09.2018 / 15:23
0
answers

java - Spring Mail Authentication Error

I try to perform a service to send emails from my application. I have the Bean configured as follows: <bean id="mailSender" class ="org.springframework.mail.javamail.JavaMailSenderImpl" > <property name="host" value="smtp.gmai...
asked by 26.09.2018 / 13:43
1
answer

Android the dark theme does not activate with MODE_NIGHT_AUTO

I'm implementing to change the theme of the app depending on whether it's day or night, with NightMode of Android I have defined the two themes, day and night, that work correctly To activate the dark / night AppCompatDelegate.s...
asked by 25.10.2018 / 19:43
1
answer

Two war applications can run simultaneously in the same root context

I want my application to run in a different context than the name of the project, for that I found this solution in the forum Change the context ( URL Root) of a web project in eclipse that's fine, but my question is if I have two independent...
asked by 24.10.2018 / 16:12
1
answer

Problems with Intent.SetPackage ("com.whatsapp")

I'm doing a mini test app that shares a text string, and I wanted it to do it directly by whatsapp, skipping the step of deploying the app choice to share with. I found that the intent could be made a intent.setPackage("com.whatsapp")...
asked by 24.10.2018 / 17:35
0
answers

Java JAXB escape special characters in hexadecimal

I'm trying to escape special characters for a request in XML using Marshaller from JAXB and I need the values to arrive at destination with the escape in hexadecimal. The problem is that it does in decimal, I already tried several charset and...
asked by 24.10.2018 / 16:35