Questions tagged as 'java'

1
answer

Portuguese problem in ADT

I'm working on an Android App , and a friend of mine sent me the app that he worked but had a problem, all the characters of our language as the " ç "have become things like c '@%, evidencing problem in coding / translation. I wanted to know...
asked by 23.03.2014 / 16:13
1
answer

Java Permeability

I'm having some difficulty solving a recursion problem, which I'll explain below. Given an array of n rows and columns, check whether there is permeability, ie having the following matrix (where '*' - represents open node and '-' - represents...
asked by 11.03.2014 / 17:05
2
answers

How to know the remaining time for the alarm to ring

I'm developing an alarm clock. Below I have a function to set the alarm. But I want to know how to find the remaining time for the AlarmManager to trigger the PendingIntent. For example, it is now 11:00 AM, and we set AlarmManager to trigger...
asked by 24.06.2014 / 16:26
1
answer

Read contents of a netflow package

I'm developing a tool that captures every UDP packet passing through my firewall (an OpenBSD 5.4, simulated by a virtual machine), but I'm having trouble extracting the information I need from these packages. My code is basically: try { Dat...
asked by 22.08.2014 / 07:57
1
answer

Printed using IReports

Good evening, I need to develop a printout for the standard 80x30mm that would be for thermal printers. I had thought about creating a template in ireports and at the time of printing calling the template, however I'm having difficulty sca...
asked by 25.08.2014 / 01:46
1
answer

Java applets web scrap

I need to access one of the company pages programmatically to download a large amount of reports automatically. The company is large and each area can have its own systems and so are not homogeneous. One of these systems is based on Java Appl...
asked by 31.07.2014 / 01:49
1
answer

setVisibility for an ImageView of a Grid

I have a grid with an image in each item. On top of each image has another smaller image (visa icon, to say that the item was selected) only invisible. I'm trying to make when the person a long click the smaller image of the item he clicked is v...
asked by 03.08.2014 / 08:55
1
answer

Selecting data in cURL Java

I would like to know how to select the data using the gson library. BufferedReader reader = null; URL endereco = new URL("https://prod.api.pvp.net/api/lol/"+Server+"/v1.4/summoner/by-name/"+Jogador+"?api_key="+API_KEY); try { B...
asked by 20.06.2014 / 20:17
1
answer

Use interface implementation in a Fragment

I'm trying to implement an interface that I created within fragment , but I'm not having success. My fragment is being defined with the following code: package fragments; import pickers.DateTimePickerFragment; import pickers.Date...
asked by 23.06.2014 / 16:09
2
answers

GeneXus X Error Ev3 and Tomcat 7.0.54

I'm using GeneXus X Ev3 to generate a WEB application with Java and I'm using SDK 7 Update 55. I recently upgraded my Tomcat to version 7.0.54 and had the following error in the Tomcat log:    org.apache.catalina.LifecycleException: Failed...
asked by 23.06.2014 / 17:02