Share My Creation A9 Letters and Numbers 2018

I am - not so proud nor happy - to release my first app.

Please, share its URL (even from inside the app itself)... I really need it.

Thank you

https://play.google.com/store/apps/details?id=com.mabotech.lettersandnumbers

upload_2018-1-13_13-34-19.png
 
Last edited:

An Schi

Well-Known Member
Licensed User
Unfortunaly i cannot test - it crashes after the splashscreen.

At first start it asked me for a nickname. An Schi was invalid, so i took AnSchi. Then it crashed.
When i start now it shows the splashscreen, displays "welcome, AnSchi" and then crashes (A9 .... has stopped).
I tried swiping it from the recent app list, but crashes anyway.

I have send you two feedbacks.

Galaxy s4, android 5.0.1

Edit: also tried clearing cache and delete data. Was asked for nickname again and then crashed.
 

ilan

Expert
Licensed User
Longtime User
Unfortunaly i cannot test - it crashes after the splashscreen.

At first start it asked me for a nickname. An Schi was invalid, so i took AnSchi. Then it crashed.
When i start now it shows the splashscreen, displays "welcome, AnSchi" and then crashes (A9 .... has stopped).
I tried swiping it from the recent app list, but crashes anyway.

I have send you two feedbacks.

Galaxy s4, android 5.0.1

Edit: also tried clearing cache and delete data. Was asked for nickname again and then crashed.

here the same
 

LucaMs

Expert
Licensed User
Longtime User
I think that my mistake is to use some wait for inside a loop (loop I use to check the validity of nick entered); I don't know why it's works on my (only 2) devices, maybe because they are old and then slow?

Thanks for your feedbacks and I'm sorry for this inconvenient.

[not so many thanks to whos ranked the app with 1 point :D]
 
Last edited:

An Schi

Well-Known Member
Licensed User
No problem ;)
And i haven't put a rating yet. As soon as it won't crash i'll give 5 :cool:
Waiting for an update........
.........
.........
.........
I'm young, i can wait anouther 20 years :p
 

An Schi

Well-Known Member
Licensed User
Update still crashes.
Did send another feedback report (though i do not know what actualy is in it...)
 

ilan

Expert
Licensed User
Longtime User
@LucaMs maybe you should post the code after user enter his nickname and hit ok button.

This is the point it crashes on my device.

What are u doing after nickname was entered?

Post some code, we want to help you ;)
 

LucaMs

Expert
Licensed User
Longtime User
I don't think that you might help me just watching half routine :( (but I will post it).

However, the error should be there: a Wait For inside a loop; but why it works well on some devices?

This is the code (without the first part of this sub; this works for sure and contains other two Wait For but not inside loops):
B4X:
    ' If Starter.UID = " " we have to register the user
    If Starter.UID = " " Then
        ' First start ever
        Dim NickChosen As String = ""
        Message = "Choose your nick name"
        Dim NickOK, CloseAppSelected As Boolean = False
        Do While Not(NickOK) And Not(CloseAppSelected)
            Dim idlg As InputDialog
            Dim sf As Object = idlg.ShowAsync("", "Choose your nick name", "Ok", "", "Close app", Null, False)
            Wait For (sf) Dialog_Result(Result As Int)
            If Result = DialogResponse.NEGATIVE Then
                CloseAppSelected = True
            Else
                NickChosen = idlg.Input
                If NickChosen.Length > mNickMaxLen Then
                    NickChosen = ""
                    ToastMessageShow("Nick name max lengh is " & mNickMaxLen, True)
                Else
                    Wait For (Registration(NickChosen)) complete(RegRes As Int)
                    Select RegRes
                        Case REGISNICK_INVALID
                            ToastMessageShow("Invalid nick", True)
                        Case REGISNICK_NICK_FOUND
                            ToastMessageShow("Nick name " & NickChosen & " already exists", True)
                        Case REGISNICK_OK
                            NickOK = True
                        Case REGISNICK_OTHER
                            ToastMessageShow("Error trying to insert your nick name; please, try again", True)
                    End Select
                End If
            End If
        Loop
        If CloseAppSelected Then
            CallSubDelayed(Me, "CloseApp")
            Return
        End If
        lblWelcome.Text = "Welcome, " & Starter.Nick
        lblWelcome.Visible = True
'        SetDB
        CallSubDelayed(Me, "SetDB")
    Else
        lblWelcome.Text = "Welcome, " & Starter.Nick
        lblWelcome.Visible = True
'        SetDB
        CallSubDelayed(Me, "SetDB")
    End If
End Sub

As you can see, I tried calling SetDB using CallSubDelayed, instead of calling it directly. Same error (?!)
 
Last edited:
Top