Questions tagged as 'java'

1
answer

fifo planning algorithm

I need to do the planning algorithm fifo , I'm doing it in Java but I'm stuck in the part of the processes to be organized, I have two Array one with the arrival time and the other with the time of rafagaCpu or servic...
asked by 06.05.2017 / 04:52
2
answers

Configure build.gradle in eclipse project

Good morning! I have the following question: Can I set up a build.gradle file within an eclipse project? This for dependency management, something like maven . I have been consulting this link in the which I can add a plugin...
asked by 05.05.2017 / 21:33
1
answer

Error in Database

I'm creating a database, and this is the code I have in JAVA: String strNombre = nom.getText().toString(); String strPregCinco = preg5.getText().toString(); String strPregCuatro = preg4.getText().toString();...
asked by 06.03.2017 / 12:23
2
answers

Error passing string strings to another activity

I have this code to receive a chain of strings that passes from another activity. TextView infoEnviada; infoEnviada = (TextView) findViewById(R.id.reslt); String[] array = getIntent().getStringArrayExtra("resultados"); infoEnviada....
asked by 06.03.2017 / 21:25
0
answers

Send mail with javamail, show Exception

Hello to everyone who reads, as the title says I need to send mail with javamail, I have already implemented it and it works super well, the problem is with the exeption, because I use AsyncTask it always tells me to send even if there is not se...
asked by 07.03.2017 / 19:55
2
answers

"Update" in java does not update the data in MySQL

Good morning, I have a code that theoretically seeks me first if the record is already included in the database and if so, I update the data, otherwise it includes it. However, the data is not updated, nor do I get it back, that is, I unde...
asked by 07.03.2017 / 13:22
2
answers

In which path can I find the file of my SQLite DB?

I created a database to store answers from a survey, but I can not see my database, I do not see the package of my application and I can not even access the data / data / mi.example.myapplication / databases directory No may l!! Please, I need h...
asked by 07.03.2017 / 23:00
0
answers

Exception in thread "main" java.lang.NumberFormatException: For input string: "through"

I need some help with this error and I have tried many things but I do not know what D can be: Here I leave the code to see if you can help me: package Modulos; import java.awt.BasicStroke; import java.awt.Color; import java.awt.Dimension; im...
asked by 05.03.2017 / 01:54
0
answers

WIA 2.0 Scan documents both sides in Java

I am developing a desktop application in java to scan documents and save them in a database or directory, I use the WIA library (Windows Image Acquisition) and COM4J to use the objects of that library, I have managed everything except the scanni...
asked by 22.03.2017 / 19:14
2
answers

Access to SQL file from Java and DriverManager

I have a database file SQL that I want to access from a Java class that makes the connection to DriverManager and JDBC , but I'm a bit lost. the file is called items.sql DBItem.java package beans; import java.sql.*;...
asked by 23.03.2017 / 08:47