Questions tagged as 'java'

0
answers

How to retrieve multiple values from firebase database in cloud functions

I have the following function that I did in Java, it solves my problem, however I am wanting to play with javascript too. So I had the following problem, I only found functions that retrieve unique values, and I wanted a function similar to d...
asked by 11.10.2018 / 01:57
0
answers

How do I not repeat data from a ListView in an Android application?

When you use a ListView to display the name and image of some data that is in the Cloud Storage for Firebase , an Android device is starting to repeat itself images and names, even ListVIew referring to different data. Researching this is...
asked by 22.09.2018 / 23:36
0
answers

Recursion: Function to calculate a certain pair term of the Fibonacci series

I was able to do the calculation by creating two functions, one to calculate any term of the sequence (recursive), and another to test whether the returned terms are even or not. Function to calculate terms: /** * Funcao: calcular c...
asked by 23.09.2018 / 01:33
0
answers

How to block proxy / vpn in an android / java app

Good afternoon, I'm redoing an app that suffered ban on adsense because many of the users who accessed it used proxy / vpn and google identified it as bots. So I did code to detect these proxy and not display ads to them the problem is that t...
asked by 22.09.2018 / 22:19
0
answers

Problems with inheritance

I have two Java classes in the same package: package br.edu.ufam.icomp.lab_excecoes; import java.io.*; public class RoverException extends Exception { private static final long serialVersionUID = 1L; public RoverException() { t...
asked by 22.09.2018 / 22:52
0
answers

Read a txt file already saved in another Activity

I need to read a text file already written to another Activity . I made it read in the same Activity and it works fine, but when I try to pull in another Activity , it locks the app, how do I solve it? I also wanted to k...
asked by 22.09.2018 / 20:37
1
answer

Page location in WebViewer Android

Someone knows how to tell me if I have a Web page position at the time of starting the App that has a WebViewer, example when opening the page it initially shows in the middle.     
asked by 22.09.2018 / 19:57
1
answer

Get parameters from a RecyclerView

I'm developing an APP where it shows the user the activities to be done on RecyclerView . If he wants details of the activity he can click and see more as description, name and etc. Now I have the following problem get the data from the...
asked by 27.09.2018 / 13:26
0
answers

Two lists in the same dataTable to work the data

<rich:dataTable border="0" id="listaMateriais" value="#{atendimentoManutencaoMaterialAction.requisicaoManutencaoDetalhe.listaProdutosManutencao}" var="cur" styleClass="table table-striped table-bordered table-condensed" rows="10" > Supp...
asked by 24.09.2018 / 23:07
0
answers

I can not pass data from the xhtml pro managed bean

Screen that has parameters <?xml version='1.0' encoding='UTF-8' ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://ww...
asked by 21.09.2018 / 01:38