Questions tagged as 'java'

0
answers

Customize android camera view layout

I'm developing an app that will use the android API camera. However, I will use the camera only for the user to see certain points on a target, ie, it is not necessary to capture photos or videos. The idea is to create a VISUALIZATION DISPLAY ....
asked by 05.05.2018 / 08:42
1
answer

Android - Add a double every time the function is called

How do I make a function always add a double value to another, because onClick () only adds up once. MainActivity.java: Button somar = (Button)findViewById(R.id.btn); TextView txt = (TextView)findViewById(R.id.txt); double a = 20; double b...
asked by 08.05.2018 / 23:42
0
answers

Java Session, JsessionID changes

I have a webpage that requests a Servlet via Ajax. In the servlet I create a session to keep the employee authenticated and to identify it inside the system. However, when I exit the system, I put the Html / css / javascript screens on ano...
asked by 03.05.2018 / 05:45
1
answer

ProGuard, how not to change a certain variable

I have a variable in my Java code, and I want to obfuscate the code using ProGuard, but there is a variable I want to keep the name, after obfuscation, because I will use this application in other projects. public static main SwBotIA; This...
asked by 03.05.2018 / 04:43
0
answers

How to remove this configuration from NetBeans?

I squeezed something unintentionally and stuck with that lot of points and symbols of strangers. How do I get it?     
asked by 26.04.2018 / 21:30
0
answers

Request Android, Currency Converter Updated

I'm new to android, I want to know how do I extract a url to have an always updated response to the application. If someone helps me wrap the code I thank Code: import android.support.v7.app.AppCompatActivity; import android.os.Bundle; impo...
asked by 26.04.2018 / 18:30
0
answers

Grouping JSON with java?

How do you group the json below according to the id? I have the following json: { "origem": [ { "id": 154826, "nm": "", "tp": "", "am": "", "sg": "SAO", "sq": 925 }, { "id": 2289,...
asked by 26.04.2018 / 17:02
0
answers

I put all the notification code but it does not appear android studio

I'm trying to create a notification with the following code but it does not generate an error or notification package model; import android.app.Notification; import android.app.NotificationManager; import android.app.PendingIntent; impo...
asked by 04.05.2018 / 20:24
0
answers

Access Modifiers [duplicate]

Is it wrong to say that access modifiers control the attributes and methods of a class, avoiding inconsistency in values and objects?     
asked by 04.05.2018 / 21:17
0
answers

Java: Generating Report in iReport Between Two Dates Timestamp

I am finalizing a small system made in Java and MySQL and with reports being generated by iReport and need to generate a report displaying values between two dates. In MySQL the query is working perfectly: DirectoniReportisalsoworkin...
asked by 04.05.2018 / 20:46