Questions tagged as 'java'

1
answer

Hash table with quadratic method

I am implementing a hash table with quadratic exploration method. My question is regarding the 0 position of the vector used for table implementation. Here is the code below: public boolean inserir(Pessoa item) { int valorHash = hash(item....
asked by 08.02.2016 / 20:28
1
answer

Transform UTC milliseconds into other Time Zone

I get a date from the service in milliseconds and UTC. I need to transform into the User's Time Zone. For this I did the following: public static void main(String[] args) { // Milisegundos está em UTC... long time = 1457037493000...
asked by 03.03.2016 / 20:03
1
answer

View SplashScreen with progress while JFrame loads

I have an application done in
asked by 01.03.2016 / 16:07
0
answers

Doubt over NetBeans [closed]

Is there any way I can do something like the Android ListView in NetBeans? I need to make a custom list in a JFrame, as is done in the Android ListView.     
asked by 07.12.2015 / 22:10
0
answers

Sort threaded list in MVC pattern design [closed]

In my project I'm using a threaded implementation of my own list, that is, I'm not using the Java API ready list. Also, my implementation is from a generic list, which has objects of type Object on their nodes, so that it can be used for any typ...
asked by 09.12.2015 / 17:10
0
answers

Response XML does not display accented characters

I'm wearing Jersey in a WEB application. In this application, I return an XML file to client requests (which are web-browsers). In order to ensure the display of accented characters, I wrote the Produces annotation as follows: @Produces("t...
asked by 26.08.2015 / 21:24
0
answers

Convert ASCII PostgreSQL Bank to UTF-8 in Java Ksoap

I have app Android that consumes from a webservice where the database is PostgreSQL and the ASCII type. When I try to print the string returned in the app it unconfigures the letter with accentuation, for example, Pulmão = Pulm?o ....
asked by 25.08.2015 / 22:21
0
answers

Get URI of a full size photo by Camera in OnActivityResult

I'm using the Android camera to take a photo and save it from a WebService. I was able to do this, however using the method of taking a thumbnail. My intention is to get the image in full size. I researched a lot and got to the official Andro...
asked by 18.01.2016 / 16:06
0
answers

How to create a URL Protocol [closed]

Well, I'd like to know how I can create a "Scheme", a Protocol such as HTTP, HTTPS, FTP. I would like to know how I can make this Protocol to open a program, like Torrent, with the Magnet Protocol. In addition, I wanted to know if possible to...
asked by 19.01.2016 / 22:03
0
answers

How do I use google drive API for sending and receiving audio? [closed]

I wanted to know how I can send and receive audio files via Google drive. I've never used the Google Drive API, I'm starting now. I researched some examples on the Internet, but I could not. Some examples searched and indicated: link...
asked by 19.01.2016 / 13:47