Questions tagged as 'java'

1
answer

Error - NullPointerException

03-20 10:35:20.250: I/Process(897): Sending signal. PID: 897 SIG: 9 03-20 10:35:25.870: E/SQLiteLog(914): (1) no such column: name 03-20 10:35:25.870: E/data(914): Error while searching contacts: android.database.sqlite.SQLiteException: no such c...
asked by 20.03.2014 / 15:15
1
answer

Java, IPVA expiration check according to car plate [closed]

I have to check the expiration of IPVA, but I have no idea how to do it, since every year changes and to an expiration date there are several endings of cards.     
asked by 22.10.2015 / 01:16
1
answer

Create a certain number sequence, storing it in ArrayList

I need to develop a Java algorithm that returns the following sequence:    9, 16, 25, 36, 49 ... I have already identified that the default is as follows: 9 = 3² 16 = 4² 25 = 5² 36 = 6² Values must be stored in ArrayList and b...
asked by 02.04.2016 / 22:24
1
answer

Save images to the database and then show them in a listview [closed]

I want to save images by sqllite and then display them by listView , but I do not know how. Can someone help? You do not need to show lines of code I just want to know the logic that I should follow or which classes to use.     
asked by 22.12.2015 / 00:32
1
answer

How to put the for to run every 1 second?

I was able to put the effect of the click on the button but it is missing a click every second because it is passing very fast package gênius; import java.applet.Applet; import java.applet.AudioClip; import java.awt.Color; import java.awt.eve...
asked by 22.05.2016 / 01:12
1
answer

I can not find the smallest number

Good afternoon Given a nonnegative integer n and n nonnegative integers, indicate which of these numbers is the largest and the smallest. So far I've only been able to find the biggest one that anyone can help My code below: package exe1...
asked by 07.06.2016 / 19:04
1
answer

Site only with br instead of classes how to take the data

I would like to know how to remove from the site that I will put down some elements that are below a class but not but are not separated by several siblings but by breaklines! How do I get them one at a time and not all of them? The div they are...
asked by 31.08.2017 / 14:17
1
answer

I try to execute the javac command but it does not execute [closed]

I've tried it all, way to fix it, I've been on google, youtube, when I try to run the cmd "javac" it does not execute speech the following error "javac" is not recognized as an internal or external command an operable program or a batch file. he...
asked by 01.09.2016 / 22:36
1
answer

How to enter data in INPUTS by JAVA

I have a String string1 = "123" on a page (www.paginaexample.com) and I have a input name="input1" type="text" , how to insert the content of string1 into input1 , and the entire process is done in JAVA (eclipse) ??   ...
asked by 26.07.2015 / 04:29
1
answer

How do you reverse the variables? [closed]

Write a Java program with what is requested below. A - Declare the variables X, Y, and Z of type int. B - Assign 10 to variable X. C - Assign 2 to variable Y. D - With the help of variable Z, reverse the values of X and Y. E - Print the value...
asked by 26.05.2018 / 20:28