Questions tagged as 'java'

0
answers

Cordova with servlet

I'm trying to create an APP using phonegap, I'd like to know how do I get the Html, css, and javascripts that is transformed into APK by CORD to communicate with the Java servlet controller: I'm trying to leave the servlet in another application...
asked by 31.03.2018 / 01:50
0
answers

Update data from a RecyclerView - AndroidStudio

I am having to create a database and display it later in a RecyclerView. I register my clients in one activity and show them in another. The problem is that when I register my clients, it does not immediately appear on the other activity, I have...
asked by 31.03.2018 / 00:47
0
answers

How to implement FileProvider on the share (android 8+)

How do I implement FileProvider in my sharing code? the app is presenting closures in android 8+ read something about the new system of android 8, and some recommended the replacement of the attempt by FileProvider, I already stated in the manif...
asked by 01.04.2018 / 01:21
1
answer

DatePicker Date Return Issues

I'm using a datePicker for an application that will be used in the course, but when I convert it from int to Date, it returns the date 3/29/2018 as follows:    Wed Sep 08 00:00:00 GMT 34 Code that is called the datePicker @SuppressLint(...
asked by 29.03.2018 / 17:37
0
answers

Delete SQLite database data

I'm doing a database program. I would like to have the option of deleting a database from database SQLite . So I did the following: In my OpenHelper I called the following method: public void delete (){ SQLiteDatabase db = get...
asked by 31.03.2018 / 18:32
0
answers

How to do the transcription of the Google Speech API continuously?

How do I make the code fill in the onResponse() the result of the transcript instead of always changing it in responde.setText(output) ? I know that the setText within the function will always replace the text, but what better way t...
asked by 08.04.2018 / 22:35
0
answers

Store a List attribute in an XML of an object with JABX

I'm using JABX to serialize (or "marshalize") objects into xml files. However, the JABX does not store the List attribute contents of the serialized objects. Only the name of the List appears in the XML, but not its contents. Look at the obje...
asked by 08.04.2018 / 20:37
1
answer

Error 415 - File Upload

pom.xml <dependency> <groupId>commons-fileupload</groupId> <artifactId>commons-fileupload</artifactId> <version>1.3.3</version> </dependency> Angula...
asked by 08.04.2018 / 23:28
1
answer

Java Search Box

I'm creating a system in Java using NetBeans. I would like to create a search box that shows the results in a list (of variable size) under the box as the user enters the text to be searched. It would be something similar to the Google search bo...
asked by 27.12.2016 / 19:15
1
answer

How to test my web service made under the spring boot using a specific profile?

I'm developing a RESTFul web service using Spring Boot and would like to know how to run unit tests with requests directed to web services without having to manually lift the server first. I would like the tests to raise the server automatically...
asked by 28.03.2018 / 19:46