Questions tagged as 'java'

1
answer

Validate the existence of a URI before launching the intent on Android

Normally I use the try-catch to detect if the process of launching an Intent has been successful or not. For example to open the equalizer panel of the system configuration, there are models that have it and others the manufacturer has...
asked by 18.05.2017 / 18:35
3
answers

Menu switch java

I need this program to rerun the main menu, option 1 to choose the first option of switch , then I choose option 6 to get out of that case and allow me to choose another option of switch , but when I press another option it does not...
asked by 18.05.2017 / 00:19
2
answers

Convert a JSON to an array

My question is this: How can I convert the result object to a list (array) in Java ?. The JSON is something like the following: { "order_id": "12345", "paging": { "total": 41, "offset": 0, "limit":...
asked by 15.05.2017 / 00:01
1
answer

Alternative to replace the SideMenu of JFoenix

I am working with JavaFX , specifically with the JFoenix library. In my project I replaced the NavigationDrawer of the demo ( SideMenu ) with a JFXListView within the interface (the space inside the red rectangle)....
asked by 15.05.2017 / 19:49
1
answer

TableView and setOnCloseListener JavaFX

my problem is that when I load the .txt in the tableview it loads it but the text does not appear in the columns, it goes empty but when I select the row if it collects the data belonging to each column but in the table it does not come out and...
asked by 08.11.2017 / 20:28
1
answer

Save parts of a String in different variables using regular expressions and java split function

I have a problem with these regular expressions. Based on the following code and knowing that the content of wemcamDetails is: USB\VID_04F2&PID_B2E1&MI_00&9F9657C&0&1200 : Lenovo EasyCamera Code: String...
asked by 08.02.2017 / 19:48
1
answer

Parse DATE with data from a JSON

How about today I had a problem with a parseo Date I'm bringing data from a service so far all good, well I have a field in which brings me a Date with the following format 2017-01-05 11:11:00 Now this value takes me e...
asked by 30.01.2017 / 20:26
1
answer

Connection to Sql Server by JAVA - Windows Authentication

I want to connect to Sql Server using Java with Windows Authentication but I get the following error: This driver is not configured for integrated authentication. ClientConnectionId: 0b65956b-a286-4aef-a372-ab741a239761 This is the code I use...
asked by 09.02.2017 / 20:20
1
answer

Get brand and model of the PC motherboard in java? [closed]

How can I find out the make and model of the Motherboard of the PC on which my Java program is running? thanks.     
asked by 26.05.2017 / 16:07
1
answer

Compare both sides of a matrix in java

I'm trying to make a program that says if the matrix is the same from any side that looks at layers, that is, in the matrix 1 1 1 1 1 1 2 2 2 1 1 2 3 2 1 1 2 2 2 1 1 1 1 1 1 has a first layer of ones, then another of two and a last of three...
asked by 24.01.2017 / 10:55