monkey notify ;-)

Monkey Forums/Monkey Beginners/monkey notify ;-)

hub(Posted 2015) [#1]
Hi !
Is there a way to display a message box when an error occurs on your application (with blitzmax i used notify).

i use 'print' and 'on error' into my program, With debug enabled i can stop the program if something was wrong. it's ok.

But next when i pass to release mode, 'compile' for android. and obtain the apk file.. if an error occur without debug mode i can't have infos where is the bug ! The appli stop. (i know that you should debug with the device connected, but not work here, so i manually copy the apk file to the device).

for example :

if i > 10 then
Notify_error_message ("Oups i should be < to 10 !")
end if

Thanks.


SLotman(Posted 2015) [#2]
Have you tried Error "whatever I want here!"?


hub(Posted 2015) [#3]
yes i already use this.


Pakz(Posted 2015) [#4]
This was new to me!


hub(Posted 2015) [#5]

finally i use a log file to trace my code on my android device.