Questions tagged as 'java'

0
answers

Playing sound with MIDI - Java

I wrote a code to play a particular sound, but it is not playing. package reprodutormusical; public class TestDrive { public static void main(String[] args) { MiniMusicApp mini = new MiniMusicApp(); mini.play(); } }...
asked by 09.06.2018 / 17:41
0
answers

Subreport within a list returns error: data source not found

Good afternoon guys, I have a subreport inside a list, and when I try to print the report, it is returning me this " data source not found " error in the eclipse console. I have already compiled all subreports and they are in the same directo...
asked by 06.06.2018 / 22:00
1
answer

Java Android Studio - Recover device ip [duplicate]

Good morning, friends! Does anyone know how I can retrieve the ip of an android device? I got some codes, but only to recover ip from wifi. I need this ip, because I'm working on an ad application, and not to be counting multiple clicks for th...
asked by 21.06.2018 / 14:29
0
answers

How to program for the new Recycler View

I was following a programmer's guidelines, but I already have 1 year of it. How is the new methodology? It's a chat app and I'd like to call in my activity the profile picture of the person, along with her name and status .... Follow the code...
asked by 09.06.2018 / 05:25
1
answer

ListView in AsyncTask

My code does not load the data for list view when it is inside AsyncTask , but if it is placed in onCreateView it works perfectly. public class Tab_os_Fechadas extends Fragment { private String url ="http://redeml.no-ip.info/...
asked by 08.06.2018 / 23:29
0
answers

Can not Resolve Symbol in AndroidStudio library

I'm using the Android.graphics.bitmap library to use a screenshot function. However, in the method of my project, some functions of this library are italicized, and when I go in class Bitmap.java , many variables are red, with the...
asked by 06.06.2018 / 14:05
0
answers

Client is not increasing

I'm doing a distributed system with 2 clients. Being that you are asking the same values for both, and not putting the other wait. import java.awt.HeadlessException; import java.rmi.Naming; import java.rmi.RemoteException; import javax.swing.J...
asked by 06.06.2018 / 03:46
0
answers

Problem with Feign Client

Good afternoon I have a small problem in connecting to another API with the feign client, which happens that locally testing works, when I go up to production it simply gives a notfound. Feign Client Service code @FeignClient("service-busca...
asked by 06.06.2018 / 16:33
1
answer

Instant Run works but .apk file does not install

Well, the problem I'm facing is that when I emulate my app through Instant Run runs perfectly on my > smartphone . However, I can not install the same app via the .apk generated. Use the Android Studio 3.2.0.0 Note: .ap...
asked by 04.06.2018 / 21:01
2
answers

How to Pass Parameters in JasperReports

Hello everyone, good afternoon, I have a question that is killing me. I have a project that has to print a report that contains two lists and two tables. My problem is this, I'm not intresting how jasper interprets the data that is passed to it,...
asked by 02.06.2018 / 02:01