Questions tagged as 'dialog'

2
answers

Doubt with Dialog

I am using Dialog to display some information in my APP, I would like to know if there is any function for me to check if the dialog is already open so it will not open again. public void Dialogo_Iluminacao() { final Dialog dialog = new...
asked by 03.03.2015 / 12:49
2
answers

How to close an activity (remove from Foreground)?

I have the following code in my MainActivity class that has an AlertDialog and the onClick () method handling: import android.app.Activity; import android.app.AlertDialog; import android.app.Dialog; import android.content.DialogInterface; impo...
asked by 27.09.2014 / 08:16
2
answers

Using Dialog in a Fragment

I implemented the DIalog method plus this is giving error and I am not able to solve, I would like a help follow my class public class Iniciar_Host extends Fragment implements AdapterView.OnItemClickListener{ @Override public View onCreateView...
asked by 16.07.2014 / 20:11
1
answer

What would be an alternative to the "obsolete" showDialog function?

Explanation: I have a mobile application that uses the showDialog() method at any given time, to show a DatePickerDialog and get the date, but I see that on the following line: showDialog(DATE_DIALOG_ID); I have the followi...
asked by 25.03.2014 / 18:07
1
answer

How to use newFragment.show ()?

I'm having trouble displaying a calendar after clicking a button . Does not recognize newFragment.show(); public void secionarData(View view) { DialogFragment dialogo = new DatePickerFragment(); newFragment.show(this.getFr...
asked by 20.06.2018 / 20:04
0
answers

Proccess Dialog does not open AsyncTask

During an API interaction that lasts an average of 5 seconds, I need to put a Process Dialog. My code: public class finalizaPedido extends AsyncTask<Object, Void, Integer> { private String retorno; private String url; pri...
asked by 04.06.2016 / 16:53
1
answer

PHP-MySQL-Dialog

I'm doing a page, where I have a mySQL database connecting to PHP. What I wanted is the following, I have a form with: pais(combo); nome(text);empresa(text) , and I want it: When you fail to complete any of the fields, please let m...
asked by 03.09.2015 / 14:37
1
answer

How to change text smoothly?

I'm using BootstrapDialog and I have to change the text frequently, I would like a tip on how to handle this, follow the example: $(document).ready(function() { Janela = new BootstrapDialog.show({ message: 'Primeira mensagem&...
asked by 11.06.2016 / 02:58
1
answer

InputDialog in vertical

My problem is that I want to create a graphical interface with vertical insert fields, but I can only create it horizontally. Code: JTextField mapField = new JTextField(5); JTextField tamField = new JTextField(5); JTextField wordField = n...
asked by 21.11.2014 / 13:29
2
answers

pass parameters by Dialog jQuery-ui

Good afternoon, I have the following code: <?php $list = $conn->prepare("SELECT * FROM produtos"); $list->execute(); echo '<div id="pd_list">'; echo '<div class="head">';...
asked by 25.10.2018 / 17:39