Share My Creation A9 Letters and Numbers 2018

Discussion in 'Share Your Creations' started by LucaMs, Jan 13, 2018.

  1. LucaMs

    LucaMs Expert Licensed User

    Last edited: Jan 14, 2018
    arastoo, cenyu, Johan Hormaza and 6 others like this.
  2. An Schi

    An Schi Active Member Licensed User

    There is no link to the app o_O

    Would realy like to debug/review/feedback to you ;)
     
    LucaMs likes this.
  3. sorex

    sorex Expert Licensed User

  4. LucaMs

    LucaMs Expert Licensed User

    You're right. Added.

    Thank you :)
     
  5. An Schi

    An Schi Active 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.
     
    LucaMs and ilan like this.
  6. ilan

    ilan Expert Licensed User

    here the same
     
  7. LucaMs

    LucaMs Expert Licensed 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: Jan 14, 2018
  8. LucaMs

    LucaMs Expert Licensed User

    I have a vague suspicion that the next time I will first release alpha and beta versions :p
     
    An Schi likes this.
  9. An Schi

    An Schi Active 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
     
    RandomCoder and LucaMs like this.
  10. LucaMs

    LucaMs Expert Licensed User

    I'm young too! (Or am I old? I don't remember, my memory last 50 years has got worse :p)
     
    RandomCoder and An Schi like this.
  11. Peter Simpson

    Peter Simpson Expert Licensed User

    It works fine for me, both word search and maths too :)
     
    LucaMs likes this.
  12. LucaMs

    LucaMs Expert Licensed User

    Thank you, Peter.

    However I am trying to solve the problem on the other devices.
    I'm about to publish a new version, but this time it's a beta version ;) (I have to see how it works, how to indicate beta testers).
     
  13. Peter Simpson

    Peter Simpson Expert Licensed User

    Really, it worked as I expected it should do on my Nexus 6P running Android 8.1.0...
     
    Last edited: Jan 14, 2018
    LucaMs likes this.
  14. LucaMs

    LucaMs Expert Licensed User

    :eek:
     
    Last edited: Jan 14, 2018
    RandomCoder likes this.
  15. LucaMs

    LucaMs Expert Licensed User

    Released V. 1.4. I hope this will works on your devices.

    Next release in october :D (if needed!!! And only if I will be still alive :po_O)
     
    Peter Simpson likes this.
  16. An Schi

    An Schi Active Member Licensed User

    Update still crashes.
    Did send another feedback report (though i do not know what actualy is in it...)
     
    LucaMs likes this.
  17. LucaMs

    LucaMs Expert Licensed User

    :eek::mad:
     
    RandomCoder likes this.
  18. LucaMs

    LucaMs Expert Licensed User

    I can not find the report.
    At which point does the app crash?
     
  19. ilan

    ilan Expert Licensed 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 ;)
     
    RandomCoder and LucaMs like this.
  20. LucaMs

    LucaMs Expert Licensed 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):
    Code:
    ' 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"NullFalse)
                
    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: Jan 14, 2018
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice