Questions tagged as 'java'

1
answer

Multi-platform java project, how to make classes depending on the environment

I am trying to execute depending on the environment, in a previous question I was raised to use polymorphism as you can see in the following question . The problem I have is that in the android environment I need to execute the command getAppli...
asked by 06.02.2018 / 22:19
1
answer

How would you look for a log of a sql database from java

I have a list that is filled in with the fields that I entered and then saved in the database, the problem is that when I select the button see user I want you to show me only the user information that I have selected from the list but I do not...
asked by 09.12.2017 / 23:53
1
answer

Pass data between two fragments [duplicate]

I'm doing Navigation Draw Activity , with fragments inside. The fact is that I have several fragments. It is a long form that I divided into several fragments, and I want to send the data I receive from editText of the firs...
asked by 06.12.2017 / 16:26
2
answers

Why do not you let me do a casting?

How about, I'm trying to represent a function in java and create a class to represent sine, cos etc ... that is a child of the class Term, then I store each term in an ArrayList. The problem is that when executing send me this exception Ex...
asked by 17.01.2018 / 22:12
1
answer

Open an activity within another activity

How can I create one options activity within another like this one? or I think it's a theme, what is it?     
asked by 31.01.2018 / 17:29
1
answer

Enable component p: dialog in pop-up window, primefaces

Greetings, I am working on primefaces, but at the moment of showing a popup window it is disabled to be able to perform any activity on the information that is displayed on it. I enclose the screenshot. and this is the code of the pop-u...
asked by 01.02.2018 / 04:44
2
answers

How to make a loop to ask an input between 2 to 10 and that is not string? (Java)

I would like to find a way to ask the user to insert a number between 2 and 10, if the user inserts a different number than an error number and asks it again and if the user inserts a letter that is also error and returns to ask. What I have bee...
asked by 04.11.2017 / 17:34
2
answers

Problem to Close a JFrame from a Button inside a JPanel

Good afternoon, As the title says, my drawback is that I made 2 JPanel that I then added to a JFrame. The problem is that in a JPanel, I have the button that should close me or leave the JFrame invisible, but when placing an event on the b...
asked by 07.11.2017 / 22:51
1
answer

SERVICE OF NOTIFICATIONS STOPS

Good morning, I need help because I have been thinking about this issue for a while and I can not find a solution for my case. Haber if you can help me out. My application is a work calendar in which users can put reminder notes on the date t...
asked by 11.01.2018 / 20:52
1
answer

Share mp4 file generated by my app to social networks. share intent

I need to share my mp4 video file generated by my app, which acquires name with a ( System.currentTimeMillis /1000 ). the share action must choose that last generated file to share it in social networks. I leave the initRecorder...
asked by 22.05.2018 / 19:06