Questions tagged as 'java'

0
answers

Problem when moving from XML to PDF with Aspose.pdf JAVA

I am creating a class to create a PDF through XML. All this I need to do with Aspose.pdf. I have imported the necessary libraries and included in the pom.xml the repository and the corresponding dependency. <dependency> <groupId&g...
asked by 11.09.2018 / 08:16
0
answers

HOW TO WRITE EXCEL WITH HEADENDS?

I try to write a file with query, where the first column of the query is the header of the rest of the columns when writing it in excel, this is the code which writes it, the problem is that it only writes the last value of the query. Workbook...
asked by 31.08.2018 / 20:34
2
answers

Can you connect a windows server with another windows server using java?

How about my problem is the sig. I have to perform a java process that will be hosted on a Windows server (Server 1), this server will run the .jar which has to connect to another server Windows (Server 2) to find a file, read it, extract a frag...
asked by 30.08.2018 / 21:54
1
answer

Is it necessary to instantiate java classes to use a single method?

I would like to know if it is necessary to instantiate a java class in a variable to use only one of its methods. For example: Instead of using: Clase variable = new Clase(); metodoMio(variable.procesarTexto("null")); use: metodoMio(new C...
asked by 30.08.2018 / 20:51
0
answers

How to execute command in the cosola with adminsitrator privileges from java?

I need to execute the commands: netsh, wlan, set, hostednetwork, mode=allow, ssid=+nom, key=+pass When I run it on the normarl cosola, I get the message:    You must execute this command from a system symbol with administrator privi...
asked by 30.08.2018 / 21:46
0
answers

how to keep user data logged in Android app with shared preferences?

I have a project in Android Studio with a SQLite bd, what I need is that when logging into the LoginActivity it shows me certain data from other tables that correspond to the logged in user. This is my method when logging in, what I need is t...
asked by 30.08.2018 / 04:32
1
answer

How to put Double zero (00) to a NumberPicker

I have this code and I could not make the NumberPicker in the 00 as I have it there, only the 0 is seen alone. numberPicker.setMaxValue(59); numberPicker.setMinValue(00); numberPicker.setValue(3); btnCalcular.setOnClickLi...
asked by 30.08.2018 / 01:06
2
answers

Open fragment from activity

How can I open the ItvList fragment from the AddItv activity's Snackbar? import android.app.DatePickerDialog import android.content.Intent import android.os.AsyncTask import android.support.v7.app.AppCompatActivity import android.os.Bundle imp...
asked by 10.09.2018 / 07:00
0
answers

remove XML request tag

Benos dias. I am consuming a web service where the wsdl sends me some tags. <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:v1="urn://bancompartir.com/services/accounts/apoteosisservices/v1.0" xmlns:v1...
asked by 04.09.2018 / 14:36
0
answers

Problem with wait screen in selenium webdriver

Hi, I have a generated method to replace the waitsleep and that this is more efficient, I have it as follows: public void caso50() throws IOException { ingresoCredenciales("50", Constantes.equipoMotox4, "8.0"); RemoteWe...
asked by 04.09.2018 / 16:19