Andy Parker
Posts: 0
Joined: Wed Mar 27, 2013 10:21 am

Windows 8 Developement & "Appery" command

Is there a Windows 8 alternative to the "Appery" command for accessing screen based controls?

Im trying to port my Android/IOS app to Windows 8 phone.

regards

Andy

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Windows 8 Developement & "Appery" command

Hi Andy,

For Windows 8 you would need to create a separate Appery.io project (more create options/Windows 8 App).

This is because Windows 8 supports native applications on JS, and Appery.io creates such apps for it, without using Phonegap and jQuery.

But if you develop for Windows phone OS, you can use the same project as for Android and iOS.

Andy Parker
Posts: 0
Joined: Wed Mar 27, 2013 10:21 am

Windows 8 Developement & "Appery" command

Thanks Katya,

thats what I have done, but I also copied all of my JS across from the previous project.

In that code I try to reference on screen controls, this is where I'm struggling.

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Windows 8 Developement & "Appery" command

Andy,

There are other components with other attributes. Do you have any specific question?

Andy Parker
Posts: 0
Joined: Wed Mar 27, 2013 10:21 am

Windows 8 Developement & "Appery" command

yes, I have select objects, captions and buttons that I need to either get or set the text or the selected item.

I always used "appery('objectname').text() for example to get the caption text, I was wondering what was meant to be used in the Win8 environment?

I've tried looking for some documentation or code examples on the Appery site, but it seems that most of the docs discuss Android/IOS/HTML5 apps with phonegap.

If you know of any good links I'm happy to read up on this rather than waste your time on here :-)

regards

Andy

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Windows 8 Developement & "Appery" command

Andy,

You can use JavaScript to do this. For example, to get Button text run:predocument.getElementById("button_2").innerText/pre

Andy Parker
Posts: 0
Joined: Wed Mar 27, 2013 10:21 am

Windows 8 Developement & "Appery" command

cool, thanks Katya, looks like I have a lot of coding to do :-)

Andy Parker
Posts: 0
Joined: Wed Mar 27, 2013 10:21 am

Windows 8 Developement & "Appery" command

Do you know of any website that has a reference to things like buttons, caption text, select lists etc?

This would be an invaluable resource.

thanks again.

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Windows 8 Developement & "Appery" command

Hello! For Win8 use WinJS (take a look here please http://msdn.microsoft.com/en-us/libra...). Regarding WinJS see menu on the left side.

Andy Parker
Posts: 0
Joined: Wed Mar 27, 2013 10:21 am

Windows 8 Developement & "Appery" command

Great resource Maryna - many thanks !!

Return to “Issues”