Windows UWP build

43 views
Skip to first unread message

Bryan Buchanan

unread,
Jun 25, 2016, 1:13:08 AM6/25/16
to CodenameOne Discussions
Have followed Steve's instructions at https://github.com/codenameone/CodenameOne/wiki/Working-with-UWP, but no luck in installing.

See the attached screenshots. The app doesn't display on the phone or show under "Installed Apps" from the web page.

Any ideas ?

Screenshot - 250616 - 15:07:05.png
Screenshot - 250616 - 15:05:52.png
Screenshot - 250616 - 15:05:06.png

Steve Hannah

unread,
Jun 25, 2016, 1:30:10 AM6/25/16
to codenameone...@googlegroups.com
That app manager screenshot is after you pressed the Go button?
--
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-discu...@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/c44ec84c-f6f8-4a3d-aa93-625ba5574ea3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--
Steve Hannah
Software Developer
Codename One

Steve Hannah

unread,
Jun 25, 2016, 1:55:34 AM6/25/16
to codenameone...@googlegroups.com
One thing that comes to mind is that I think the phone has to be on and unlocked (i.e. not in the lock screen) when you install the app.

Bryan Buchanan

unread,
Jun 25, 2016, 1:56:51 AM6/25/16
to CodenameOne Discussions
Yes

Bryan Buchanan

unread,
Jun 25, 2016, 1:58:20 AM6/25/16
to CodenameOne Discussions
It was - I can view/run all the apps on the phone etc. Using the management web page I can also view processes, network etc, so I think it's all alive.

Steve Hannah

unread,
Jun 25, 2016, 2:03:13 AM6/25/16
to codenameone...@googlegroups.com
Can you send me the appxbundle so I can take a look?

--
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-discu...@googlegroups.com.
Visit this group at https://groups.google.com/group/codenameone-discussions.

For more options, visit https://groups.google.com/d/optout.

Steve Hannah

unread,
Jun 27, 2016, 5:15:17 PM6/27/16
to Bryan Buchanan, codenameone...@googlegroups.com
Glad to hear you got it working.  Thanks for being the guinea pig.  I'll update the UWP mobile install process in the docs accordingly.

Thanks for the bug report.  I've added it to the issue tracker here

Steve

On Mon, Jun 27, 2016 at 2:04 PM, Bryan Buchanan <bry...@webbtide.com> wrote:
Thanks Steve, that worked fine - very, very impressive what you've done.

A couple of things don't work.

If you click the overflow menu and choose a store, then on the Store form, the overflow menu there gives these options:

getToolbar().addMaterialCommandToOverflowMenu("Call " + CommonContext.INSTANCE.getAddresses()[storeindex].getName(), FontImage.MATERIAL_CONTACT_PHONE, new Command("") {

            @Override
            public void actionPerformed(ActionEvent evt) {
                Display.getInstance().callSerially(() -> {
                    Display.getInstance().dial(CommonContext.INSTANCE.getAddresses()[storeindex].getCallnumber());
                });
            }
        });

        getToolbar().addMaterialCommandToOverflowMenu("Directions", FontImage.MATERIAL_DIRECTIONS, new Command("") {

            @Override
            public void actionPerformed(ActionEvent evt) {
                Display.getInstance().callSerially(() -> {
                    Display.getInstance().openNativeNavigationApp(CommonContext.INSTANCE.getAddresses()[storeindex].getLatitude(),
                            CommonContext.INSTANCE.getAddresses()[storeindex].getLongitude());
                });
            }
        });

        getToolbar().addMaterialCommandToOverflowMenu("Location Map", FontImage.MATERIAL_MAP, new Command("") {

            @Override
            public void actionPerformed(ActionEvent evt) {

                Display.getInstance().callSerially(() -> {
                    Display.getInstance().execute("https://www.nst.net.au/maps/" + CommonContext.INSTANCE.getAddresses()[storeindex].getName() + ".html");
                });
            }
        });

None of the Display.getInstance() functions seem to work.

Thanks,

Bryan

On 28 June 2016 at 00:52, Steve Hannah <steve....@codenameone.com> wrote:
This installed and runs on my Lumia 640 with no problem.  I'm guessing it must be something to do with the dependencies.  Try this:

instead of including the dependencies in the dependencies section of the upload form.  Try adding them (the .appx files) individually as if you were installing them as apps.  I.e. for each .appx dependency, add it in the "App package" section (choose file) rather than the "Dependencies" section.

Then after you have installed both dependencies, try to install your app again.

Steve

On Fri, Jun 24, 2016 at 11:07 PM, Bryan Buchanan <bry...@webbtide.com> wrote:
Attached. If it's too big for your email I'll put it somewhere you can ftp it.

You received this message because you are subscribed to a topic in the Google Groups "CodenameOne Discussions" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/codenameone-discussions/nFaxWOi9m8g/unsubscribe.
To unsubscribe from this group and all its topics, send an email to codenameone-discu...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--
Steve Hannah
Software Developer
Codename One
Reply all
Reply to author
Forward
0 new messages