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

2017-08-06 Thread Shai Almog
That's probably something we need to fix (I suggest filing an issue) but I would suggest using a regular expression for this as relying on an exception for normal flow is problematic. -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group.

[codenameone-discussions] Re: iOS Debug builds are only for one architechture at a time - need to send twice as many builds.

2017-08-06 Thread Shai Almog
We specifically blocked this because it takes twice as long. We do need to overhaul some build server UX features. We have some ideas but it will take time. -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this g

[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-06 Thread Shai Almog
The demo code there includes a picker cell. When you bind the listener you have the cell row/column information right there in the method. -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiv

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

2017-08-06 Thread nickkoirala
I need to tokenise a string (split by space) to see if it ends in a number or a word. I'm using this hack to do it: public static boolean isNumeric(String str) { try { Double.parseDouble(str); } catch (NumberFormatException nfe) { return false; }

[codenameone-discussions] iOS Debug builds are only for one architechture at a time - need to send twice as many builds.

2017-08-06 Thread nickkoirala
I have some older and newer devices. The newer devices are running iOS 11 beta. I can install apps on either type via TestFlight but its much quicker to test using debug builds. However if I include ios.debug.archs=armv7 then I can ONLY install it on 32 bit devices and if I don't include that bu

[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-06 Thread shop . service . assistant
My app will contain perhaps 20 rows in this instance. Using the method described in Table.html, processing an Table event with createCell(Object value, int row, int column, boolean editable) iterates all rows and super.getSelectedRow() does not return the row In the table I touched. 1) I really

[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-06 Thread Shai Almog
Focus is a bad approach for touch devices so we don't usually use it. If you look at the sample code in the Table JavaDoc https://www.codenameone.com/javadoc/com/codename1/ui/table/Table.html You will see how we work with cells individually. Unlike the swing approach of renderer/editor we liter