[codenameone-discussions] Re: Exception: javax.net.ssl.SSLHandshakeException - sun.security.validator.ValidatorException: PKIX path building failed:
thanks client fixed it, he said : ok ssl issue is resolved. i had to put the full chain cert in the ssl.conf file just fyi, and in case it comes up again for any of your other customers, you create a fullchain,pem file and paste in the root certificate and the intermediate certificate from the cert authority and then enable that file in the ssl.conf file SSLCertificateChainFile /root/.ssh/fullchain.pem then restart the httpd service On Friday, January 11, 2019 at 11:30:25 AM UTC+8, Shai Almog wrote: > > That means the client software doesn't recognize the certificate used by > the server. It's possible that the signing authority you used isn't > installed on some devices. I would suggest replacing the signing authority. > -- 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. Visit this group at https://groups.google.com/group/codenameone-discussions. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/000a4b83-5414-463a-a596-10378f15ec15%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[codenameone-discussions] Re: Mediaplyer controls overlap sidebar - hide mediaplayer buttons via code?
perfect, you guys have thought of everything, thanks! On Thursday, January 24, 2019 at 11:20:13 AM UTC+8, Shai Almog wrote: > > There is this: > > Media someMedia = ... > ... > someMedia.setVariable(Media.VARIABLE_NATIVE_CONTRLOLS_EMBEDDED, false); // > hides native controls > > or > > someMedia.setVariable(Media.VARIABLE_NATIVE_CONTRLOLS_EMBEDDED, true); // > shows native controls > > -- 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. Visit this group at https://groups.google.com/group/codenameone-discussions. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/9e9fd143-ebfd-4f10-a17c-8ea16678c768%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[codenameone-discussions] Re: com.codename1.ui.table.Table scroll behaviour issue
You have nested scrollables here. The table and its parent container are both scrollable and this causes confusion. Ideally it should cause an error but these things are hard to detect efficiently in the code and you get "weird" failures like that. I would suggest using a non-scrollable border layout and letting the table do the scrolling. -- 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. Visit this group at https://groups.google.com/group/codenameone-discussions. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/7fd4065c-86e0-473d-a5ef-39e42d97139d%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[codenameone-discussions] Re: PropertyCross demo
This is the InfiniteProgress image you can style it in the designer as the theme constant infiniteImage or via InfiniteProgress method calls. -- 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. Visit this group at https://groups.google.com/group/codenameone-discussions. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/f09794b5-f565-4181-9b30-d23347302316%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[codenameone-discussions] Re: Mediaplyer controls overlap sidebar - hide mediaplayer buttons via code?
There is this: Media someMedia = ... ... someMedia.setVariable(Media.VARIABLE_NATIVE_CONTRLOLS_EMBEDDED, false); // hides native controls or someMedia.setVariable(Media.VARIABLE_NATIVE_CONTRLOLS_EMBEDDED, true); // shows native controls -- 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. Visit this group at https://groups.google.com/group/codenameone-discussions. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/c2ae4dfe-5671-4ca8-85b7-6c074f36581b%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[codenameone-discussions] Re: Optimizing GUI for iOS 10
Hi, did you style StatusBar in some way? If so try to remove that styling. Make sure that Title/TItleCommand have enough padding for the UI. I'm not sure how you added these button. With Tabs there is an method call to place the tabs at the top but since I'm not familiar with your layout code I can't tell you how it would work for your specific layout. -- 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. Visit this group at https://groups.google.com/group/codenameone-discussions. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/4b668060-c1bf-4186-bafc-ec69387c3283%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[codenameone-discussions] Re: possible to implement a slider like this ?
Why is it a problem to set the background colors? I don't see a difficulty with setting this? You can style Slider and SliderFull to produce this effect relatively easily. -- 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. Visit this group at https://groups.google.com/group/codenameone-discussions. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/f536633c-9feb-429d-98bb-e50e77130383%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[codenameone-discussions] com.codename1.ui.table.Table scroll behaviour issue
If you are experiencing an issue please mention the full platform your issue applies to: IDE: NetBeans/Eclipse/IDEA Desktop OS Simulator Device PC, Android, IOS Sorry for the Table Population Hack, I am expecting to edit column 0 and when I click/Press on a row that exists within the non scrolled region all is well. Scroll down then click/press a cell to edit (casted as TextField) and the Table scrolls back to top. As soon as The Table scrolls back to top, the cell I pressed and was going to edit, looses focus and of course would execute an actionEvent (Not Shown Here) How do I prevent the scrolling back to top when I press a cell in this case? Thanks In Advance! Form hi = new Form("Table", new BorderLayout()); hi.setScrollableY(true); Container header = new Container(new BoxLayout(BoxLayout.Y_AXIS)); TableModel modelHeader = new DefaultTableModel(new String[]{"Complaint", "Hours", "Dollars"}, new Object[][]{ ,}) { public boolean isCellEditable(int row, int col) { return col != 0; } }; Table table1 = new Table(modelHeader) { @Override protected TableLayout.Constraint createCellConstraint(Object value, int row, int column) { TableLayout.Constraint con = super.createCellConstraint(value, row, column); if (row == 1 && column == 1) { con.setHorizontalSpan(2); } con.setWidthPercentage(33); return con; } }; header.addComponent(table1); int RowNum = 1; TableModel model = new DefaultTableModel(new String[]{"", "", ""}, new Object[][]{ {"Row " + (RowNum++), "Row A", "Row X"}, {"Row " + (RowNum++), "Row A", "Row X"}, {"Row " + (RowNum++), "Row A", "Row X"}, {"Row " + (RowNum++), "Row A", "Row X"}, {"Row " + (RowNum++), "Row A", "Row X"}, {"Row " + (RowNum++), "Row A", "Row X"}, {"Row " + (RowNum++), "Row A", "Row X"}, {"Row " + (RowNum++), "Row A", "Row X"}, {"Row " + (RowNum++), "Row A", "Row X"}, {"Row " + (RowNum++), "Row A", "Row X"}, {"Row " + (RowNum++), "Row A", "Row X"}, {"Row " + (RowNum++), "Row A", "Row X"}, {"Row " + (RowNum++), "Row A", "Row X"}, {"Row " + (RowNum++), "Row A", "Row X"}, {"Row " + (RowNum++), "Row A", "Row X"}, {"Row " + (RowNum++), "Row A", "Row X"}, {"Row " + (RowNum++), "Row A", "Row X"}, {"Row " + (RowNum++), "Row A", "Row X"}, {"Row " + (RowNum++), "Row A", "Row X"}, {"Row " + (RowNum++), "Row A", "Row X"}, {"Row " + (RowNum++), "Row A", "Row X"}, {"Row " + (RowNum++), "Row A", "Row X"}, {"Row " + (RowNum++), "Row A", "Row X"}, {"Row " + (RowNum++), "Row A", "Row X"}, {"Row " + (RowNum++), "Row A", "Row X"}, {"Row " + (RowNum++), "Row A", "Row X"}, {"Row " + (RowNum++), "Row A", "Row X"}, {"Row " + (RowNum++), "Row A", "Row X"}, {"Row " + (RowNum++), "Row A", "Row X"}, {"Row " + (RowNum++), "Row A", "Row X"}, {"Row " + (RowNum++), "Row A", "Row X"}, {"Row " + (RowNum++), "Row A", "Row X"}, {"Row " + (RowNum++), "Row A", "Row X"}, {"Row " + (RowNum++), "Row A", "Row X"}, {"Row " + (RowNum++), "Row A", "Row X"}, {"Row " + (RowNum++), "Row A", "Row X"}, {"Row " + (RowNum++), "Row A", "Row X"}, {"Row " + (RowNum++), "Row A", "Row X"}, {"Row " + (RowNum++), "Row A", "Row X"}, {"Row " + (RowNum++), "Row A", "Row X"}, {"Row " + (RowNum++), "Row A", "Row X"}, {"Row " + (RowNum++), "Row A", "Row X"}, {"Row " + (RowNum++), "Row A", "Row X"}, {"Row " + (RowNum++), "Row A", "Row X"}, {"Row " + (RowNum++), "Row A", "Row X"}, {"Row " + (RowNum++), "Row A", "Row X"}, {"Row " + (RowNum++), "Row A", "Row X"}, {"Row " + (RowNum++), "Row A", "Row X"}, {"Row " + (RowNum++), "Row A", "Row X"}, {"Row " + (RowNum++), "Row A", "Row X"}, {"Row " + (RowNum++), "Row A", "Row X"}, {"Row " + (RowNum++), "Row A", "Row X"}, {"Row " + (RowNum++), "Row A", "Row X"}, {"Row " + (RowNum++), "Row A", "Row X"}, {"Row " + (RowNum++), "Row A", "Row X"},
[codenameone-discussions] PropertyCross demo
how i can delete or change the progress icon in PropertyCross demo [image: Capture.PNG] -- 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. Visit this group at https://groups.google.com/group/codenameone-discussions. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/912716ca-1f9c-4667-8e44-6833594e75a0%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[codenameone-discussions] Re: BrowserComponent will not display chinese on iOS
Oh my god... I just release a missing speech mark in the meta tag, it *DOES *work.. Im so dumb.. thanks for everything, made my day Sorry for all the red herrings. On Wednesday, January 23, 2019 at 8:35:09 PM UTC+8, Gareth Murfin wrote: > > ps I assume you meant Writer w = new OutputStreamWriter(out, "UTF-8"); > > On Wednesday, January 23, 2019 at 8:33:52 PM UTC+8, Gareth Murfin wrote: >> >> Yeah still no luck, its very weird, still displays fine on span labels, >> but in browsercomponent its all messed up. Kind of stops the development of >> this chinese/japanese learning app...on iphone at least alternatives? I >> was thinking of making the screens using labels and buttons, a lot more >> work than just using the html and might be slow but it would work I think. >> >> Thanks for all the help, if you have any further ideas let me know, it >> would be great if you could test it on your iphone sometime, or I can >> prepare a simple test program to demo the issue. >> >> On Wednesday, January 23, 2019 at 4:16:59 PM UTC+8, Gareth Murfin wrote: >>> >>> Wow, a new way I have not seen, thanks Shai! Fingers crossed, will give >>> it a go! >>> >>> On Tuesday, January 22, 2019 at 11:32:05 AM UTC+8, Shai Almog wrote: A better way is to use a writer: Writer w = new InputStreamWriter(input, "UTF-8"); w.write(string); Check the string in the debugger first to make sure it wasn't corrupted before this stage. >>> -- 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. Visit this group at https://groups.google.com/group/codenameone-discussions. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/17b95a6e-da06-4809-9a48-987f8bfb8c43%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[codenameone-discussions] Re: BrowserComponent will not display chinese on iOS
ps I assume you meant Writer w = new OutputStreamWriter(out, "UTF-8"); On Wednesday, January 23, 2019 at 8:33:52 PM UTC+8, Gareth Murfin wrote: > > Yeah still no luck, its very weird, still displays fine on span labels, > but in browsercomponent its all messed up. Kind of stops the development of > this chinese/japanese learning app...on iphone at least alternatives? I > was thinking of making the screens using labels and buttons, a lot more > work than just using the html and might be slow but it would work I think. > > Thanks for all the help, if you have any further ideas let me know, it > would be great if you could test it on your iphone sometime, or I can > prepare a simple test program to demo the issue. > > On Wednesday, January 23, 2019 at 4:16:59 PM UTC+8, Gareth Murfin wrote: >> >> Wow, a new way I have not seen, thanks Shai! Fingers crossed, will give >> it a go! >> >> On Tuesday, January 22, 2019 at 11:32:05 AM UTC+8, Shai Almog wrote: >>> >>> A better way is to use a writer: >>> >>> Writer w = new InputStreamWriter(input, "UTF-8"); >>> w.write(string); >>> >>> Check the string in the debugger first to make sure it wasn't corrupted >>> before this stage. >>> >> -- 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. Visit this group at https://groups.google.com/group/codenameone-discussions. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/b6faf6af-d33b-48ae-8f3b-1295a1f5a0c9%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[codenameone-discussions] Re: BrowserComponent will not display chinese on iOS
Yeah still no luck, its very weird, still displays fine on span labels, but in browsercomponent its all messed up. Kind of stops the development of this chinese/japanese learning app...on iphone at least alternatives? I was thinking of making the screens using labels and buttons, a lot more work than just using the html and might be slow but it would work I think. Thanks for all the help, if you have any further ideas let me know, it would be great if you could test it on your iphone sometime, or I can prepare a simple test program to demo the issue. On Wednesday, January 23, 2019 at 4:16:59 PM UTC+8, Gareth Murfin wrote: > > Wow, a new way I have not seen, thanks Shai! Fingers crossed, will give it > a go! > > On Tuesday, January 22, 2019 at 11:32:05 AM UTC+8, Shai Almog wrote: >> >> A better way is to use a writer: >> >> Writer w = new InputStreamWriter(input, "UTF-8"); >> w.write(string); >> >> Check the string in the debugger first to make sure it wasn't corrupted >> before this stage. >> > -- 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. Visit this group at https://groups.google.com/group/codenameone-discussions. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/69b0bef0-c69c-4fcf-9975-93022e8ec2f5%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[codenameone-discussions] Mediaplyer controls overlap sidebar - hide mediaplayer buttons via code?
On Android if the media player buttons are showing (like I tapped the mediaplayer) then I open my side menu, then the controls from the mediaplayer overlap the side menu, is there a way to avoid this ? Or perhaps a line of code that can hide the controls on the mediaplayer when I open my side menu ? I know its kind of an edge case but it looks really odd when it happens, sort of thing clients dont like :) -- 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. Visit this group at https://groups.google.com/group/codenameone-discussions. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/485bb95e-048f-49b3-b98f-20265ebebe68%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[codenameone-discussions] Re: Optimizing GUI for iOS 10
Hello, I think we derived the whole theme from Flat Red. Is there any way or need to change this? If not, is there a way to somehow import the current theme values into the new one, if we need to derive from native theme for this solution to work? includeNativeBool is true in our constants, though. Those buttons on the bottom are not for tabs, but they act like them, in a certain way. You can switch from one to the other on swipe. How can i force a component to be on top all the time (or is it something specific for tabs only)? On Wednesday, January 23, 2019 at 4:26:25 AM UTC+1, Shai Almog wrote: > > Hi, > do you derive from the native theme? > The includeNativeBool constant in the theme should be true, if so you > would have the StatusBar UIID on iOS which will push your UI down correctly > on all iOS devices. > > The bottom indicator is a bit problematic as I mentioned here: > https://stackoverflow.com/questions/53871747/cn1-how-to-deal-with-the-home-indicator-iphone-x-and-such > > I've seen solutions that include extra padding there but they look pretty > bad. Assuming these are tabs I'd personally just force them to always shown > at the top even for iOS. > -- 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. Visit this group at https://groups.google.com/group/codenameone-discussions. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/3ec3fbe4-6bd0-4fe6-a209-2003d90daec8%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[codenameone-discussions] Re: possible to implement a slider like this ?
thumb image only sets thumb image, I need to set slider progress colour, and thickness, is it possible ? And if so how ? On Tuesday, January 22, 2019 at 11:29:10 AM UTC+8, Shai Almog wrote: > > Set a thumb image to the slider. I don't see the problem. > -- 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. Visit this group at https://groups.google.com/group/codenameone-discussions. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/17cc6412-b7fd-45ee-81fd-befdd54e185e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[codenameone-discussions] Re: BrowserComponent will not display chinese on iOS
Wow, a new way I have not seen, thanks Shai! Fingers crossed, will give it a go! On Tuesday, January 22, 2019 at 11:32:05 AM UTC+8, Shai Almog wrote: > > A better way is to use a writer: > > Writer w = new InputStreamWriter(input, "UTF-8"); > w.write(string); > > Check the string in the debugger first to make sure it wasn't corrupted > before this stage. > -- 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. Visit this group at https://groups.google.com/group/codenameone-discussions. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/69f6ea5e-5c1d-4076-81a5-7a430bf92eee%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.