Questions tagged as 'java'

2
answers

Reports with Jasper reports

Good evening everyone! To create reports with Jasper, do I need to have classes with models? Since I already have a populated bank and I just want the reports, creating filters and tals ...     
asked by 16.06.2018 / 05:42
0
answers

Send message by OneSignal from Android

The code below serves to send a push message via OneSignal, while running on NetBeans everything works perfectly but when trying to run on android I did not succeed. I would like you to help me, then follow the codes: This code that works on...
asked by 16.06.2018 / 04:31
0
answers

Problems getting IMEI and Operator Name

I'm developing an application and needed to handle TelephonyManager, but every time I use it, it gives me some trouble. For example:    E / MPlugin: Unsupported class:   com.mediatek.common.telephony.IOnlyOwnerSimSupport I've tried to get...
asked by 16.06.2018 / 02:05
0
answers

android - change components from another xml

How do I reference a View from another xml file? I want to change an xml2 text by the activity where xml1 is associated. Thank you.     
asked by 16.06.2018 / 15:21
1
answer

App Android Studio stopped picking Json online from nowhere

I am developing an APP, where it needs to get data online via Json from an API, without making any changes it stopped working being that it was working normally, I already tested the server that is normal. No java: //Consulta na API...
asked by 23.06.2018 / 16:36
1
answer

Push notification on Android with OneSignal - Background action

I have in my android application the OneSignal service working correctly, so far so good. I want to make some modifications to my SharePreference every time I receive a message. I was able to do this while the application is in the foreground, h...
asked by 15.06.2018 / 16:35
0
answers

Problem with Inject

I created a base project, from the demoiselle-minmal archetype, with some classes that will be common to other projects. However, when I generate the base project and add in the main project, created from the demoiselle-jsf-jpa, and inject (@Inj...
asked by 15.06.2018 / 14:56
0
answers

Add Object in JCombobox [duplicate]

I'm trying to add an object in jCombo box, but, it's saying by showing the message that Object can not be converted to String, I'm using public String toString() Follow the model's code: public class Model(){ private int codigo;...
asked by 20.06.2018 / 14:41
1
answer

Sending Java Socket message

Hello, I'm trying to make a server socket, but I'm not able to communicate between servers. But the strangest is the following check out the print below Butwhatishappeninginsteadthemessagecomesoutinjustonesentenceis"flooding" the console...
asked by 24.06.2018 / 20:01
0
answers

Android - Move background vertically

I used this example to create a background animation for my project. final LinearLayout backgroundOne = (LinearLayout) findViewById(R.id.background_one); final LinearLayout backgroundTwo = (LinearLayout) findViewById(R.id.background_two)...
asked by 22.06.2018 / 18:52