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 ....
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...
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...
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...
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...
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,...
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...
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...