Re: [codenameone-discussions] Re: Access photos permission

2016-12-04 Thread Gareth Murfin
Unfortunately I cannot recreate them, only client can, I have tried geny motion with android 6 etc :-( On Saturday, December 3, 2016 at 2:20:31 PM UTC+8, Shai Almog wrote: > > In the device if you deny the permission you would usually see an output > stack pointing you at the rough direction. >

[codenameone-discussions] Re: logfile

2016-12-04 Thread howudodat1
The problem though, unless I'm missing something, is in a thread, with an unhandled crash the code checks isCrashBound, (CodenameOneThread#handleException) which would be false and so would never call the newly installed logger (Log.e()) public static void handleException(Throwable err) {

[codenameone-discussions] Re: logfile

2016-12-04 Thread Dave Dyer
See this post, which includes a snippet that extracts stack traces using a temporary logfile. You can adapt this to capture all the log events - but except for stack traces I think you're better off using a private mechanism to log info.