|
[WM 22] Info Message Freezes |
Iniciado por Claire, jul., 02 2018 5:49 PM - 4 respostas |
| |
| | | |
|
| |
Membro registado 48 mensagems |
|
Publicado em julho, 02 2018 - 5:49 PM |
Hello - we are experiencing an issue in our app where an alert window pops up and causes the app to freeze. It won't allow the user to tap OK or continue using the app. The concept is that the data manager is a queue for all the data you are collecting. This is where it is stored before sending it via FTP. When you tap on data manager and there is no saved data, this alert message pops up. I can't seem to determine what could be causing this window to freeze.
Code to display the list of observations
IF HNbRec(EXPRESS_observations) = 0 THEN NextTitle("Alert") Info("There are no recorded observations") ELSE HExecuteQuery(QRY_Current_Obs) FOR EACH QRY_Current_Obs IF QRY_Current_Obs.kingdom = "Plantae" THEN nk = 0 ELSE nk = 1 END MyImage = dLoadImage(gsExtractDir + "Images/" + StringBuild("%1_%2_sm.jpg", QRY_Current_Obs.genus, NoCharacter(QRY_Current_Obs.species,CR))) IF QRY_Current_Obs.presence = 1 THEN LooperAddLine(WIN_ListOfObservations.LOOP_OBS, DateToString(QRY_Current_Obs.datetime, "MM-DD-YYYY") , MyImage,QRY_Current_Obs.cname, QRY_Current_Obs.EXPRESS_observationsID,QRY_Current_Obs.id,nk,WIN_ListOfObservations.IMG_OBS,"Obs") ELSE LooperAddLine(WIN_ListOfObservations.LOOP_OBS, DateToString(QRY_Current_Obs.datetime, "MM-DD-YYYY") , MyImage,QRY_Current_Obs.cname, QRY_Current_Obs.EXPRESS_observationsID,QRY_Current_Obs.id,nk,WIN_ListOfObservations.IMG_ABS,"Abs") END END END
Code on the menu
SWITCH MZ_Menu CASE 1 IF HNbRec(EXPRESS_observations) = 0 THEN NextTitle("Alert") Info("There are no recorded observations") ELSE OpenChild(WIN_ListOfObservations) END CASE 2 OpenChild(WIN_Settings) CASE 3 OpenChild(WIN_Help) CASE 4 OpenChild(WIN_Credits) CASE 5 OpenChild(WIN_About) OTHER CASE END
|
| |
| |
| | | |
|
| | |
| |
Membro registado 498 mensagems Popularité : +8 (8 votes) |
|
Publicado em julho, 02 2018 - 7:33 PM |
Hi
This issue happend to me a lot, I guess it's a problem of iOS more than Windev itself, I'm not sure if this was fixed or not cause every message I send when it's freeze I use ToastDisplay, maybe you can try it. this wont let your app freeze
PD: Maybe the version of WM23 fixed too, if I this is true I will let you know.
Good Luck
-- Best Regards Jose |
| |
| |
| | | |
|
| | |
| |
Membro registado 48 mensagems |
|
Publicado em julho, 02 2018 - 7:55 PM |
Thanks Jose! I will definitely look into ToastDisplay. I'm glad to hear that it is just our app and is more widespread. That would be great if you could let me know - we are in the process of getting WM23. |
| |
| |
| | | |
|
| | |
| |
Publicado em julho, 09 2018 - 4:43 PM |
Just had a customer report this to me as well.
I am hesitant to upgrade to WM 23 unless I know it will fix it. |
| |
| |
| | | |
|
| | |
| |
Membro registado 498 mensagems Popularité : +8 (8 votes) |
|
Publicado em julho, 09 2018 - 6:01 PM |
Hi Jim
For now I still don't know if WM23 fix it soon I will tell if it is for now use toastdisplay
-- Best Regards Jose |
| |
| |
| | | |
|
| | | | |
| | |
|