Questions tagged as 'java'

1
answer

Connecting ElephantSQL with java

I'm trying to make a connection to the ElephantSQL (postgres) through java. With the same code I have already been able to connect to local postgres (just changing the url, user, password). I'm trying to do this: private static final String...
asked by 10.10.2017 / 18:42
1
answer

Email confirmation of registration with Firebase

I am trying to use the sendEmailVerification() method of Firebase after registering the user through Login by email. My problem is that I do not see the option to use this method after creating the user in the database through...
asked by 07.10.2017 / 22:25
2
answers

Persistence with inheritance, one-to-one relationship and manual primary key

I am developing a web heritage project to finish my degree. I'm using Java (IDE: Spring Tool Suite), Spring, Hibernate and Mysql. I'm having a data modeling problem that I can not solve: An Equipment class must have an asset number a...
asked by 07.10.2017 / 22:47
1
answer

Compare My Location with a Variable that has Latitude and Longitude

I'm developing an app that should make a sound to know that I'm getting close to a bookmark but I do not know how to do it ... I'm using Android Studio.     
asked by 08.10.2017 / 15:22
1
answer

Convert Roman Numbers [duplicate]

I know I've already asked a question on the same topic, but another question has arisen. I'm developing an application that converts integers to Roman numbers, as you can see in the code below ... But, jTextField1 IS RETURNING OTHER NUMBERS, a...
asked by 20.10.2017 / 04:33
1
answer

Back function to go back on a Perfect Lab Android device

Good afternoon Community, I'm using Cucumber in Eclipse to run automated tests on an application installed on an Android that is in a VM, namely housed in the Perfecto Lab website. Perfecto Lab has several functions that we can call in eclips...
asked by 09.10.2017 / 11:48
0
answers

Variable Enclosing Scope - Java SE

Hello! I'm developing a small store-caching interface, however when I use stream to fetch a customer-entered ID, the variable idEstoque has a scope error. Here is the code: public interface IestoqueViewCadastroArmazem { public static vo...
asked by 20.10.2017 / 07:19
1
answer

Appears null in place of the name retrieved

When I see the application, I see that in the variable nomedoHumano it appears null , and it was to appear the name of the user. Just below the Onclick method, I retrieve the typed name. I've already thought about putting...
asked by 14.10.2017 / 20:17
0
answers

WebView, Download Image

I have a simple Webview code and would like that when clicking on the images of the site, download them asking or downloading direct and sending a message like "saved image" Note 1: I used a tumblr to do the tests Note 2: I would like to simp...
asked by 14.10.2017 / 17:27
0
answers

How to update simpleadapter on the main screen in another screen?

I have a main activity ( MenuBalcao.class ), and there is a listviewer that lists order items. There is another activity ( Selecao_Sabores_Produto_Balcao ) where I search the order items. But when I try to send items from the sear...
asked by 14.10.2017 / 03:14