[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 very

[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 em

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

2016-08-31 Thread Shai Almog
We just migrated some of the iphone_old servers to the latest so this should speed up current builds. As part of that we might have broken some things. We made some fixes, if you still experience issues with the current iphone target we will need the full log. -- You received this message beca

[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 Discussi

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

2016-08-31 Thread Bryan Buchanan
On Thursday, September 1, 2016 at 2:56:17 PM UTC+10, Steve Hannah wrote: > > OK. So not a regression. Just a problem with windows store builds that > was probably always there. Lovely. > Quite likely. Isn't being a software developer such fun :) -- You received this message because you are

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

2016-08-31 Thread Steve Hannah
OK. So not a regression. Just a problem with windows store builds that was probably always there. Lovely. Steve On Wed, Aug 31, 2016 at 9:38 PM, Bryan Buchanan wrote: > On Thursday, September 1, 2016 at 1:39:13 PM UTC+10, Steve Hannah wrote: >> >> Was the good build last week a debug build o

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 gro

[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 of

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

2016-08-31 Thread Steve Hannah
Was the good build last week a debug build or a windows store build? On Wednesday, 31 August 2016, Bryan Buchanan wrote: > UWP Debug build -> works OK > UWP Store Build -> labels are incorrect > > -- > You received this message because you are subscribed to the Google Groups > "CodenameOne Discu

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 codenameone-discussions+unsubscr.

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

2016-08-31 Thread nickkoirala
I don't know how long its going to work for, but you can put specific exceptions for individual domains in rather than a blanket exception and we've not had problems getting Codename One or Native apps approved for the app store recently with Apple. On Thursday, September 1, 2016 at 2:49:26 A

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

2016-08-31 Thread nickkoirala
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 off the simulator, not the iOS device. In the past I had to add a splash screen that didn't use any native code to make sure the first screen could l

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

2016-08-31 Thread Bryan Buchanan
I'll tweak my code and try again. You'll also notice on the two screen shots I sent, the Gaussian Blur doesn't seem to have much effect on UWP. On Thursday, September 1, 2016 at 10:10:40 AM UTC+10, Steve Hannah wrote: > > I just tried a build with a slight modification of this code (since your

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 receiv

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 wrote: > Strange. When was your la

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 = FontImage.createMaterial(FontImage.MATERIAL_PLACE, > UIManager.getInst

[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 th

[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 be

[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: NetBeans/E

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

2016-08-31 Thread Carlos Verdier
Ok, forget it, I got the green light finally :) -- 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+unsubscr...@googlegroups.com.

[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 be

[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 faile

[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.");