Questions tagged as 'java'

1
answer

how to make a Bitmap read as a route?

Hash_file_maps = new HashMap<String, String>(); sliderLayout = (SliderLayout)findViewById(R.id.slider); for (int i=0;i<NombreImagen.length;i++) { Hash_file_maps.put(NombreImagen[i],imagenes[i]); } for(String nam...
asked by 14.06.2017 / 17:14
1
answer

Return Json of type "field_name": value with Java and Spring

I'm doing a REST API that consumes data from a mySQL database and returns it in JSON format. I use hibernate, so I have object entities "connected" to the database with their respective notations @Entity, Id etc. and these are returned perf...
asked by 25.06.2017 / 01:23
0
answers

Report with a Subreport that is another Report

I have a Report made in iReport, this report contains a subreport which shows a report, this subreport I use as a header. The subreport contains 2 components for images and 2 parameters, which are titles (these work because I pass them by par...
asked by 18.07.2017 / 06:43
0
answers

Send the subclass as an argument in the super constructor

If a class in your constructor calls super(/*argumentos*/); , how do I send it to itself? (Likewise as a parameter, what else could be sent? And I know that the subclass, the superclass can not call super(); (at least not in my exam...
asked by 30.06.2017 / 19:44
0
answers

How to serialize objects to a database in Java? [closed]

Good! I am new here and I had a doubt, in Java, if I want to serialize an object (for example, a map object, which has 3 integers and an array of objects) How can I save that in a database? I managed to serialize the object and save it in firebi...
asked by 11.06.2017 / 13:53
3
answers

The execute or execteUpdate statement is not executed to insert a PDF

I have the following code, what I try is to add a PDF to a database. The problem is that I execute the instruction in SQL and it works, but I try to do it with Java and it does not. That is, it always returns a false. Conexion c = new Conexion...
asked by 09.06.2017 / 21:57
1
answer

How to execute a very heavy process exposed as REST from wildfly?

I have a process that processes an input file, uses 100% of the processor (uses the 16 cores), and 8 GB of RAM. I currently run it directly from the console. But I need to call this process from a REST service. The service must be asynchronous,...
asked by 05.06.2017 / 01:05
0
answers

Failed to perform POST request in java with AndroidStudio

I am developing an application for android and this makes a POST request sending some values to a television decoder. The application generates the values correctly but at the time of sending the data to the device it gives several errors among...
asked by 03.06.2017 / 20:41
0
answers

PeriodicSync does not work on Android Kitkat and Lollipop

My Sync Adapter works correctly Periodic Synchronization with Android Marshmallow, but it does not work with KitKat and Lollipop. In these two versions, periodic synchronization does not work, if it works manually. I have searched for solution...
asked by 05.06.2017 / 00:42
0
answers

WebView in Android Studio that works just like in the browser

I have a WebView in a project in Android Studio , this WebView contains or loads an online radio page ( streaming ) made in listen2myradio ... The WebView loads correctly I can listen to the broadcast and all right. The problem is that...
asked by 04.06.2017 / 01:18