UWP Windows Store Build

34 views
Skip to first unread message

mcw

unread,
May 15, 2017, 4:06:31 PM5/15/17
to CodenameOne Discussions
In an earlier discussion on submitting apps to the windows store you said:

I recommend doing a test with Build Type "Windows Store Build", before submitting it.  This will use their DotNet native Toolchain to compile it down to native code using the same tools that the windows store will use.  That will produce the closest thing to what they are testing.

I have been working on my app with Windows Mobile Debug builds and got to the point where I wanted to update the app in the Windows Store. I submitted a Windows Store Build and installed the bundle on my phone. When I run it I get the app icon and a blank screen. Hitting back does nothing. The Windows Mobile Debug builds continue to work fine.

I have Log.bindCrashProtection(true) on but have not received any e-mails.

I have not tried submitting the app yet. Any ides why the Windows Store Build is failing?

Do you think it is worth submitting the app to the Windows store?

Thanks

Steve Hannah

unread,
May 15, 2017, 4:24:03 PM5/15/17
to codenameone...@googlegroups.com
If it is crashing, then likely what you submit to the windows store will crash for them too.  Unfortunately this type of thing can be very hard to debug.  Add as much logging as you can to try to narrow down where it is crashing.

Steve

--
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/5b8be193-fb98-4337-a0b5-3bcf393bcfcf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Steve Hannah
Software Developer
Codename One

mcw

unread,
May 15, 2017, 5:58:01 PM5/15/17
to CodenameOne Discussions
I added some logging and a sendLog() to my init method. In the simulator it runs as expected and I get the log e-mail. When I run it on the device I get the black screen but no log e-mail.

In Netbeans I created a brand new project using the Hello World (old GUI builder) code. It ran as expected on the simulator. The only change I made to the default project was to change the Windows build type to Windows Store build. Everything else is the default settings from the new project. When I run it on the device I get a black screen.

Can you try that there? I don't think the Windows Store Build is working period.

Thanks

Shai Almog

unread,
May 16, 2017, 1:16:41 AM5/16/17
to CodenameOne Discussions
I would guess that invokeAndBlock in the send log is breaking in the init/start methods. I would suggest wrapping this in call serially or even doing this much later using a thread or something.

mcw

unread,
May 16, 2017, 10:06:04 AM5/16/17
to CodenameOne Discussions
I don't think there is much point debugging my app at this point. As mentioned above I have the same problem with the Hello World new project app. With a Windows Store Build the icon displays then I get a black screen.

The Windows Store Build and I am assuming the Windows Store Upload don't appear to be working at this point. I am holding off submitting my app to the Windows store.

I am testing on a Microsoft Lumia 640 LTE. OS Build=10.0.15063.297. I  think my phone was updated recently so that might be an issue.

Shai Almog

unread,
May 17, 2017, 2:05:21 AM5/17/17
to CodenameOne Discussions
Sorry I didn't read the thread properly. I mentioned the current status of this in the issue: https://github.com/codenameone/CodenameOne/issues/2114
Microsoft has been very responsive in the past to the issues we raised on this port so I hope this will be the case for this issue.
Reply all
Reply to author
Forward
0 new messages