[codenameone-discussions] Re: error building in IOS - Failed to generate device screenshot!

2016-08-31 Thread Shai Almog
That's a failure in the screenshot process detailed here: https://www.codenameone.com/manual/appendix-ios.html I'm guessing your first form is a dialog or has a delay/connection logic. If you post the full log it might contain details pointing at that. The first form of the app needs to be

[codenameone-discussions] Re: IOS "connection refused" for HTTP requests

2016-08-31 Thread Shai Almog
Generally when you add exceptions you need to explain why you asked for that exception. We just got a reject because kitchen sink had a link to codenameone.com which has a paid signup process... I am not kidding!!! I had to explain to the tester that this signup has nothing to do with the app

[codenameone-discussions] Re: scrollComponentToVisible

2016-08-31 Thread Shai Almog
Picker looks completely different on device for iOS/Android so I suggest looking at the actual on device UI before making an effort. -- 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] Re: Deal with null value in sqlite database

2016-08-31 Thread Shai Almog
The main issue is old fallback code. The iOS implementation is native so the sqlite layer has no notion of "object". Notice that in the string conversion "null" is preserved as null so it should work correctly: if (params[i] == null) { strParams[i] = null;

[codenameone-discussions] Re: Type.KeyPress not called

2016-08-31 Thread Shai Almog
Key listener only binds release events never press events. I don't think that event type has any "real" usage. -- 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

[codenameone-discussions] Re: Does Toolbar require use of a Side Menu?

2016-08-31 Thread Shai Almog
I would not use bar for anything. It's got relatively simple functionality just place a container in the south. We are focused on the Toolbar moving forward so I would suggest aligning with that. -- You received this message because you are subscribed to the Google Groups "CodenameOne

Re: [codenameone-discussions] UWP Overflow menu commands stopped displaying correctly

2016-08-31 Thread Bryan Buchanan
On Thursday, September 1, 2016 at 1:39:13 PM UTC+10, Steve Hannah wrote: > > Was the good build last week a debug build or a windows store build? > > Debug. -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this

[codenameone-discussions] Re: error building in IOS - Failed to generate device screenshot!

2016-08-31 Thread romancanoniero
The app runs well in the emulator and in android. any idea? On Wednesday, August 31, 2016 at 10:58:21 PM UTC-3, nickk...@gmail.com wrote: > > Can the app run in the simulator? > I think something like that happens when the app can't load at all in the > simulator as the screenshots are taken

Re: [codenameone-discussions] UWP Overflow menu commands stopped displaying correctly

2016-08-31 Thread Bryan Buchanan
UWP Debug build -> works OK UWP Store Build -> labels are incorrect -- 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

Re: [codenameone-discussions] UWP Overflow menu commands stopped displaying correctly

2016-08-31 Thread Bryan Buchanan
Last week. On Thursday, September 1, 2016 at 9:28:38 AM UTC+10, Steve Hannah wrote: > > Strange. When was your last known good build? > > -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop

Re: [codenameone-discussions] UWP Overflow menu commands stopped displaying correctly

2016-08-31 Thread Steve Hannah
I just tried a build with a slight modification of this code (since your example isn't convex), and it seemed to work fine. https://gist.github.com/shannah/768a095d2529b9018c48e262c613a3e2 [image: Inline image 1] On Wed, Aug 31, 2016 at 4:28 PM, Steve Hannah

Re: [codenameone-discussions] UWP Overflow menu commands stopped displaying correctly

2016-08-31 Thread Steve Hannah
Strange. When was your last known good build? On Wednesday, 31 August 2016, Bryan Buchanan wrote: > Have this code to add overflow menu commands: > > public void addOverflowMenuCommands(final Form f) { > > Image im =

[codenameone-discussions] Re: date span / addition

2016-08-31 Thread howudodat1
well look at that...I thought Calendar was a UI object. I see java.util.Calendar now :) On Monday, August 29, 2016 at 9:36:24 PM UTC-7, Shai Almog wrote: > > What's not working with this? > Notice that DATE is really DAY_OF_MONTH. > -- You received this message because you are subscribed to

[codenameone-discussions] scrollComponentToVisible

2016-08-31 Thread howudodat1
I am building a picker replacement that uses a dialog to display a list of buttons. (the iOS picker of only 3 lines is a joke) The picker is a Dialog component with an associated button. When the button is pressed, the dialog is shown. I would like to scroll to the last selected item (even

[codenameone-discussions] error building in IOS - Failed to generate device screenshot!

2016-08-31 Thread romancanoniero
HI! what are the possible reasons for that error? Failed to generate device screenshot! /var/folders/zh/kb_4hqhn4kg1h0r5dp_6htcmgn/T/build1213908309854252436xxx/res/Default.png tranks If you are experiencing an issue please mention the full platform your issue applies to: IDE:

[codenameone-discussions] Re: Build error: export failed on iOS

2016-08-31 Thread mcellinpaul
Hi - I got this error today. Not for release builds (which I've been doing the last few weeks - enterprise builds) but for a debug build - so this may not have actually appeared today but I've only just seen it today. I do use cn1libs - specifically the barcode one and a bouncycastle one. Just

[codenameone-discussions] Re: IOS "connection refused" for HTTP requests

2016-08-31 Thread Carlos Verdier
I assume this is because you switched to the new Xcode version. Is iphone_old working? My builds are queued and can't get them compiled. Although I have a good reason to overcome the ssl security, i'd like to avoid this situation at least in the first release. -- You received this message

[codenameone-discussions] Re: Deal with null value in sqlite database

2016-08-31 Thread Jérémy MARQUER
I come back to this topic which is very problematic for me. The manner which I use permit me to read/save null values in database. But in fact, it's "null" string values that are stored in db. So, there is no constraint validation possible with that. Even worse, foreign key constraint can

[codenameone-discussions] Type.KeyPress not called

2016-08-31 Thread Gareth Murfin
When I do this code Type.KeyRelease is detected but never Type.KeyPress, why is that ? f.addKeyListener(RIGHT, new ActionListener() { public void actionPerformed(ActionEvent evt) { _("///RIGHT PRESSED.");