[codenameone-discussions] Re: EasyThread Bug?

2019-01-03 Thread Shai Almog
This was fixed ages ago. I just tried the test case on the simulator and it 
worked for me.

-- 
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/01bb0f10-28a6-4f65-b601-349a640e3dcf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: addMaterialCommandToOverflowMenu and ToastBar

2019-01-03 Thread Shai Almog
Yes but you show it like this:

ToastBar.showMessage("Test ToastBar On addCommandToRightBar.", 
FontImage.MATERIAL_SAVE, 4000);

You might need to wrap it in a callSerially when used in an overflow menu 
since that menu is a dialog:

callSerailly(() -> ToastBar.showMessage("Test ToastBar On 
addCommandToRightBar.", FontImage.MATERIAL_SAVE, 4000));

-- 
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/bab606fd-313f-4094-a652-662d7ec97f44%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: Local links in html

2019-01-03 Thread Shai Almog
I just tried a simple test case and it worked for me. It's possible that 
this is due to a fix we made to file: URL handling. How do you load the 
initial file URL?

-- 
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/24823ac9-f7ed-4474-8e53-cebe084b533d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] addMaterialCommandToOverflowMenu and ToastBar

2019-01-03 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

Is it allowed to execute ToastBar.showMessage on a lambda event, 
specifically from addMaterialCommandToOverflowMenu?
If not why?

Form hi = new Form("Rounder", new BorderLayout());
Style s = 
UIManager.getInstance().getComponentStyle("TitleCommand");
Image camera = 
FontImage.createMaterial(FontImage.MATERIAL_CAMERA, s);
hi.getToolbar().addMaterialCommandToOverflowMenu("Test ToastBar 
On addMaterialCommandToOverflowMenu", FontImage.MATERIAL_TRANSFORM, 3, e -> 
{
ToastBar.getInstance().showMessage("Test ToastBar On 
addMaterialCommandToOverflowMenu.", FontImage.MATERIAL_SAVE, 4000);
});
hi.getToolbar().addCommandToRightBar("", camera, (ev) -> {
try {
ToastBar.getInstance().setVisible(false);
ToastBar.getInstance().showMessage("Test ToastBar On 
addCommandToRightBar.", FontImage.MATERIAL_SAVE, 4000);
} catch (Exception err) {
//Log.e(err);
}
});
hi.show();

Thanks in Advance

-- 
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/e9b111b1-df5b-4384-8c35-3f8ef412846d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: Local links in html

2019-01-03 Thread Gareth Murfin
Hi Shai, thanks for the reply, this is on the simulator. And yes I used 
filesystem storage, I can load html fine from java code but tapping links 
in BrowserComponent seemingly does nothing, could you try it on a 
simulator? I can send my project if it helps.

On Thursday, January 3, 2019 at 11:43:21 AM UTC+8, Shai Almog wrote:
>
> This should work if you used file system storage. Is this on the simulator 
> or device? 
>

-- 
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/476f4404-fce4-435e-9cae-ead3126747fc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.