Questions tagged as 'java'

1
answer

Objects in Android do not appear in place [duplicated]

I came from java some time ago, but I felt the need to make an application on Android. The case, that when I compile my program with the Android Studio simulator, things appear hidden in the upper left corner. I searched all over the internet,...
asked by 02.04.2018 / 00:10
1
answer

How to send a value from a CustomDialog to an Activity?

In the activity_main.xml - > I have a button, which when pressed - > open a custom list view, where when you press the element 1 - > open a custom alert dialog, - > which has 2 buttons and when pressed the Button A - > it takes to...
asked by 01.04.2018 / 22:09
0
answers

Trust anchor for certification path not found

I receive the following error javax.net.ssl.SSLHandshakeException: java.security.cert.CertPathValidatorException: Trust anchor for certification path not found. This is undoubtedly given by the certificates, I used the following class to av...
asked by 02.04.2018 / 20:51
1
answer

because I get the error that I did not find the resource of the layout when signing the apk of my application

I have a problem and I do not know how to solve the error when I try to sign the apk generates that I did not find the layout resource as seen in the image instead the layout that was not found is in the layout folder or is that I am inclu...
asked by 02.04.2018 / 02:20
0
answers

because when I login to a page sending your respective username and password using Android Volley the session expires?

I am developing an app for my university, when I send the request to the server with its respective user and true passwords I get an Authenticated Data.htm response (That means that I can log in) but when I want to see my other data such as my K...
asked by 02.04.2018 / 21:36
1
answer

Call another .java [duplicate]

I'm trying to create a discord bot with java maven and I would like to have the core separated from the commands, and that the core call (start) the commands so that they can be used, I tried to call it in the following way but not it works, i...
asked by 27.03.2018 / 22:25
0
answers

How do I put a method for a button in a fragment

How do I put a method for a button in a fragment? I have a method for the button but when I click it it crashes, how do I make it work? You already have the onClick with the name of the method. Eye: I do not want to use the typical button.setOnC...
asked by 07.04.2018 / 23:03
0
answers

How to adjust elements in a frame

I have a doubt with the elements that I have in my frame and a jlabel of backgroun the window is maximized but everything stays in one place I would like to know if you can adjust the elements with some method or I have to adjust all elements by...
asked by 07.04.2018 / 16:26
1
answer

Database and Java

I am trying to filter in a database from a combobox, for example if in the combobox you choose systems in the table you should show the data of only that area, I have this code: String lugar=String.valueOf(combo.getSelectedItem()); ResultSet c...
asked by 07.04.2018 / 19:56
0
answers

Agenada calendar view: The following classes could not be instantiated:

I'm using a dependency on an agenda with github calendar link but at the time of declaring the view sends me the following notice in the xml and in the second error The following classes could not be instantiated: - com.gi...
asked by 07.04.2018 / 22:36