|
| How to trap errors in Android |
| Iniciado por guest, 26,nov. 2017 12:27 - 2 respuestas |
| |
| | | |
|
| |
| Publicado el 26,noviembre 2017 - 12:27 |
Having got Exception and HOnError working in WB, WD and WM (iOS) I see these are not available in WM (Android). I am using WM21.
How does one trap for these errors in Android please?
Thx |
| |
| |
| | | |
|
| | |
| |
| Publicado el 26,noviembre 2017 - 14:39 |
Hi John,
the difference in androd is that yo cannot trap them at a general level, you need local code... See here:
https://doc.windev.com/en-US/…
Best regards |
| |
| |
| | | |
|
| | |
| |
| Publicado el 26,noviembre 2017 - 14:57 |
I recommend that you use ALL . some error can be trap using exception but some are not.
use Exception first , if you see some slip through , then check return value / error .
there are some which won't get caught with either method , which you will know when android prompt the app crash.
the version of android running the app also make different.
when you developing app, I recommend that you deploy to android device rather than emulator. you will encounter more problem than on emulator. |
| |
| |
| | | |
|
| | | | |
| | |
|