--
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+unsub...@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/37a197ac-9c17-4a6f-ad02-1bbddc22ad22%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
btnLogin.setIcon(FontImage.createMaterial(FontImage.MATERIAL_CLOUD_DOWNLOAD, UIManager.getInstance().getComponentStyle("Command"), 5));
Form hi = new Form("Hi World"); hi.setLayout(new BorderLayout()); Button btnLogin = new Button("Test"); btnLogin.setIcon(FontImage.createMaterial(FontImage.MATERIAL_CLOUD_DOWNLOAD, UIManager.getInstance().getComponentStyle("Command"), 5)); hi.add(BorderLayout.CENTER, btnLogin); hi.show();
Likely it is crashing on start. Without the stack trace it is hard to know what is going on there. If you're a pro user you can turn on crash reporting and it will send you the crash report in email. Otherwise you can select "include sources", and open the project in Visual Studio if you have that to see the debug log.Do you also get a black screen if you just build a hello world app?
On Thu, Oct 19, 2017 at 11:01 AM, <howud...@gmail.com> wrote:I have an app that has been in production for a while on iOS and Android, now there is one user who wants to run it on their surface pro. So I did a windows uwp build following the instructions here:https://www.codenameone.com/manual/appendix-uwp.html--I saw the bug report here:https://github.com/codenameone/CodenameOne/issues/2114 but it shows as closed and fixed.Questions:1. Any ideas on the black screen?2. The link mentioned somewhere about MS supporting android apk is dead3. Would it be easier to implement the new MS iOS app to UWP app bridge? https://developer.microsoft.com/en-us/windows/bridges
--
Form hi = new Form("Hi World"); hi.setLayout(new BorderLayout()); Button btnLogin = new Button("Test"); btnLogin.setIcon(FontImage.createMaterial(FontImage.MATERIAL_CLOUD_DOWNLOAD, UIManager.getInstance().getComponentStyle("Command"), 5)); hi.add(BorderLayout.CENTER, btnLogin); hi.show();

I haven't tried to reproduce the problem because I've had some issues with my Windows devices. The MATERIAL_CLOUD_DOWNLOAD entry is a recent addition so I'm guessing something broke there with that specific entry. Steve might have a better clue on this.
--
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+unsub...@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/cf82655f-06ab-49b2-9101-2ea0531aa51d%40googlegroups.com.