[codenameone-discussions] Re: JavaFX used by Windows and Mac OS Desktop builds outdated.

2019-02-15 Thread remonkroep
Do you have documentation on how to package locally?

On Thursday, February 14, 2019 at 11:15:17 PM UTC-5, Shai Almog wrote:
>
> When I say version 7.0 it's a full timeline which starts in March and is 
> currently planned to end in June. It's not a specific date. We can try and 
> aim to an earlier stage in the cycle but make sure to remind us.
> We won't make a change to server setup this close to the release. Past 
> experience has shown that changes to this are very volatile and can cause 
> serious regressions.
> As a workaround you can send a build with include source and then package 
> that project locally using netbeans 8.x. 
>

-- 
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/04c3f3e7-e28b-4ed5-8e80-55d6270f88d7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Seems to be bug in Picker class (getSelectedString())

2019-02-15 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 Pro
Simulator latest
Device PC, Android, IOS

getting:
java.lang.ClassCastException: java.util.Date cannot be cast to 
java.lang.String
 at com.codename1.ui.spinner.Picker.getSelectedString(Picker.java:1153)

regards

-- 
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/cf6214a9-141e-456d-b5f0-bca1b5f166d0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] show dialog when callback for native interface

2019-02-15 Thread Fuad Nassar
Device:Android KitKat 4.4.2

hi,
i have something like this class for callback native interface
package com.mycompany;
public class NativeCallback {

public static void callback() {
// do stuff
}

}

and need to show as this Dialog in my static method, without crash my app
*Dialog.show("Title", "body", "Ok", null);*



note: i try to write like this 
 package com.mycompany;
 ///...
public class NativeCallback {
public static void callback() {
   Dialog dlg = new Dialog("At Bottom");
   dlg.setLayout(new BorderLayout());
   dlg.add(new SpanLabel("Dialog Body text", "DialogBody"));
   int h = Display.getInstance().getDisplayHeight();
   dlg.setDisposeWhenPointerOutOfBounds(true);
   dlg.show(h /8 * 7, 0, 0, 0);
}
}


but that does not work and led to crash my app
*how i can do it?*

-- 
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/52b8ab7b-8eed-4b3f-aa18-15bb7c4cfb3c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: JavaFX used by Windows and Mac OS Desktop builds outdated.

2019-02-15 Thread Shai Almog
We use javafxpackager which was later renamed javapackager. It's available 
in the right click menu in the downloaded sources but you need some 
installs to get it working. 
Just google these to find the Oracle and 3rd party documentation

-- 
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/623c0ed8-835f-4629-808d-ee5ea2274d44%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: Seems to be bug in Picker class (getSelectedString())

2019-02-15 Thread Shai Almog
This will happen if you try to get a string from a date picker.

-- 
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/d4f51f8d-dcb6-4fe8-8972-c1eb2e3bf8cb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: show dialog when callback for native interface

2019-02-15 Thread Shai Almog
Wrap it in callSerially as the callback is probably in the OS native 
thread. 

-- 
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/44482448-43a0-41ca-ba85-6a7367fa3eb6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: show dialog when callback for native interface

2019-02-15 Thread Fuad Nassar
thanks, it's work 

On Friday, February 15, 2019 at 9:29:14 PM UTC-8, Shai Almog wrote:
>
> Wrap it in callSerially as the callback is probably in the OS native 
> thread. 
>

-- 
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/e509991b-23e4-4ec3-bb8c-947e99d80fd8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.