Questions tagged as 'java'

1
answer

Implement OnClick in Image

I'm doing a project (a memory game) with this tutorial link I'm doing it a little different  Create a menu_activity that says the name of the game and an image with the Play icon. This brings us to the second activity, where is the problem I h...
asked by 22.05.2017 / 23:28
2
answers

progress dialog in asyntask

I have a class that uses an asyntask to store data in a database, everything works fine, until the moment where I want to add a progressdialog to wait for the insertion in the database, I leave my current code, I hope can you help me? public c...
asked by 29.05.2017 / 00:58
0
answers

Modify Value Of A Bean And Collect It In Another Different Class

Good morning everyone (Summary at the end) I'm trying to pass a list of maps from one class to another using a bean with XML configuration: <bean id="listParamJob" class="java.util.ArrayList"> </bean> Here is where I pu...
asked by 30.05.2017 / 08:55
0
answers

Insert java.sql.Timestamp in MySQL

When I try to insert an object Timestamp of Java in a column of type Timestamp in MySQL I receive the following error:    com.mysql.jdbc.MysqlDataTruncation: Data truncation: Incorrect datetime value: '' for column '' f...
asked by 21.05.2017 / 21:46
1
answer

move to a fragmet using a bottonbar

the problem is the next I have an activiy and in that activity I have a buttonBar , when I try to pass to fragment by clicking a buttonBar button gives me an error. This is the code public class ElectricalCalculators extend...
asked by 21.05.2017 / 02:16
0
answers

Ajax, JSP and Servlets

I have problems executing an application on the server that greets when entering the name, my files are      index.jsp <%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%> <!DOCTYPE html PU...
asked by 19.05.2017 / 22:18
1
answer

How to make a counter that increases if a letter is not found in a word: AVA

Good afternoon! My problem is this, try to make a for loop so that I traversed letter by letter a word, and when I did not find it, the counter increased by one and my problem was that when I went through the whole word I increased by one...
asked by 31.07.2017 / 22:29
1
answer

Data management arrays, maps - CVS

I have several questions about how to handle a record module in my application, since the requirement indicates that a CVS file should be loaded with approximately 18mil to 20mil records . The file must be loaded in a JSF application, with...
asked by 05.06.2017 / 03:11
0
answers

8 relay Board how can I do a program to control it [closed]

I have this box of relays called link What I want and intend is to make a program in python or java that connects to it through a com port and activate and deactivate the relays Is this possible?     
asked by 28.04.2017 / 10:53
2
answers

java PING PONG capture keys

I'm doing a ping pong game in java. The project has just started so that only the 2 rackets can be moved at the moment. The problem is when moving the rackets. The first moves up and down with the keys W and S respectively, the second rack...
asked by 19.05.2017 / 06:52