Questions tagged as 'java'

0
answers

how can I show my movements and the date and time within a two-dimensional arrangement of an ATM

public class Cajero { static String operaciones[][]; static int op,k=0, ret,mont,imp; static int cuent=747311212; static int ntar= 421413169; static Scanner ingDato = new Scanner(System.in); static int montI=90000,Mtotal, DNI,CLAVE,dep; static in...
asked by 21.04.2018 / 19:34
0
answers

Why does not the format of my logs work?

Good evening and first of all thank you, I am creating a log file, for this I am using the java.util.logging library. The problem is that I have a Format class that inherits from Formatter and which allows me to format the log that I want, the p...
asked by 15.04.2018 / 18:52
1
answer

implementation of ProgressDialog

I want to implement PROGRESSDIALOG but it does not work for me. Somebody can help me and tell me what I'm doing wrong. Here is the procedure where I want to show you! public boolean onOptionsItemSelected(MenuItem item) { progressDialog.se...
asked by 15.04.2018 / 06:59
1
answer

how to make the geojson format in java

I have a question, how would this format in java with hibernate and mysql? { type: 'FeatureCollection', features: [{ type: 'Feature', geometry: { type: 'Point', coordinates: [-77.032, 38.913] }, properties: {...
asked by 17.04.2018 / 20:11
0
answers

How to create these objects within a Fragment

I want to add the following two objects within a Fragment so they can be used by the elements of the layaout of that fragment. These are the objects I want to add: public void copiarEstatico (View view){ ClipboardManager myClipboard = m...
asked by 11.04.2018 / 19:17
1
answer

Error sql server: must declare the varialble scalar PO @ and

I edit the question. I'm creating a Jtable that feeds from a BD Sql server. The procedure for the query is this: private static final String SELECT_FILTRO_FECHAS="SELECT REPOSTAJES.ID, FLOTA.MATRICULA,REPOSTAJES.NUM_FLOTA,REPOSTAJES.FECHA,REPO...
asked by 12.04.2018 / 21:08
1
answer

How to embed html in an email and let it run?

Good morning Today again I turn to this wonderful site to resolve certain doubts about how to send HTML code in the content of an email and that it is executed. I thank you in advance for any help, especially if the answer you give me is u...
asked by 11.04.2018 / 02:22
0
answers

Can I analyze the audio of an incoming call? and / or Can audio be sent to an outgoing call?

I want to make an app in Android Studio , that through a call emit morse-type tones (or maybe in different frequencies) that can be interpreted by another device through the same app. It is necessary that the tones are issued by the call a...
asked by 10.04.2018 / 23:25
1
answer

Problem with directories in jar files

I have the following problem, I am trying to access the images of my application from a jar file, the problem is that when I run the program (NOT the JAR file) only the .java file, access the images, but when I package the program in the .JAR an...
asked by 10.04.2018 / 23:39
0
answers

Remove focus flashing or set focus blinking at the start of the editText

I would like to change focus when starting an activity or delete it since it always gives focus to an edittext that I do not want <TextView android:id="@+id/textView" android:layout_width="0dp" android:layout_height="wrap_con...
asked by 11.04.2018 / 07:11