Questions tagged as 'java'

1
answer

open links mo webview without having placed http: // or https: //

I'm creating a browser for android, but I'm having trouble running the url without the need for the protocol on the link, such as open www.google.com and the app automatically puts http: // to stay link and webeview recognize the link. foll...
asked by 30.05.2018 / 05:25
1
answer

Open image with my Application

I'm developing a java application to open image files with the File () class, like how to make my application the default for opening the images on my computer, I do not know how to get by parameter the file path to my application. Could yo...
asked by 12.07.2018 / 14:02
1
answer

Java - Query Spring with current date

I have the following repository with the following method @Query("SELECT m FROM Money m WHERE m.data = CURRENT_DATE()") Money findTop1IfHasMoneyInCurrentDate(); My money class looks like this: @Entity @Table(name="MONEY_DATA", schema...
asked by 12.07.2018 / 18:03
1
answer

Error in image execution of activity_main.xml

I recently installed android studio version 3.0 and followed the installation and configuration instructions, but this error appeared. I uninstalled and reinstalled and persisted in it, what should I do?     
asked by 12.07.2018 / 17:41
1
answer

Unchanging collection by adding strings

I'm starting java programming and am having a problem creating an immutable collection. Below is what I created: package br.com.estudos; import java.util.Collection; public class MinhaColecaoImutavel<String> extends MinhaColecao<St...
asked by 12.07.2018 / 16:53
2
answers

Error installing mobile app [closed]

I'm getting this error when trying to install the app on my phone, and I'm not able to find the error inside the manifest.     
asked by 03.07.2018 / 16:06
1
answer

Select all JCheckboxes when clicking button

My application has a list of JCheckBox within a Box . I want to make a button to mark all of them, but my code is giving the following error when I click the    "java.lang.RuntimeException: Uncompilable source code - Erroneous sy...
asked by 29.05.2018 / 14:46
1
answer

Using java.lang.reflect.Parameter in android applications

Hello. I'm trying to implement an android application (with the Android Studio IDE) that uses Reflections to access certain attributes of a class. However, when using the java.lang.reflect.Parameter class in versions lower than 26 (Androi...
asked by 28.05.2018 / 19:55
1
answer

Spring Data JPA - Query via Specification - ManyToMany and Join with Multiple Entities

Hello, I've assembled the following class Specification: public class ItemVendedorSpecification implements Specification<ItemVendedor> { private static final long serialVersionUID = 1L; @Autowired CategoriaRepository catego...
asked by 22.05.2018 / 16:01
1
answer

Error ArrayIndexOutOfBoundsException

I'm in this error: java.lang.ArrayIndexOutOfBoundsException: 1 at com.ronaldocarvalho.cursomc.resources.utils.URL.decodeIntList(URL.java:27) ~[classes/:na] at com.ronaldocarvalho.cursomc.resources.ProdutoResource.findPage(ProdutoResour...
asked by 22.05.2018 / 19:34