Android Question Query ProgressDialogHide

Douglas Farias

Expert
Licensed User
Longtime User
why when i execute my query automatic close my ProgressDialog

my query is in another sub and dont have this ProgressDialogHide

automatic close o_O how can i make to dont close?
 

Douglas Farias

Expert
Licensed User
Longtime User
i m deleted all ProgressDialogHide from my code to test now
again when execute query close my ProgressDialog
 
Upvote 0

Douglas Farias

Expert
Licensed User
Longtime User
B4X:
Sub casa
ProgressDialogShow2("Efetuando Cadastro", False)
confereusuarioface
End Sub

Sub confereusuarioface
    ExecuteRemoteQuery("SELECT NickName,StatConta FROM usuarios Where SocID='" &idfacebook& "' and SocNet='" &fa& "' " , verificausuarioface)
End Sub



        Case "verificausuarioface"
        Dim lface As List
        Dim contaface As String
        lface = parser.NextArray
        'ProgressDialogHide
        If cass = "[]" Then
        Panel1.visible = True
        Msgbox("Olá Seja bem vindo, precisamos de mais alguns dados para completar seu cadastro!", "Click Fight")
        Return
        End If
       
        Dim mface As Map
        mface.Initialize
        Dim contaface As String
        mface = lface.Get(0)
        contaface = mface.Get("StatConta")
       
        If contaface = "0" Then
        Msgbox("Sua conta está bloqueada! Por favor entre em contato com a administração Click Fight em www.clickfight.com.br ", "Click Fight")
        Else If contaface = "1" Then
        confirmacadastro
        Else If contaface = "2" Then
        Msgbox("Este usuário ja esta cadastrado","Click Fight")
        Panel1.Visible = False
        'vai para proxima tela
        Else
        Msgbox(contaface,"Click Fight")
        End If
 
Upvote 0

Erel

B4X founder
Staff member
Licensed User
Longtime User
Note that your first question cannot be answered. You should make sure that there is enough information in the question to allow members who want to help you to provide an answer.

Press on Ctrl + I and search for ProgressDialogHide:
SS-2014-05-15_16.44.11.png


You will see that it is called in JobDone.
 
Upvote 0
Top