Questions tagged as 'java'

0
answers

Problems with the Magic Camera

Friends implement magical camera, open the camera, I shot the photo, but when I save it I get this error itmapFactory: Unable to decode stream: java.io.FileNotFoundException: /external_files/Android/data/com.example.dani.myapplication/files/Pi...
asked by 04.01.2019 / 01:17
0
answers

How can I get the num. of the array larger and equal to the value that I enter? [closed]

public double[] ejercicio4(double[] b){ Vector<Double> tmp = new Vector<>(); for(int i = 0; i < b.length; i++) { boolean found = false; for(int j = 0; j < tmp.size(); j++) { if(tmp...
asked by 12.04.2018 / 14:26
1
answer

doubts with java program structure [closed]

I have been working with a code to simulate an e-commerce website. As I am new with java, I have tried to save some concepts by viewing information on the web. Finally I have the program. Three classes, one for products, another for the car and...
asked by 14.11.2017 / 15:43
2
answers

Convert to JSON Java Script

I am working on Java JSP and JavaScript, and I need to convert the result of a DataStore query format: <Entity [Usuario(5523854313120)]: Email = [email protected] PrimerNombre = Andres Rol = Administrador Password = andres12...
asked by 11.01.2018 / 14:21
1
answer

Error inserting column without default value

good I have two tables a user and another type of user which are related I would like to save the data in java mysql netbeans that when entering the data in user they load me in type of user to give the level or privilege in the system I did an...
asked by 16.12.2017 / 03:02
1
answer

I do not read the scanner library

I have the following error: Exception in thread "main" java.util.InputMismatchException at java.util.Scanner.throwFor(Scanner.java:864) at java.util.Scanner.next(Scanner.java:1485) at java.util.Scanner.nextInt(Scanner.java:2117) at java.util.S...
asked by 12.02.2018 / 23:52
2
answers

I get the following error in android studio

Error message in Logcat E/AndroidRuntime: FATAL EXCEPTION: main Process: com.example.admin.tallerandroid.fede.tallerandroid, PID: 1833 java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.admin.tallera...
asked by 03.08.2018 / 15:05
1
answer

Schedule an enter in java? [closed]

Hello colleagues, my question is this: I need that after pressing a menu option an enter is done by default, that is, not that I press the key, but that it is automatically done. Is there any way to do it in java? Thanks.     
asked by 16.04.2018 / 16:34
1
answer

Do not enter data into the table [closed]

help me, in my program that should put data to a table, it happens that when I give register does not enter the data to the table the error is as follows package registration.client; import java.awt.Image; import java.awt.event.KeyEvent; impor...
asked by 16.06.2017 / 19:50
2
answers

Do not show android virtual keyboard when clicking an input [closed]

I have a website that shows up on an Android WebView. I have my own keyboard layout in HTML and CSS and I want to use just that one. So, I need that when clicking an input, this input remains in focus, but that the virtual keyboard of the cell...
asked by 17.07.2016 / 23:59