Network Manager Error Dialogs

18 views
Skip to first unread message

Augustine Gyawu Adjei

unread,
Apr 7, 2014, 5:42:48 PM4/7/14
to codenameone...@googlegroups.com
Hi Guys,

Quick one: how i turn off the Network manager's error dialogs. I have added a listener to the addErrorListener method but it still shows up.

Please help.

Thanks.

Augustine Gyawu Adjei

unread,
Apr 7, 2014, 6:31:27 PM4/7/14
to codenameone...@googlegroups.com
Lol. I found the solution on an instance of the ConnectionRequest. "request.setFailSilently(true);"

Hmm...interesting! :)

Shai Almog

unread,
Apr 8, 2014, 1:27:23 AM4/8/14
to codenameone...@googlegroups.com
Hi,
in the action listener for the error just do event.consume() to prevent the error from propagating.
Reply all
Reply to author
Forward
0 new messages