[codenameone-discussions] Re: Is there any way to get an NSException from java Exception for third party crash reporting?

2017-08-07 Thread Shai Almog
You can create CodenameOneThreads using the Display.startThread() class. There is no NSException since we don't use Objective-C exceptions as they don't fit what we do. The idea of creating a fake NSException is interesting though since we have a lot of VM internal state we can use to populate

[codenameone-discussions] Re: Detect if a string is numeric - doesn't work on iOS

2017-08-07 Thread Shai Almog
It's possible the exception is thrown correctly for Integer. Floating point parsing is much harder. -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to

[codenameone-discussions] Re: android 5.0.1 installer stopped working for about a week.

2017-08-07 Thread Shai Almog
Server hosting expires after 2-3 days. If you didn't download a build it's gone . This is both a cost saving and a security measure. -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving

[codenameone-discussions] Is there any way to get an NSException from java Exception for third party crash reporting?

2017-08-07 Thread nickkoirala
I use a third party analytics and crash reporting solution that catches unhandled exceptions (full app crashes) and reports them its working fine, integrating their SDKs via native code. It has functionality to work with handled exceptions as well but it needs the exception passed. I can

[codenameone-discussions] Re: Detect if a string is numeric - doesn't work on iOS

2017-08-07 Thread nickkoirala
I agree that using exceptions for normal flow isn't ideal but none of the regex I tried worked with the Codename One regex class properly. I've tried again and found a simple Regex did the job for my simplified use case. The number is generated by a count of user actions so is always an integer

[codenameone-discussions] Re: deploying with application loader

2017-08-07 Thread jesper . l . bak
ok, thanks; seems to work with Application Loader 3.6 On Sunday, August 6, 2017 at 8:57:29 AM UTC+2, Shai Almog wrote: > > Googling this specific error actually produced this answer from me: > https://stackoverflow.com/questions/42406751/error-itms-90168-the-binary-you-uploaded-was-invalid > --

[codenameone-discussions] android 5.0.1 installer stopped working for about a week.

2017-08-07 Thread shop . service . assistant
If you are experiencing an issue please mention the full platform your issue applies to: IDE: NetBeans/Eclipse/IDEA NetBeans 8.2 Desktop OS Windows 10 Simulator 7.3 Device Samsung SCH-1545 Android V 5.0.1 Recently my successful builds on codenameone site are failing to install on this device, I

[codenameone-discussions] Re: Detect if a string is numeric - doesn't work on iOS

2017-08-07 Thread Dave Dyer
It depends on your actual application, but I would recommend writing your own filter to pass only tokens that are acceptable to you. You shouldn't depend on the arbitrary definition of "number". Would "Infinity" be acceptable? parseDouble thinks so. -- You received this message because you

[codenameone-discussions] Re: action event on a Table so that when I access a cell I can take an action like popup a dialog of choices

2017-08-07 Thread shop . service . assistant
overriding createCell and adding action listener to the individual cells does the job. cell.addPointerPressedListener(new ActionListener() { public void actionPerformed(ActionEvent evt) {