Questions tagged as 'java'

1
answer

Classroom API - CourseAlias

The following code refers to creating a course through the Classroom API. However the API does not allow you to manually set an 'ID' (using .setId ("ID")). For this, it is possible to create an Alias (single) for each course. public void creat...
asked by 24.01.2018 / 18:09
1
answer

How to implement the DllInscE32.dll of the syntax in the correct Java

I need to create a Java function that receives the DllInscE32.dll, made available by Sintegra to verify the consupencia of State Subscriptions. But passing the DLL location appears: "Exception in thread "main" java.lang.UnsatisfiedLinkError: U...
asked by 17.01.2018 / 17:57
0
answers

Jenkins CLI Connection Denied

When running java -jar jenkins-cli.jar -remoting -s http://maquina:9090 get-job TAL -auth user:1457c2 I'm getting a connection denied for some reason. Jenkins version 2.89. Any idea why the error? Stack error: java.io.EOFException at j...
asked by 17.01.2018 / 14:13
1
answer

Android - String in Base64 decode to pdf

Hello, The purpose is to decode a string in Base64 and move to PDF format and open ( no need to download to android device ). At this point I have this: public void onClick(View view) { int position = getAdapterPosition();...
asked by 17.01.2018 / 14:24
2
answers

How to implement the close button event on a screen?

When I create a screen in the Scene Builder in JavaFX, three buttons in the upper corner of the screen are as default: minimize , maximize , and close . My question How can I manipulate and implement the click event of the close (X)...
asked by 22.06.2016 / 19:39
2
answers

Download Zip Files through blob array

I have rest in java where I get a byte[] of a ZIP file. If I access the API URL through the browser, the file is usually downloaded without error. But if I try to download the file through an implementation using new B...
asked by 21.01.2018 / 13:32
0
answers

Connect mysql to Android Studio

I have a web-based system where his database is with Mysql. I'm now starting to develop the application on Android using Android Studio. I would like to know if you have how to create Mysql connection in Android Studio, taking advantage of the t...
asked by 21.01.2018 / 20:13
0
answers

Delete Method in a HashMap

I have a code from a trie tree that has insert and search methods, but does not contain a method of removal. I tried to implement but I did not succeed. I would like someone to give you a hint on how to implement it. Using this same code below i...
asked by 21.01.2018 / 21:06
2
answers

Problem when mapping servlet in web xml

I'm getting 500 error when trying to map the servlet, I do not know what can be, I think it's the servlet class that's wrong. ServletpublicclassaddContatoServlet3extendsHttpServlet{protectedvoiddoGet(HttpServletRequestrequest,HttpServletResp...
asked by 16.01.2018 / 17:36